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 1.961/1.961, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.412e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 44.51 MB / 299.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5292, allocations: 74.1 MB / 374 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.5296, allocations: 73.84 kB / 374.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02984/0.5594, allocations: 6.28 MB / 380.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5595, allocations: 0 / 380.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.5595, allocations: 6.375 kB / 380.4 MB, free: 12.04 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.001053/0.5605, allocations: 0.4928 MB / 380.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.5606, allocations: 8.969 kB / 380.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.5607, allocations: 38.48 kB / 380.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.5609, allocations: 29.94 kB / 381 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.5613, allocations: 246.8 kB / 381.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.5614, allocations: 13.08 kB / 381.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.5614, allocations: 13.53 kB / 381.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.5617, allocations: 98.94 kB / 381.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5617, allocations: 0 / 381.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.5617, allocations: 1.25 kB / 381.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.5617, allocations: 5.016 kB / 381.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.562, allocations: 73.19 kB / 381.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.563, allocations: 439.7 kB / 381.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.5634, allocations: 112 kB / 381.9 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.5635, allocations: 53.84 kB / 382 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.5635, allocations: 1.062 kB / 382 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.5638, allocations: 117 kB / 382.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.5638, allocations: 0 / 382.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004792/0.5643, allocations: 167.3 kB / 382.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.5644, allocations: 62.25 kB / 382.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.5647, allocations: 208.8 kB / 382.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.5647, allocations: 35.88 kB / 382.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.5648, allocations: 179 kB / 382.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.5649, allocations: 44.56 kB / 382.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.5649, allocations: 4.406 kB / 382.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.565, allocations: 320.6 kB / 383.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.5652, allocations: 68.22 kB / 383.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.5655, allocations: 101.8 kB / 383.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.5658, allocations: 92.11 kB / 383.4 MB, free: 10.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5658, allocations: 1.312 kB / 383.4 MB, free: 10.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005414/0.5663, allocations: 220.7 kB / 383.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5664, allocations: 4.281 kB / 383.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.5664, allocations: 1.406 kB / 383.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5664, allocations: 4.781 kB / 383.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.5667, allocations: 28.92 kB / 383.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.5667, allocations: 4.312 kB / 383.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.5671, allocations: 33.92 kB / 383.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.5671, allocations: 14.92 kB / 383.7 MB, free: 10.11 MB / 314.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 9.961e-05/0.5673, allocations: 122.7 kB / 383.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.5673, allocations: 18.69 kB / 383.8 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.5674, allocations: 24.22 kB / 383.8 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5674, allocations: 1.219 kB / 383.8 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5674, allocations: 0 / 383.8 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5674, allocations: 96 / 383.8 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.5677, allocations: 245.8 kB / 384.1 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5677, allocations: 0 / 384.1 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.5679, allocations: 18.7 kB / 384.1 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.568, allocations: 5.781 kB / 384.1 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.568, allocations: 1.781 kB / 384.1 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.568, allocations: 4 kB / 384.1 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.568, allocations: 1.875 kB / 384.1 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.5686, allocations: 261.9 kB / 384.4 MB, free: 9.703 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.5687, allocations: 108.1 kB / 384.5 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.5688, allocations: 10.67 kB / 384.5 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.5691, allocations: 21.25 kB / 384.5 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.696e-05/0.5692, allocations: 13.59 kB / 384.5 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.5692, allocations: 6.562 kB / 384.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.5694, allocations: 159.8 kB / 384.7 MB, free: 9.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5694, allocations: 1.375 kB / 384.7 MB, free: 9.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007069/0.5702, allocations: 111.6 kB / 384.8 MB, free: 9.488 MB / 314.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.001736/0.5719, allocations: 1.015 MB / 385.8 MB, free: 8.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004941/0.5724, allocations: 187.4 kB / 386 MB, free: 8.758 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5724, allocations: 0 / 386 MB, free: 8.758 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.5726, allocations: 61.89 kB / 386 MB, free: 8.758 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.5729, allocations: 17.27 kB / 386.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.574, allocations: 396.5 kB / 386.4 MB, free: 8.531 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.5742, allocations: 0.7341 MB / 387.2 MB, free: 7.828 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.5744, allocations: 49.47 kB / 387.2 MB, free: 7.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.824e-06/0.5744, allocations: 0 / 387.2 MB, free: 7.82 MB / 314.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=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -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/OpenModelica/OMCompiler/build/bin/../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