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 2.243/2.243, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.733e-05/3.764e-05, allocations: 8 kB / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3606, allocations: 44.5 MB / 294.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4982, allocations: 72.98 MB / 367.2 MB, free: 8.914 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.4986, allocations: 71.95 kB / 367.3 MB, free: 8.844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02399/0.5226, allocations: 4.854 MB / 372.1 MB, free: 3.973 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5226, allocations: 0 / 372.1 MB, free: 3.973 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.5227, allocations: 4 kB / 372.1 MB, free: 3.969 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.001302/0.524, allocations: 0.5158 MB / 372.6 MB, free: 3.402 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.524, allocations: 12.03 kB / 372.6 MB, free: 3.391 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.5244, allocations: 35.7 kB / 372.7 MB, free: 3.355 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.5248, allocations: 239.5 kB / 372.9 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.5249, allocations: 8 kB / 372.9 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.5249, allocations: 12 kB / 372.9 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003298/0.5253, allocations: 92.27 kB / 373 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.5257, allocations: 138.7 kB / 373.2 MB, free: 2.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5257, allocations: 0 / 373.2 MB, free: 2.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.5258, allocations: 3.984 kB / 373.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5258, allocations: 4 kB / 373.2 MB, free: 2.824 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.5274, allocations: 0.5517 MB / 373.7 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.5285, allocations: 230.8 kB / 373.9 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.5288, allocations: 77.02 kB / 374 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.5288, allocations: 4.062 kB / 374 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/0.5292, allocations: 119.9 kB / 374.1 MB, free: 1.785 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 4.168e-06/0.5292, allocations: 0 / 374.1 MB, free: 1.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006092/0.5298, allocations: 188 kB / 374.3 MB, free: 1.598 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.5299, allocations: 59.59 kB / 374.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.5302, allocations: 174.2 kB / 374.5 MB, free: 1.352 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/0.5302, allocations: 33.69 kB / 374.6 MB, free: 1.312 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.5304, allocations: 191 kB / 374.8 MB, free: 1.125 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.404e-05/0.5305, allocations: 67.02 kB / 374.8 MB, free: 1.059 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.5305, allocations: 0 / 374.8 MB, free: 1.059 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5307, allocations: 334.8 kB / 375.2 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.5309, allocations: 76 kB / 375.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.5312, allocations: 121.8 kB / 375.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.5317, allocations: 104.9 kB / 375.5 MB, free: 428 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5317, allocations: 0 / 375.5 MB, free: 428 kB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008371/0.5326, allocations: 271.9 kB / 375.7 MB, free: 152 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.5326, allocations: 4 kB / 375.7 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.5326, allocations: 4 kB / 375.7 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.5327, allocations: 0 / 375.7 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.5333, allocations: 79.91 kB / 375.8 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5333, allocations: 8 kB / 375.8 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.5337, allocations: 39.72 kB / 375.8 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.5337, allocations: 16 kB / 375.9 MB, free: 0 / 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.0002017/0.534, allocations: 116.9 kB / 376 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005463/0.5345, allocations: 197.8 kB / 376.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.5346, allocations: 11.81 kB / 376.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.939e-05/0.5347, allocations: 13.97 kB / 376.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.5347, allocations: 4 kB / 376.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5347, allocations: 3.984 kB / 376.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5347, allocations: 0 / 376.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.536, allocations: 0.5338 MB / 376.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.5361, allocations: 0 / 376.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.5366, allocations: 59.89 kB / 376.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.5366, allocations: 0 / 376.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.5367, allocations: 4 kB / 376.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.5367, allocations: 4 kB / 376.8 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.5367, allocations: 3.984 kB / 376.8 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.5375, allocations: 371.5 kB / 377.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.5376, allocations: 96.91 kB / 377.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.5377, allocations: 4 kB / 377.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.5381, allocations: 23.97 kB / 377.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.5382, allocations: 19.95 kB / 377.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.5383, allocations: 7.984 kB / 377.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.5384, allocations: 131.2 kB / 377.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5384, allocations: 0 / 377.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006259/0.5391, allocations: 83.86 kB / 377.5 MB, free: 14.24 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.001911/0.541, allocations: 1.045 MB / 378.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006646/0.5417, allocations: 225.6 kB / 378.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5418, allocations: 0 / 378.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.542, allocations: 71.92 kB / 378.9 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.5424, allocations: 19.92 kB / 378.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.5437, allocations: 436.1 kB / 379.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.5441, allocations: 0.7438 MB / 380.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.5444, allocations: 63.41 kB / 380.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.213e-06/0.5444, allocations: 0 / 380.1 MB, free: 11.58 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_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/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_UniformNoisePropertiesCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoisePropertiesCalcHelperMain.o] Error 1