Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.21e-05/4.222e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 44.5 MB / 299.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4316/0.54, allocations: 74.63 MB / 374.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.5403, allocations: 73.22 kB / 374.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0311/0.5714, allocations: 6.564 MB / 381.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5715, allocations: 1.469 kB / 381.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.5715, allocations: 2.719 kB / 381.2 MB, free: 12.19 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001443/0.573, allocations: 0.5569 MB / 381.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.573, allocations: 10.31 kB / 381.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.5732, allocations: 50.28 kB / 381.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/0.5735, allocations: 32.45 kB / 381.8 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.5738, allocations: 244.3 kB / 382.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.5739, allocations: 12.56 kB / 382.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.574, allocations: 25.88 kB / 382.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.5744, allocations: 162.8 kB / 382.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.5745, allocations: 0 / 382.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.5745, allocations: 8.625 kB / 382.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.5745, allocations: 7.312 kB / 382.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.5749, allocations: 99.38 kB / 382.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.5764, allocations: 0.6076 MB / 383 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.5775, allocations: 233.8 kB / 383.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.5778, allocations: 85.27 kB / 383.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.5778, allocations: 9.297 kB / 383.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.5782, allocations: 123.8 kB / 383.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.795e-06/0.5782, allocations: 0 / 383.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006437/0.5788, allocations: 203.4 kB / 383.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.5789, allocations: 63.89 kB / 383.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.5792, allocations: 179.2 kB / 383.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/0.5793, allocations: 45.67 kB / 383.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.5794, allocations: 193.8 kB / 384.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.513e-05/0.5794, allocations: 72.25 kB / 384.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.5795, allocations: 8.844 kB / 384.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.5796, allocations: 328.6 kB / 384.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.5799, allocations: 89.31 kB / 384.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.5802, allocations: 114.5 kB / 384.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.5805, allocations: 101.4 kB / 384.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.5805, allocations: 0 / 384.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007393/0.5812, allocations: 293.2 kB / 385.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5813, allocations: 7.219 kB / 385.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.5813, allocations: 1.375 kB / 385.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.5813, allocations: 1.375 kB / 385.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.582, allocations: 79.3 kB / 385.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.582, allocations: 6.734 kB / 385.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.5824, allocations: 47.89 kB / 385.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.5824, allocations: 14.7 kB / 385.2 MB, free: 10.14 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.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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.0001508/0.5826, allocations: 136 kB / 385.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.5827, allocations: 19.97 kB / 385.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.5827, allocations: 22.27 kB / 385.4 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5828, allocations: 1.375 kB / 385.4 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.5828, allocations: 0 / 385.4 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.5828, allocations: 8.641 kB / 385.4 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.584, allocations: 0.5779 MB / 386 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5841, allocations: 0 / 386 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.5846, allocations: 57.48 kB / 386.1 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.5846, allocations: 5.25 kB / 386.1 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.5847, allocations: 5 kB / 386.1 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.5847, allocations: 1.281 kB / 386.1 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5847, allocations: 3.938 kB / 386.1 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007861/0.5855, allocations: 387 kB / 386.5 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.5856, allocations: 101.6 kB / 386.6 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.5856, allocations: 9.922 kB / 386.6 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.586, allocations: 33.36 kB / 386.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.5861, allocations: 11.69 kB / 386.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.5861, allocations: 16.3 kB / 386.6 MB, free: 9.398 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.5863, allocations: 143.8 kB / 386.8 MB, free: 9.324 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5863, allocations: 0 / 386.8 MB, free: 9.324 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008492/0.5872, allocations: 127.9 kB / 386.9 MB, free: 9.293 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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.002159/0.5893, allocations: 1.137 MB / 388 MB, free: 8.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007645/0.5902, allocations: 233.9 kB / 388.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5902, allocations: 4.062 kB / 388.3 MB, free: 8.488 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.5904, allocations: 81.77 kB / 388.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.5908, allocations: 15.66 kB / 388.4 MB, free: 8.484 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.5923, allocations: 476.5 kB / 388.8 MB, free: 8.234 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.5925, allocations: 0.7489 MB / 389.6 MB, free: 7.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.5928, allocations: 69.3 kB / 389.6 MB, free: 7.527 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5928, allocations: 3.875 kB / 389.6 MB, free: 7.527 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_NormalNoisePropertiesCalcHelperMain.o OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesCalcHelperMain.cpp In file included from OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesCalcHelperMain.cpp:31: ./OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesInitialize.cpp:366:3: error: use of undeclared identifier '$PRE_P_noise_P_state_'; did you mean '_noise_P_state_'? $PRE_P_noise_P_state_.assign(tmp70); ^~~~~~~~~~~~~~~~~~~~~ _noise_P_state_ ./OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.h:214:33: note: '_noise_P_state_' declared here StatArrayDim1 _noise_P_state_; ^ In file included from OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesFMU.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_NormalNoisePropertiesCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesCalcHelperMain.o] Error 1