Skip to content

MODELON_LICENSE_PATH not set #55

@mariuseb

Description

@mariuseb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions