Hello,

I've been putting together some external C functions, but the variables in my model are not written to the *_res.plt file. As a test I've tried running the "ExternalLibraries.mos" file in the 'Examples' folder, and here's the result:

>>> runScript("/Users/jasonbrown/opnmodlca/OpenModelica/Examples/ ExternalLibraries.mos")
"false
256
256
record
    resultFile = "ExternalLibraries_res.plt"
end record

true"

The only variable in ExternalLibraries_res.plt is time (and $dummy); no mention of the variables x and y.

ExternalLibraries.log contains:
g++ -I"/Users/jasonbrown/opnmodlca/OpenModelica/build/include" -I. - I"/Users/jasonbrown/opnmodlca/OpenModelica/build/work" -o ExternalLibraries ExternalLibraries.cpp -L"/Users/jasonbrown/ opnmodlca/OpenModelica/build/work" -lsim -L"/Users/jasonbrown/ opnmodlca/OpenModelica/build/lib" -lc_runtime -lf2c -lsendData

Any ideas as to what I'm doing wrong?

Thanks,
Jason
--------------------------------------------
Jason Brown
Georgia Institute of Technology
College of Architecture
[EMAIL PROTECTED]



Reply via email to