Installation & Set-Up Procedure

To have a proper Dymola installation, one needs the software, a license and a C compiler.

 

Software

If licenses have been ordered, the software can be downloaded (as well as its updates):

After login through the passport, in the tab My Orders, click on CATIA > Dymola.

 

Alternatively, one can download a free trial version:

 

During installation (or by modifying the installation), the user can:

  • Install libraries locally
    • Default option is off
    • Select to install the libraries you have ordered
  • Install license server
    • Default option is on
    • If you do not intend to create a shareable server on your machine, do not install it

 

License

Once a license is available, it must be set up in Tools > License Setup in the Setup tab:

  • Select the right license type (nodelocked, DSLS server or FLEXnet server)
  • For nodelocked license, just select the .lic file that has been generated
  • For server licenses, set the server address properly

You can find more information in the User Manual 1A of Dymola accessible in Tools > Help Documents.

 

Information on the licenses (type, target ID, DSLS vs Flexnet...) can be found on the License Information page.

 

C-compiler

To run models with Dymola, a C compiler is required.
To set-up the compiler, go in Simulation > (Simulation) Setup > Compiler, then select an available compiler in the list:

  • Visual Studio 20xx (Community Edition is enough. The Desktop development with C++ package is required)
  • MinGW
  • Linux cross-compiler (requires WSL) 📋  (also available in the Help Documents)

You can find mode details in the User Manual 1A of Dymola accessible in Tools > Help Documents, as well as a white paper called "Using Windows Subsystem for Linux with Dymola" at the end of the Help Documents.

After compiler selection, click on "Verify Compiler", then validate the selection by doing OK.

 

Trouble-shooting

If the compiler test is not successful, check the following points:

  • The compiler is installed properly (is Visual Studio installed properly? is WSL properly configured?)
  • You have the right to write in the working directory (is there a dsmodel.c file in the working directory?)
  • You have the right to run the compiler (is there a dymosim.exe file in the working directory?)
  • You have the right to execute the dymosim.exe created by Dymola (double click on dymosim.exe to run it)


Depending on the error you got, please check the compiler installation and use a working directory where you have the right to create and execute executables.

 

Refer to the complete installation procedure for more information.