Getting started

Configuring the Open Modelica Compiler

MDT need to be able to locate the binary of the compiler. It uses the environment variable OPENMODELICAHOME to do so.
If you have problems using MDT make sure that OPENMODELICAHOME is set to the folder where the Open Modelica Compiler is installed. In other words OPENMODELICAHOME must point to the folder that contais Open Modelica compiler binary. It is named omc.exe on Windows Platform and omc on Unix platforms.

Using Modelica Perspective

The most convenient way to work with Modelica projects is to use to the Modelica perspective. To switch to the Modelica perspective, choose the Window menu item, pick Open Perspective followed by Other... Select Modelica option from the dialog presented and click OK. Not Cancel. Or any other button.

Making a project

To start a new project, use the New Modelica Project Wizard. It is accesible through File > New > Modelica Project. After creating a project you can add files and folders to the project by selecting the corresponding wizard found in File > New menu subsection. Files having an extension .mo will be treated as Modelica source code files by MDT.

Importing a project

To import an existing modelica project you need to create an empty modelica project and populate it with existing files. Create a new modelica project with the wizard. Use the file system import wizard on that project to copy the files to the project's folder. The import wizard is available by right clicking on the project in the Modelica Projects view and choosing Import... alternative.