Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.205/2.205, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.326e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3391, allocations: 44.49 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.4983, allocations: 73.45 MB / 367.6 MB, free: 8.445 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.4986, allocations: 67.97 kB / 367.7 MB, free: 8.379 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03122/0.5299, allocations: 6.249 MB / 374 MB, free: 2.117 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5299, allocations: 0 / 374 MB, free: 2.117 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.53, allocations: 8 kB / 374 MB, free: 2.109 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00112/0.5311, allocations: 498.3 kB / 374.5 MB, free: 1.578 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.5311, allocations: 8.031 kB / 374.5 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.5315, allocations: 35.7 kB / 374.5 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.5319, allocations: 243.7 kB / 374.7 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.532, allocations: 3.984 kB / 374.7 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.532, allocations: 8 kB / 374.7 MB, free: 1.242 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002371/0.5323, allocations: 63.97 kB / 374.8 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.5325, allocations: 97.52 kB / 374.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.5326, allocations: 0 / 374.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.5326, allocations: 0 / 374.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.5326, allocations: 4 kB / 374.9 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.5337, allocations: 417.1 kB / 375.3 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.5341, allocations: 102.5 kB / 375.4 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.5342, allocations: 52.84 kB / 375.5 MB, free: 476 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.5342, allocations: 4.031 kB / 375.5 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.5346, allocations: 111.3 kB / 375.6 MB, free: 348 kB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 3.286e-06/0.5346, allocations: 0 / 375.6 MB, free: 348 kB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005688/0.5351, allocations: 161.6 kB / 375.7 MB, free: 180 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.5352, allocations: 55.41 kB / 375.8 MB, free: 112 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.5356, allocations: 199 kB / 376 MB, free: 15.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.5357, allocations: 41.69 kB / 376 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.5358, allocations: 174.5 kB / 376.2 MB, free: 15.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.427e-05/0.5359, allocations: 39.59 kB / 376.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.5359, allocations: 0 / 376.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5361, allocations: 326.8 kB / 376.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.5363, allocations: 67.97 kB / 376.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.5365, allocations: 85.88 kB / 376.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.5369, allocations: 92.12 kB / 376.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5369, allocations: 0 / 376.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00067/0.5376, allocations: 226.4 kB / 377 MB, free: 14.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.5376, allocations: 8 kB / 377 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.5377, allocations: 0 / 377 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.5377, allocations: 96 / 377 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.538, allocations: 35.91 kB / 377.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.538, allocations: 0 / 377.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.5384, allocations: 39.8 kB / 377.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.261e-05/0.5385, allocations: 11.98 kB / 377.1 MB, free: 14.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.5386, allocations: 120.7 kB / 377.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004509/0.5391, allocations: 168.5 kB / 377.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.5392, allocations: 11.81 kB / 377.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.119e-05/0.5393, allocations: 25.95 kB / 377.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.5393, allocations: 3.984 kB / 377.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5393, allocations: 0 / 377.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.5393, allocations: 0 / 377.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.5397, allocations: 218 kB / 377.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5397, allocations: 3.984 kB / 377.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.5399, allocations: 20 kB / 377.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.54, allocations: 0 / 377.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.54, allocations: 3.984 kB / 377.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.54, allocations: 0 / 377.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.54, allocations: 0 / 377.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.5407, allocations: 269.2 kB / 377.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.5408, allocations: 100.9 kB / 378 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.5409, allocations: 7.984 kB / 378 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.5412, allocations: 19.97 kB / 378.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.5413, allocations: 7.984 kB / 378.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.5413, allocations: 8 kB / 378.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002289/0.5416, allocations: 157.5 kB / 378.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5416, allocations: 0 / 378.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006746/0.5423, allocations: 107.8 kB / 378.3 MB, free: 13.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002105/0.5444, allocations: 1.016 MB / 379.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005071/0.545, allocations: 173.8 kB / 379.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.545, allocations: 0 / 379.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.5452, allocations: 71.84 kB / 379.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.5455, allocations: 14.44 kB / 379.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.5469, allocations: 378.2 kB / 380 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.5473, allocations: 0.7359 MB / 380.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.5475, allocations: 47.42 kB / 380.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5475, allocations: 0 / 380.8 MB, free: 10.93 MB / 330.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceCalcHelperMain.o OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceCalcHelperMain.cpp In file included from OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceCalcHelperMain.cpp:31: ./OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceInitialize.cpp:237:3: error: use of undeclared identifier '$PRE_P_whiteNoise_P_state_'; did you mean '_whiteNoise_P_state_'? $PRE_P_whiteNoise_P_state_.assign(tmp58); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _whiteNoise_P_state_ ./OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.h:199:33: note: '_whiteNoise_P_state_' declared here StatArrayDim1 _whiteNoise_P_state_; ^ In file included from OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 1 error generated. : recipe for target 'OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulenceCalcHelperMain.o] Error 1