The analysis of gas evolved from casting powder during heating in the mold