Emergency services were called to a flat block in Dundee after five people took unwell while working in the common close.