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.214/2.214, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.226e-05, allocations: 0 / 255.5 MB, free: 3.078 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.101, allocations: 44.5 MB / 300 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5385, allocations: 74.64 MB / 374.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.5389, allocations: 72.39 kB / 374.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03028/0.5692, allocations: 6.563 MB / 381.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5692, allocations: 1.25 kB / 381.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.5692, allocations: 7.844 kB / 381.2 MB, free: 11.73 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.001464/0.5707, allocations: 0.5526 MB / 381.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.5708, allocations: 10.56 kB / 381.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.5709, allocations: 53.3 kB / 381.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.5712, allocations: 32.11 kB / 381.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.5716, allocations: 242.9 kB / 382.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.5717, allocations: 15.66 kB / 382.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.5717, allocations: 25.56 kB / 382.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.5722, allocations: 159 kB / 382.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.5722, allocations: 0 / 382.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.5723, allocations: 4.969 kB / 382.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.5723, allocations: 3.781 kB / 382.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.5726, allocations: 104.2 kB / 382.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.5742, allocations: 0.6069 MB / 383 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.5752, allocations: 232 kB / 383.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.5755, allocations: 77.62 kB / 383.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.5755, allocations: 12.3 kB / 383.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.5758, allocations: 126.5 kB / 383.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.186e-06/0.5759, allocations: 0 / 383.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.000629/0.5765, allocations: 208.1 kB / 383.7 MB, free: 10.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.5766, allocations: 58.25 kB / 383.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.5768, allocations: 185.1 kB / 383.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.5769, allocations: 39.55 kB / 383.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.577, allocations: 188.3 kB / 384.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.5771, allocations: 77.72 kB / 384.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.5771, allocations: 4.875 kB / 384.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.5772, allocations: 326.7 kB / 384.5 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.5775, allocations: 88.92 kB / 384.6 MB, free: 9.801 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.5778, allocations: 120.5 kB / 384.7 MB, free: 9.781 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.5781, allocations: 93.91 kB / 384.8 MB, free: 9.781 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5781, allocations: 1.375 kB / 384.8 MB, free: 9.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007906/0.5789, allocations: 295.8 kB / 385.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.579, allocations: 5.469 kB / 385.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.579, allocations: 1.25 kB / 385.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.579, allocations: 2.094 kB / 385.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/0.5796, allocations: 81.27 kB / 385.2 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5797, allocations: 6.031 kB / 385.2 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.58, allocations: 48.33 kB / 385.3 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.5801, allocations: 15.59 kB / 385.3 MB, free: 9.691 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.0001477/0.5803, allocations: 130.3 kB / 385.4 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.5803, allocations: 23.11 kB / 385.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/0.5804, allocations: 16.62 kB / 385.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.5804, allocations: 2.625 kB / 385.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.5804, allocations: 0 / 385.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.5805, allocations: 6.906 kB / 385.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.5817, allocations: 0.5745 MB / 386 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5817, allocations: 1.375 kB / 386 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.5822, allocations: 54.03 kB / 386.1 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.5823, allocations: 5.312 kB / 386.1 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.5823, allocations: 6.844 kB / 386.1 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5823, allocations: 1.375 kB / 386.1 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5823, allocations: 4 kB / 386.1 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.5832, allocations: 393.4 kB / 386.5 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.5833, allocations: 101.3 kB / 386.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.5833, allocations: 10.3 kB / 386.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.5837, allocations: 26.3 kB / 386.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.5838, allocations: 16.91 kB / 386.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.5838, allocations: 5.188 kB / 386.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.584, allocations: 145.8 kB / 386.8 MB, free: 8.883 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.584, allocations: 0 / 386.8 MB, free: 8.883 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008813/0.5849, allocations: 130.7 kB / 386.9 MB, free: 8.852 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.002182/0.5871, allocations: 1.135 MB / 388 MB, free: 8.094 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007479/0.5879, allocations: 238.4 kB / 388.3 MB, free: 8.051 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5879, allocations: 1.25 kB / 388.3 MB, free: 8.051 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.5882, allocations: 82.19 kB / 388.4 MB, free: 8.047 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.5886, allocations: 21.7 kB / 388.4 MB, free: 8.043 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.59, allocations: 480 kB / 388.8 MB, free: 7.789 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.5903, allocations: 0.746 MB / 389.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.5906, allocations: 69.89 kB / 389.7 MB, free: 7.082 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5906, allocations: 0 / 389.7 MB, free: 7.082 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