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.176/2.176, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.498e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3078, allocations: 44.5 MB / 294.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.4426, allocations: 73.97 MB / 368.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.443, allocations: 71.95 kB / 368.2 MB, free: 7.852 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03153/0.4745, allocations: 6.528 MB / 374.8 MB, free: 1.301 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4746, allocations: 0 / 374.8 MB, free: 1.301 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.4746, allocations: 4 kB / 374.8 MB, free: 1.297 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.001364/0.476, allocations: 0.5586 MB / 375.3 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.4761, allocations: 8.031 kB / 375.3 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002874/0.4763, allocations: 35.7 kB / 375.4 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.4767, allocations: 235.6 kB / 375.6 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.4768, allocations: 4 kB / 375.6 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.4769, allocations: 12 kB / 375.6 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003234/0.4772, allocations: 92.27 kB / 375.7 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.4776, allocations: 138.7 kB / 375.8 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4776, allocations: 0 / 375.8 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.4777, allocations: 0 / 375.8 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4777, allocations: 8 kB / 375.9 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.4792, allocations: 0.5478 MB / 376.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009835/0.4802, allocations: 230 kB / 376.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.4804, allocations: 72.98 kB / 376.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.4805, allocations: 12 kB / 376.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.4808, allocations: 123.9 kB / 376.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.336e-06/0.4808, allocations: 0 / 376.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005891/0.4814, allocations: 188 kB / 377 MB, free: 14.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4815, allocations: 63.58 kB / 377.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.4817, allocations: 166.2 kB / 377.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.4818, allocations: 29.7 kB / 377.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.4819, allocations: 191 kB / 377.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/0.482, allocations: 75 kB / 377.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.4821, allocations: 0 / 377.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4822, allocations: 322.8 kB / 377.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.4825, allocations: 83.98 kB / 377.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.4828, allocations: 117.7 kB / 378 MB, free: 13.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.4832, allocations: 104.9 kB / 378.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.4832, allocations: 0 / 378.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008071/0.484, allocations: 275.9 kB / 378.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4841, allocations: 4 kB / 378.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.4841, allocations: 4 kB / 378.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4841, allocations: 0 / 378.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.4847, allocations: 79.88 kB / 378.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4848, allocations: 4 kB / 378.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.4851, allocations: 47.75 kB / 378.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.4851, allocations: 12 kB / 378.6 MB, free: 13.3 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.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.000159/0.4853, allocations: 112.9 kB / 378.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004891/0.4858, allocations: 201.8 kB / 378.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.4859, allocations: 11.81 kB / 378.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.71e-05/0.486, allocations: 21.95 kB / 378.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.486, allocations: 4 kB / 378.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.486, allocations: 0 / 378.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.486, allocations: 0 / 378.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.4872, allocations: 0.5299 MB / 379.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4872, allocations: 3.938 kB / 379.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.4877, allocations: 59.89 kB / 379.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.4877, allocations: 0 / 379.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.4878, allocations: 0 / 379.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.4878, allocations: 8 kB / 379.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4878, allocations: 0 / 379.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007702/0.4886, allocations: 371.6 kB / 379.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/0.4887, allocations: 92.91 kB / 380 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.4888, allocations: 4 kB / 380 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.4891, allocations: 31.91 kB / 380 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.4892, allocations: 19.95 kB / 380 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.4892, allocations: 7.984 kB / 380 MB, free: 11.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.4894, allocations: 127.2 kB / 380.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4894, allocations: 0 / 380.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007439/0.4902, allocations: 123.7 kB / 380.3 MB, free: 11.5 MB / 330.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.002183/0.4924, allocations: 1.125 MB / 381.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006339/0.493, allocations: 229.6 kB / 381.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.493, allocations: 3.938 kB / 381.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.4933, allocations: 71.92 kB / 381.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.4936, allocations: 12 kB / 381.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.4949, allocations: 459.9 kB / 382.1 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4953, allocations: 0.7439 MB / 382.9 MB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.4955, allocations: 67.39 kB / 383 MB, free: 8.738 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4955, allocations: 0 / 383 MB, free: 8.738 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_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/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_NormalNoisePropertiesCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoisePropertiesCalcHelperMain.o] Error 1