Skip to content

run with larger modelica model fails #119

@FelixSchloms

Description

@FelixSchloms

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.`

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