Or, this doesn't work. Such a conspiracy would easily be covered by anti-monopoly laws in the US, I'm sure that there would be some equivalent law in Spain.
The real reason buildings would stay vacant is either ownership attempting to charge above market for rent, or land speculators who are looking to hold and flip, without developing it enough so it can be used in the meantime.