Is it a 520d? They have crap climate control as standard which lacks a sun load sensor meaning the climate doesn't adjust for solar gain through the windscreen. It should still be capable of being made to blow ice cold air though so if it isn't then something is wrong.