Picked up from Wilipedia
Styrofoam is a trademarked brand of closed-cell extruded polystyrene foam (XPS), commonly called "Blue Board", manufactured as foam continuous building insulation board used in walls, roofs, and foundations as thermal insulation and water barrier. This material is light blue in color and is owned and manufactured by The Dow Chemical Company. Dow also has produced a line of green and white foam shapes for use in crafts and floral arrangements.
Styrofoam is colloquially used worldwide to refer to another material that is usually white in color and made of expanded (not extruded) polystyrene foam (EPS). It is often used in food containers, coffee cups, and as cushioning material in packaging. The trademarked term is used generically although it is a different material from the extruded polystyrene used for Styrofoam insulation.
Additionally, it is moderately soluble in many organic solvents, cyanoacrylate, and the propellants and solvents of spray paint.
I have used/use XPS for many purposes mainly insulation, but never model making, though I have seen it used in smaller gauge landscapes. I have just tested a piece of my black XPS with Humbrol thinners, and it melts, so it would seem this is an inherent problem with XPS.