Modelica and Optimica models can be compiled and loaded in the JModelica.org Python interface as model objects. These model objects can then be used for simulation and optimization purposes. This chapter will cover how to compile Modelica and Optimica models, set compiler parameters and options, load the compiled model in a Python model object and use the model object to perform model manipulations such as setting and getting parameters.