NatLabRockies / NatLabRockies/Spawn
MODELON_LICENSE_PATH not set
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 19
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Using the latest binaries on Ubuntu 22.04 ("Spawn-0.4.1-aa189fef75-Ubuntu22.04.tar.gz"), I am trying to compile an FMU as per the commands given in "Example Usage":
- spawn modelica --create-fmu Buildings.Examples.Tutorial.Boiler.System1
However, this crashes with the following error:
Compiling Model with Optimica
Parse Model
Trouble during Optimica Compiling
1 errors found:
Error:
Could not verify license
Cause: MODELON_LICENSE_PATH not set.
Compile C Code
Spawn encountered an error:
"Error parsing xml document located at : /home/marius/Desktop/spawn/examples/Buildings_Examples_Tutorial_Boiler_System1/modelDescription.xml"
So if I understand correctly, one needs to obtain a license for OCT from Modeleon to get this feature working currently?
Best regards,
Marius
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the spawn modelica --create-fmu Buildings.Examples.Tutorial.Boiler.System1 command from the Example Usage instructions on Ubuntu 22.04 and inspect the reported MODELON_LICENSE_PATH and modelDescription.xml errors. Determine whether this workflow requires an external Optimica license, then document the supported setup or the correction needed so FMU compilation completes without the misleading XML error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100