Manufacturing of a flue gas system and a silencer