Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

buildModelFMU and translateModelFMU ignore arguments

buildModelFMU and translateModelFMU ignore arguments

buildModelFMU and translateModelFMU are completely insensitive to the argument includeResources and platforms

Both
buildModelFMU(<modelname>, version="2.0", fmuType="cs", platforms={"static"}, includeResources=true)
and
buildModelFMU(<modelname>, version="2.0", fmuType="cs", platforms={"dynamic"}, includeResources=false)
and
translateModelFMU(<modelname>, version="2.0", fmuType="cs", includeResources=true)
and
translateModelFMU(<modelname>, version="2.0", fmuType="cs", includeResources=false)

produce exactly the same results.
And I do not see any resources folder in the FMU zipped directory.

Am I missing something?
And BTW, which is the difference between "translateModelFMU" and "buildModelFMU" (except that buildModelFMU has an additional parameter)? The output are the same!

Using OpenModelica Compiler v1.13.0-dev-335-gfe5c35d (64-bit)

Edited by: DarioMangoni - Jan-11-18 13:20:04
There are 0 guests and 0 other users also viewing this topic
You are here: