Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

Dymola Runtime license [closed]

asked 2018-02-13 04:05:05 -0600

ezeraj's avatar

Hi all

My problem is exactly to what is found in the discussion in the link:

https://groups.google.com/forum/#!top...

I understand I have to set the Dymola Runtime License variable but where exactly, in the operatiion file in GenOPT or dsin.txt file in Dymola or somewhere else.

Regards Eze

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ezeraj
close date 2018-02-21 06:52:35.204423

3 Answers

Sort by ยป oldest newest most voted
1

answered 2018-02-21 06:52:10 -0600

ezeraj's avatar

Hey All

Yes your answers are correct and possible solution. But the problem was a license path unavailibility due to server update.

Thank you^^

edit flag offensive delete link more
1

answered 2018-02-13 12:15:41 -0600

This is answered on the link you provided. Please see also the Dymola manual for how to specify the license file. Alternatively, you could export your model as an FMU with JModelica and call this FMU from a Python script, such as by using PyFMI.

edit flag offensive delete link more
1

answered 2018-02-13 12:25:02 -0600

updated 2018-02-14 02:48:57 -0600

You need to set an environment variable DYMOLA_RUNTIME_LICENSE to the location of your license file. How to do this depends on what OS you are using.

Windows command line:

setx DYMOLA_RUNTIME_LICENSE "<path to the license>"

Mac OSX/Linux command line:

export DYMOLA_RUNTIME_LICENSE="<path to the license>"

And there's a good collection of methods here, in case none of the above suit your system.

edit flag offensive delete link more

Training Workshops

Careers

Question Tools

Stats

Asked: 2018-02-13 04:05:05 -0600

Seen: 1,690 times

Last updated: Feb 21 '18