I doubt purchasing a property here, is a good deal at the moment. Even if you put your allowance in, which the company pays for you, it is still tough to take a profit back home years later. Reasons for this: oversupply, community fees, Eibor increase, future tax maybe, .........
Dont forget buying a property, will also not increase your flexibility, in case you wanna leave.