The absolute solubilities of tetrahydroxy-3,3,3′,3′-tetramethyl-1,1′-spirobisindane (TTSBI) and tetrafluoroterephthalonitrile (TFTPN), the monomers of a polymer of intrinsic microporosity-1 (PIM-1), in supercritical carbon dioxide (SCCO2), are studied by molecular dynamics (MD) simulation method. Solvation free energies of the monomers in SCCO2 are simulated at different temperatures and pressures by the thermodynamic integration method. Furthermore, a new procedure is proposed to calculate the external pressure dependency of the monomers vapor pressures by MD simulation. These two quantities are used to estimate the absolute solubility of each monomer in SCCO2 medium. TFTPN showed higher solubility (than TTSBI) which was ascribed to its CO2-philic structure and low vapor pressure. Experimentally measured solubilities are in good agreement with the simulated ones confirming the accuracy of the proposed method for the calculation of vapor pressures. Finally, SCCO2 medium is suggested as a suitable medium for synthesis of PIM-1 polymer provided that small amounts of a cosolvent are used or high external pressures (greater than 30 MPa) are applied.