You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the SuctionFlow example works just fine, so I tried the same procedure on the JetPumpCFDValdiationScenario.
However this fails with the following output. I checked the Scenario_02_flat.mo model and there is a semicolon in line 189.
So I cannot retrace what the issue here is.
Sounds like an issue with OpenModelica's Base Modelica output / flattening. Open an issue on OpenModelica/OpenModelica and provide a minimal reproducible example.
Is there an old version of OpenModelica where this wasn't an issue?
I recall that we had tried successfully tried the symbolic regression on the JetPumpForward model before.
Running the SuctionFlow example works just fine, so I tried the same procedure on the JetPumpCFDValdiationScenario.
However this fails with the following output. I checked the Scenario_02_flat.mo model and there is a semicolon in line 189.
So I cannot retrace what the issue here is.
`[ Info: Profile Scenario_02.Scenario_02
ERROR: Failed to load file "c:/Users/LSF5FE/01_Julia/JetPumpModel/bosch-realtime-jet-pump-model/julia/algLoopRepl/symReg/data/sims/Scenario_02_100000/Scenario_02_flat.mo".
[c:/Users/LSF5FE/01_Julia/JetPumpModel/bosch-realtime-jet-pump-model/julia/algLoopRepl/symReg/data/sims/Scenario_02_100000/Scenario_02_flat.mo:189:18-189:18:writable] Error: Missing token: SEMICOLON
Stacktrace:
[1]
@ OMJulia.API C:\Users\LSF5FE.julia\packages\OMJulia\9Imtq\src\api.jl:130
[2] loadFile
@ C:\Users\LSF5FE.julia\packages\OMJulia\9Imtq\src\api.jl:118 [inlined]
[3] simulateWithProfiling(modelName::String, moFiles::Vector{String}; options::OMOptions)
@ NonLinearSystemNeuralNetworkFMU C:\Users\LSF5FE\01_Julia\JetPumpModel\NonLinearSystemNeuralNetworkFMU.jl\src\profiling.jl:56
[4] simulateWithProfiling
@ C:\Users\LSF5FE\01_Julia\JetPumpModel\NonLinearSystemNeuralNetworkFMU.jl\src\profiling.jl:32 [inlined]
[5] profiling(modelName::String, moFiles::Vector{String}; options::OMOptions, threshold::Int64, ignoreInit::Bool)
@ NonLinearSystemNeuralNetworkFMU C:\Users\LSF5FE\01_Julia\JetPumpModel\NonLinearSystemNeuralNetworkFMU.jl\src\profiling.jl:335
[6] profiling
@ C:\Users\LSF5FE\01_Julia\JetPumpModel\NonLinearSystemNeuralNetworkFMU.jl\src\profiling.jl:329 [inlined]
[7] main(modelName::String, moFiles::Vector{…}; omOptions::OMOptions, dataGenOptions::DataGenOptions, reuseArtifacts::Bool)
@ NonLinearSystemNeuralNetworkFMU C:\Users\LSF5FE\01_Julia\JetPumpModel\NonLinearSystemNeuralNetworkFMU.jl\src\main.jl:72
[8] main
@ C:\Users\LSF5FE\01_Julia\JetPumpModel\NonLinearSystemNeuralNetworkFMU.jl\src\main.jl:51 [inlined]
[9] genData(flatModelName::String, moFiles::Vector{String}, n::Int64)
@ Main c:\Users\LSF5FE\01_Julia\JetPumpModel\bosch-realtime-jet-pump-model\julia\algLoopRepl\symReg\scripts\genAllData.jl:31
[10] top-level scope
@ c:\Users\LSF5FE\01_Julia\JetPumpModel\bosch-realtime-jet-pump-model\julia\algLoopRepl\symReg\scripts\genAllData.jl:34
Some type information was truncated. Use
show(err)
to see complete types.`The text was updated successfully, but these errors were encountered: