Global Modeling of High-Resolution Spectra of Linear Molecules CO2, N2O and C2H2