Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,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.UniformNoiseProperties") Notification: Performance of loadModel(Modelica): time 2.056/2.056, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.657e-05, allocations: 4 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08264, allocations: 44.51 MB / 299.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.4457, allocations: 73.63 MB / 373.5 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.446, allocations: 70.86 kB / 373.5 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02083/0.4669, allocations: 4.879 MB / 378.4 MB, free: 21.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.831e-06/0.4669, allocations: 0 / 378.4 MB, free: 21.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.4669, allocations: 4.219 kB / 378.4 MB, free: 21.92 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.000927/0.4679, allocations: 0.5166 MB / 378.9 MB, free: 21.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4679, allocations: 14 kB / 379 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.4682, allocations: 39.98 kB / 379 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.4685, allocations: 238.3 kB / 379.2 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.4686, allocations: 15.19 kB / 379.2 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.4687, allocations: 16.69 kB / 379.3 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.4691, allocations: 162.8 kB / 379.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4691, allocations: 0 / 379.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.4691, allocations: 5.312 kB / 379.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.4692, allocations: 5.5 kB / 379.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.4695, allocations: 107.8 kB / 379.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.4707, allocations: 0.5998 MB / 380.1 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008004/0.4715, allocations: 231.6 kB / 380.4 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.4717, allocations: 84.56 kB / 380.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.4718, allocations: 6.281 kB / 380.5 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.4721, allocations: 129.3 kB / 380.6 MB, free: 20.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.766e-06/0.4721, allocations: 0 / 380.6 MB, free: 20.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005463/0.4726, allocations: 203.9 kB / 380.8 MB, free: 20.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.4727, allocations: 58.97 kB / 380.8 MB, free: 20.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.473, allocations: 185.2 kB / 381 MB, free: 20.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.473, allocations: 40.73 kB / 381.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.4731, allocations: 189.6 kB / 381.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.504e-05/0.4732, allocations: 76.59 kB / 381.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.4732, allocations: 7.25 kB / 381.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.81e-05/0.4733, allocations: 321 kB / 381.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.4736, allocations: 86.34 kB / 381.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.4738, allocations: 121.2 kB / 381.8 MB, free: 20.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.4741, allocations: 101.2 kB / 381.9 MB, free: 20.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.4741, allocations: 3.953 kB / 381.9 MB, free: 20.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006554/0.4748, allocations: 283.9 kB / 382.2 MB, free: 19.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4748, allocations: 5.812 kB / 382.2 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.4748, allocations: 6.953 kB / 382.2 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4749, allocations: 2.375 kB / 382.2 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/0.4753, allocations: 73.25 kB / 382.3 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.577e-06/0.4753, allocations: 1.312 kB / 382.3 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.4756, allocations: 53.2 kB / 382.4 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.4757, allocations: 14.52 kB / 382.4 MB, free: 19.95 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.000121/0.4758, allocations: 123 kB / 382.5 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.4759, allocations: 27.67 kB / 382.5 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.4759, allocations: 21.91 kB / 382.5 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.028e-06/0.476, allocations: 1.469 kB / 382.5 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.836e-06/0.476, allocations: 0 / 382.5 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.966e-06/0.476, allocations: 3.109 kB / 382.5 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.4771, allocations: 0.5798 MB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.734e-06/0.4771, allocations: 0 / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.4775, allocations: 49.58 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.151e-06/0.4775, allocations: 6.828 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.4776, allocations: 5.875 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.229e-06/0.4776, allocations: 10.78 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4776, allocations: 4 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/0.4783, allocations: 388.1 kB / 383.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.4784, allocations: 93.73 kB / 383.7 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.4785, allocations: 14.38 kB / 383.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.4788, allocations: 32.11 kB / 383.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.4789, allocations: 12.66 kB / 383.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.4789, allocations: 10.12 kB / 383.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001699/0.4791, allocations: 148.6 kB / 383.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.4791, allocations: 0 / 383.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006007/0.4797, allocations: 87.27 kB / 384 MB, free: 19.12 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.0006362/0.4804, allocations: 249.6 kB / 384.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006116/0.481, allocations: 239.4 kB / 384.4 MB, free: 18.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.212e-06/0.4811, allocations: 0 / 384.4 MB, free: 18.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.4813, allocations: 82.64 kB / 384.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.4816, allocations: 20.97 kB / 384.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.4824, allocations: 356.5 kB / 384.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.4826, allocations: 0.745 MB / 385.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.4827, allocations: 23.39 kB / 385.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of SimCode: time 2.17e-06/0.4827, allocations: 0 / 385.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of Templates: time 0.007514/0.4903, allocations: 3.65 MB / 389.3 MB, free: 17.68 MB / 314.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.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:29: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesInitialize.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(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_; ^ 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