The Barcelona-based real estate group had reported a profit of 398 million euros in the same period a year earlier.