OMJulia.jl
OMJulia.jl copied to clipboard
Julia scripting OpenModelica interface
I would really like to be able to install the current repository version of OMJulia with `pkg> add OMJulia`, especially because of the fix for #22. As I understand this...
Sometimes (maybe 1 in 10 or 1 in 20 cases), ZMQ freezes after `sendExpression(omc, "quit()")`. The OMC instance shuts down properly, but the call never returns. I suppose that this...
Send and recv is currently handled by ``` function sendExpression(omc, expr) ZMQ.send(omc.socket, expr) message=ZMQ.recv(omc.socket) return Parser.parseOM(unsafe_string(message)) end ``` The issue here is that I have managed to freeze it a...
Apparently something broke when generating the documentation: ``` julia> using OMJulia julia> using OMJulia.API: API julia> using CSV, DataFrames, PlotlyJS julia> omc = OMJulia.OMCSession(); ERROR: IOError: could not spawn `omc...
The `getSolutions` function behaves very different when setting input `name=nothing`. It's not returning solutions but a list of all variables in the result file. I would expect to get the...
The input `name` or `setSimulationOptions` is difficult to use and error prone. > Two setting possibilities are accepted using setXXXs(),where "XXX" can be any of above functions. > 1. setXXX("Name=value")...
For the set methods documented in https://openmodelica.github.io/OMJulia.jl/dev/modelicaSystem/#Set-Methods > Two setting possibilities are accepted using setXXXs(),where "XXX" can be any of above functions. > 1. setXXX("Name=value") string of keyword assignments >...
Updating: - Julia version: 1.9 -> 1.10 - julia-actions/setup-julia: 1 -> 2 - julia-actions/cache: 1 -> 2 Puprpose: Get rid of deprecated Node 16 version in CI: > test (1.6,...
## Description The lexer [lexer.jl](https://github.com/OpenModelica/OMJulia.jl/blob/master/src/lexer.jl) was generated with Julia v.16 (or lower) and [Automa.jl](https://github.com/BioJulia/Automa.jl) v0.7 (or something around that version). We should update to Automa.jl v1 and add a workflow...
`OMJulia.API.getClassNames(omc;class_="Modelica")` works fine. `OMJulia.API.getClassNames(omc;class_="Modelica", recursive=true)` gives: `ERROR: OMJulia.Parser.LexerError("Error while lexing")`