EN: Setup of Dymola FlexNet Licensing

EN: Setup of Dymola FlexNet Licensing

Dassault Systèmes License Server (DSLS) is also supported for Dymola starting with Dymola 2021x HotFix 1, refer to https://support.3ds.com/knowledge-base/?q=docid:QA00000061268

 


1. Dymola FlexNet license server initial installation

 

On the hardware on which you want to install the FlexNet license server:

1.1 Save license file sent to you in a local directory, for example here:

C:\FlexNet_11.16_Dymola\LIC\

 

1.2 Open your license file with a text editor, replace "server.name.here" with the computer name of your hardware.
Add a free port to the SERVER line (e.g. 27004) and add another free port to the VENDOR line (e.g. 28004 - see picture below) and save the changes.


Don’t forget to open these 2 IP ports in your firewall so that client computers can connect to the FlexNet service.

 

Determine the computer name of your hardware:

On Windows 11 hit <Windows>+<i> to open Windows Settings and go to System \ About (scroll the list down to the last entry).

grafik-20250714-102726.png
grafik-20250714-102906.png

1.3. in your directory C:\ FlexNet_11.16_Dymola
(see step 1.1) the following files must be present: lmtools.exe, lmgrd.exe, lmutil.exe, dynasim.exe

All this data is supplied with the Dymola media.

e.g.
Dymola_2025x.AM_CAT_Dymola.Windows64.1-1.zip\AM_CAT_Dymola.Windows64\1\LicServ.cab\

grafik-20250714-103656.png

 

1.4. start the administration console of your FlexNet server with lmtools.exe

(located in the directory C:\ FlexNet_11.16_Dymola).

Adjust all paths via the "Config Services" tab (see picture).
Enter the name of a log file at number 4. (see picture.) (e.g. FlexNet_11.16_Dymola.log).
"Use Services" and "Start Server at Power Up" must be selected.
Finally, click on "Save Service".

grafik-20250714-104123.png

 

1.5 Switch to the "Start/Stop/Reread" tab, select the newly created service and click "Start Server":

grafik-20250714-104233.png

 

1.6 Please check if your service is running (see picture).
If not - start the service manually.
(You can find your services as follows:
Windows Control Panel/System and Security/Administrative Tools/Services).

grafik-20250714-104550.png

 

On your client machine:

1.7. change to the directory C:\User\YourUserName\AppData\Roaming\Dynasim (see picture)
and run the setup.mos file.

Dymola starts in demo mode. Select Help/License.../Setup

Enter your license server name (see step 1.2.) and port (e.g. 27004).

Click [OK]

 

2. Enter Dymola FlexNet new license/renew old license

 

On your license server hardware:

To replace an expired license or add an additional purchased license, you must open the path to your existing license file in Windows Explorer.
You can read the path to the license file in the administration console of your FlexNet server

2.1 Start FlexNet Administration Console

To do this, start lmtools.exe for Dymola. Can be found at e.g. C:\FlexNet_11.16_Dymola\lmtools.exe

 

If several FlexNet servers are installed, the desired server can be selected in the 1st tab "Service/License File".

grafik-20250714-105308.png

 

2.2 Locating expired or existing licenses

In the "Config Services" tab, the path to the existing license folder can be read or newly specified if a single license file was previously referenced, e.g. C:\FlexNet_11.16_Dymola\LIC

grafik-20250714-105442.png

 

2.3 Adapt the SERVER and VENDOR line in the license file

From this folder, open your old/older license file with a text editor, copy the server and vendor line to the clipboard (see image) and replace these two lines in the newly obtained license file.

 

2.4 Make sure that all current licenses are in the LIC folder and contain the correct SERVER and VENDOR line.
Remove expired licenses from the folder.

grafik-20250715-082502.png

 

2.5 Reading in newly registered licenses during operation

In the administration console (if no longer started see 1.4.) click on [ReRead License File] via the "Start/Stop/Reread" tab.
Finally check if the reread was successful (see picture below).

grafik-20250715-082604.png

 

2.6 Checking the log file

Click on the "Config Services" tab [View Log] and the .log file is displayed. Scroll to the end to see if the licenses have been successfully reread. Close the log file display with [Close Log].

 

grafik-20250714-105803.png

3. Enter Dymola FlexNet Nodelock License

 

Please start Dymola, then menu Help/Licence...

Select the Dymola Nodelock license file in the Setup tab via [Browse...] (save this file in any directory beforehand).

Confirm with OK. To be on the safe side, restart Dymola.

TECHNIA CONFIDENTIAL