Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.989e-05, allocations: 0 / 255.5 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 44.5 MB / 300 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4743/0.5757, allocations: 73.64 MB / 373.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.5761, allocations: 73.95 kB / 373.7 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02967/0.6058, allocations: 4.874 MB / 378.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.6058, allocations: 0 / 378.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.502e-05/0.6059, allocations: 4.188 kB / 378.5 MB, free: 12.21 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.00169/0.6076, allocations: 0.521 MB / 379.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/0.6077, allocations: 9.906 kB / 379.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000204/0.6079, allocations: 62.53 kB / 379.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004505/0.6084, allocations: 32.27 kB / 379.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.6088, allocations: 245.3 kB / 379.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/0.6089, allocations: 15.69 kB / 379.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.609, allocations: 21.58 kB / 379.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.6097, allocations: 158.5 kB / 379.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6097, allocations: 4 kB / 379.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.6098, allocations: 5.312 kB / 379.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.6098, allocations: 4.125 kB / 379.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.6102, allocations: 97.12 kB / 379.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.6123, allocations: 0.6111 MB / 380.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.6138, allocations: 234.7 kB / 380.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.6142, allocations: 84.33 kB / 380.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.6143, allocations: 0.9062 kB / 380.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004537/0.6147, allocations: 129.5 kB / 380.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 4.488e-06/0.6148, allocations: 0 / 380.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008745/0.6156, allocations: 191.8 kB / 380.9 MB, free: 11.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.6157, allocations: 67.08 kB / 381 MB, free: 10.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.6161, allocations: 188.2 kB / 381.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.601e-05/0.6163, allocations: 39.25 kB / 381.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.6164, allocations: 192.2 kB / 381.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.6165, allocations: 77.44 kB / 381.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.6166, allocations: 4.438 kB / 381.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.6167, allocations: 331 kB / 381.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.6171, allocations: 87 kB / 381.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.6176, allocations: 113.4 kB / 382 MB, free: 10.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.6181, allocations: 100.3 kB / 382.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.433e-06/0.6181, allocations: 1.453 kB / 382.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001129/0.6192, allocations: 286.8 kB / 382.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.6193, allocations: 5.844 kB / 382.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.6193, allocations: 6.531 kB / 382.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.6194, allocations: 6.094 kB / 382.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/0.6202, allocations: 75.67 kB / 382.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.6203, allocations: 7.734 kB / 382.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/0.6208, allocations: 45.31 kB / 382.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.6209, allocations: 16.84 kB / 382.6 MB, free: 10.19 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.0001893/0.6211, allocations: 133.1 kB / 382.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/0.6212, allocations: 19.47 kB / 382.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.823e-05/0.6213, allocations: 27.53 kB / 382.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.6213, allocations: 1.156 kB / 382.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.6214, allocations: 1.156 kB / 382.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.6214, allocations: 1.219 kB / 382.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.6231, allocations: 0.5818 MB / 383.3 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.6231, allocations: 1.266 kB / 383.3 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/0.6238, allocations: 61.52 kB / 383.4 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.688e-05/0.6238, allocations: 4.969 kB / 383.4 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.6239, allocations: 3.844 kB / 383.4 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.6239, allocations: 1.438 kB / 383.4 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6239, allocations: 1.688 kB / 383.4 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.625, allocations: 381.9 kB / 383.8 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.6251, allocations: 102.6 kB / 383.9 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/0.6252, allocations: 10.44 kB / 383.9 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.6256, allocations: 29 kB / 383.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.352e-05/0.6258, allocations: 15.89 kB / 383.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.6258, allocations: 6.422 kB / 383.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002363/0.6261, allocations: 145.3 kB / 384.1 MB, free: 9.375 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.004e-06/0.6261, allocations: 0 / 384.1 MB, free: 9.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008927/0.627, allocations: 87.39 kB / 384.2 MB, free: 9.359 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.002047/0.6291, allocations: 1.061 MB / 385.2 MB, free: 8.625 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008435/0.6299, allocations: 241.5 kB / 385.5 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6299, allocations: 0 / 385.5 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.6303, allocations: 82.98 kB / 385.5 MB, free: 8.574 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.6308, allocations: 21.41 kB / 385.6 MB, free: 8.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.6325, allocations: 448.3 kB / 386 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.6329, allocations: 0.7459 MB / 386.7 MB, free: 7.637 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.6331, allocations: 70.5 kB / 386.8 MB, free: 7.629 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6332, allocations: 0 / 386.8 MB, free: 7.629 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_UniformNoisePropertiesCalcHelperMain.o OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoisePropertiesCalcHelperMain.cpp In file included from OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoisePropertiesCalcHelperMain.cpp:31: ./OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoisePropertiesInitialize.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(tmp47); ^~~~~~~~~~~~~~~~~~~~~ _noise_P_state_ ./OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.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_UniformNoisePropertiesCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoisePropertiesFMU.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_UniformNoisePropertiesCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoisePropertiesCalcHelperMain.o] Error 1