Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.126e-05, allocations: 7.156 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07873/0.07879, allocations: 44.5 MB / 299.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3337/0.4125, allocations: 74.62 MB / 374.5 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4128, allocations: 73.09 kB / 374.5 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0274/0.4402, allocations: 6.568 MB / 381.1 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4403, allocations: 0 / 381.1 MB, free: 21.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.45e-05/0.4403, allocations: 4.188 kB / 381.1 MB, free: 21.84 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.001044/0.4414, allocations: 0.5481 MB / 381.7 MB, free: 21.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4414, allocations: 8.688 kB / 381.7 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.4417, allocations: 39.28 kB / 381.7 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.442, allocations: 233.5 kB / 381.9 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.4421, allocations: 15.88 kB / 381.9 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.4421, allocations: 21.31 kB / 382 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.4425, allocations: 163.5 kB / 382.1 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4425, allocations: 0 / 382.1 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.4426, allocations: 10.94 kB / 382.1 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.549e-06/0.4426, allocations: 7.844 kB / 382.1 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.4429, allocations: 96.8 kB / 382.2 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.4441, allocations: 0.606 MB / 382.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007987/0.4449, allocations: 228.4 kB / 383.1 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.4451, allocations: 81.14 kB / 383.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.4452, allocations: 11.61 kB / 383.2 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.4455, allocations: 129 kB / 383.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.834e-06/0.4455, allocations: 1.719 kB / 383.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005609/0.4461, allocations: 196.8 kB / 383.5 MB, free: 20.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.4461, allocations: 59 kB / 383.5 MB, free: 20.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.4464, allocations: 183.8 kB / 383.7 MB, free: 20.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.4465, allocations: 41.94 kB / 383.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.4466, allocations: 189 kB / 383.9 MB, free: 20.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/0.4466, allocations: 80.14 kB / 384 MB, free: 20.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.4467, allocations: 5.469 kB / 384 MB, free: 20.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.4468, allocations: 322.5 kB / 384.3 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.447, allocations: 91.98 kB / 384.4 MB, free: 19.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.4473, allocations: 121.7 kB / 384.5 MB, free: 19.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.4476, allocations: 102.6 kB / 384.6 MB, free: 19.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.114e-06/0.4476, allocations: 4 kB / 384.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007462/0.4483, allocations: 281.2 kB / 384.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.4484, allocations: 7.188 kB / 384.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.4484, allocations: 0 / 384.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.4485, allocations: 4.547 kB / 384.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.4489, allocations: 75.62 kB / 385 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.449, allocations: 5.938 kB / 385 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.4492, allocations: 45.52 kB / 385.1 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.4493, allocations: 16.12 kB / 385.1 MB, free: 19.86 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.0001289/0.4495, allocations: 130.5 kB / 385.2 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.4495, allocations: 20.44 kB / 385.2 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.4496, allocations: 19.12 kB / 385.2 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.097e-06/0.4496, allocations: 2.375 kB / 385.2 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.746e-06/0.4496, allocations: 0 / 385.2 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.129e-06/0.4496, allocations: 3.172 kB / 385.2 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.4508, allocations: 0.5741 MB / 385.8 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4508, allocations: 1.375 kB / 385.8 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.4512, allocations: 58.53 kB / 385.9 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.201e-06/0.4513, allocations: 5.672 kB / 385.9 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.4513, allocations: 17.3 kB / 385.9 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.597e-06/0.4513, allocations: 1.344 kB / 385.9 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.078e-06/0.4513, allocations: 0 / 385.9 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.452, allocations: 388.6 kB / 386.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.4521, allocations: 94.33 kB / 386.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.4522, allocations: 15.3 kB / 386.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.4525, allocations: 36.56 kB / 386.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.4525, allocations: 10.48 kB / 386.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.4526, allocations: 9.203 kB / 386.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.4527, allocations: 144.4 kB / 386.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4528, allocations: 1.375 kB / 386.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008111/0.4536, allocations: 130.4 kB / 386.7 MB, free: 19.01 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.001/0.4546, allocations: 329.7 kB / 387 MB, free: 18.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005856/0.4552, allocations: 238.4 kB / 387.3 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.104e-06/0.4552, allocations: 3.938 kB / 387.3 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.4554, allocations: 78.36 kB / 387.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.4558, allocations: 22.73 kB / 387.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.4565, allocations: 355.8 kB / 387.7 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.4567, allocations: 0.7438 MB / 388.5 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.4569, allocations: 32.86 kB / 388.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of SimCode: time 1.531e-06/0.4569, allocations: 0 / 388.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of Templates: time 0.008487/0.4654, allocations: 4.405 MB / 392.9 MB, free: 17.45 MB / 314.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -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:29: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesInitialize.cpp:355: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_; ^ 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