Boiler machine with gas burner and boiler