The Library is the main location in Os bibliotecários. While the Annex entrance is located at the base of the St. John's Bridge in Portland, there is little information available on what inspired the library's layout.
It is possible this entire scene may be CGI from a small filming set given its infinite size, but is there any real life location that such set is based on? The layout seems quite complicated to be completely fabricated from scratch.