I tried to enable CO2 concentration calculation in OpenStudio by the following setting
In which the "CO2_ConcentrationSchedule" is a schedule with value 400 ppm.
However in the generated IDF file, I did not see the "ZoneAirContaminantBalance" object. Which I suppose I should see the following object: