Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.893e-05/3.91e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2455, allocations: 44.5 MB / 294.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1093/0.3548, allocations: 71.24 MB / 365.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.3551, allocations: 67.91 kB / 365.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.3715, allocations: 4.124 MB / 369.5 MB, free: 6.555 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.2e-06/0.3716, allocations: 0 / 369.5 MB, free: 6.555 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.1e-06/0.3716, allocations: 4 kB / 369.5 MB, free: 6.551 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007103/0.3723, allocations: 430.7 kB / 370 MB, free: 6.086 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3724, allocations: 12.03 kB / 370 MB, free: 6.074 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/0.3727, allocations: 35.8 kB / 370 MB, free: 6.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.373, allocations: 198.8 kB / 370.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.373, allocations: 0 / 370.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.3731, allocations: 8 kB / 370.2 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001334/0.3732, allocations: 39.98 kB / 370.2 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.3734, allocations: 103.9 kB / 370.3 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.3734, allocations: 0 / 370.3 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3735, allocations: 0 / 370.3 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.313e-06/0.3735, allocations: 0 / 370.3 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.3743, allocations: 362 kB / 370.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.3745, allocations: 93.2 kB / 370.8 MB, free: 5.141 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.662e-05/0.3746, allocations: 53.8 kB / 370.8 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.3747, allocations: 0 / 370.8 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/0.3749, allocations: 134 kB / 371 MB, free: 4.934 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.512e-06/0.375, allocations: 4 kB / 371 MB, free: 4.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004256/0.3754, allocations: 165.5 kB / 371.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.3755, allocations: 85.11 kB / 371.2 MB, free: 4.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.3757, allocations: 153.5 kB / 371.4 MB, free: 4.504 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.3758, allocations: 41.69 kB / 371.4 MB, free: 4.457 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3759, allocations: 174.9 kB / 371.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.376, allocations: 35.61 kB / 371.6 MB, free: 4.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.376, allocations: 0 / 371.6 MB, free: 4.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3762, allocations: 326.8 kB / 371.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.3764, allocations: 76.44 kB / 372 MB, free: 3.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.3766, allocations: 111.3 kB / 372.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.377, allocations: 105.5 kB / 372.2 MB, free: 3.621 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.632e-06/0.377, allocations: 0 / 372.2 MB, free: 3.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006877/0.3777, allocations: 245.4 kB / 372.5 MB, free: 3.375 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.3778, allocations: 8 kB / 372.5 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.3778, allocations: 0 / 372.5 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.3778, allocations: 4 kB / 372.5 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.378, allocations: 28.05 kB / 372.5 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.855e-06/0.378, allocations: 0 / 372.5 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.3782, allocations: 27.67 kB / 372.5 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.3783, allocations: 12 kB / 372.5 MB, free: 3.297 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001674/0.3784, allocations: 131.8 kB / 372.7 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.3785, allocations: 11.91 kB / 372.7 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.3785, allocations: 13.84 kB / 372.7 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.586e-06/0.3786, allocations: 4 kB / 372.7 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.07e-06/0.3786, allocations: 4 kB / 372.7 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.13e-06/0.3786, allocations: 0 / 372.7 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.3789, allocations: 194 kB / 372.9 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3789, allocations: 0 / 372.9 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.011e-05/0.379, allocations: 11.94 kB / 372.9 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.379, allocations: 0 / 372.9 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.379, allocations: 7.984 kB / 372.9 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.182e-06/0.379, allocations: 0 / 372.9 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3791, allocations: 4 kB / 372.9 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.3795, allocations: 209 kB / 373.1 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.3796, allocations: 100.8 kB / 373.2 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.3796, allocations: 11.98 kB / 373.2 MB, free: 2.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/0.3798, allocations: 8 kB / 373.2 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.3798, allocations: 11.98 kB / 373.2 MB, free: 2.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.3799, allocations: 11.98 kB / 373.3 MB, free: 2.488 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.38, allocations: 116.3 kB / 373.4 MB, free: 2.375 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.38, allocations: 0 / 373.4 MB, free: 2.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004516/0.3805, allocations: 52 kB / 373.4 MB, free: 2.324 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006695/0.3812, allocations: 247.8 kB / 373.7 MB, free: 2.105 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004626/0.3817, allocations: 215.2 kB / 373.9 MB, free: 1.883 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.318e-06/0.3817, allocations: 0 / 373.9 MB, free: 1.883 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3818, allocations: 63.84 kB / 373.9 MB, free: 1.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.382, allocations: 7.953 kB / 373.9 MB, free: 1.812 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.3825, allocations: 199.9 kB / 374.1 MB, free: 1.582 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.3829, allocations: 0.7159 MB / 374.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.383, allocations: 15.44 kB / 374.9 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of SimCode: time 1.417e-06/0.383, allocations: 0 / 374.9 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of Templates: time 0.006381/0.3894, allocations: 2.69 MB / 377.6 MB, free: 14.13 MB / 330.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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=5 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseInitialize.cpp:244:3: error: use of undeclared identifier '$PRE_P_uniformNoise2_P_state_'; did you mean '_uniformNoise2_P_state_'? $PRE_P_uniformNoise2_P_state_.assign(tmp41); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise2_P_state_ ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.h:198:33: note: '_uniformNoise2_P_state_' declared here StatArrayDim1 _uniformNoise2_P_state_; ^ In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseInitialize.cpp:370:3: error: use of undeclared identifier '$PRE_P_uniformNoise1_P_state_'; did you mean '_uniformNoise1_P_state_'? $PRE_P_uniformNoise1_P_state_.assign(tmp45); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise1_P_state_ ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.h:197:33: note: '_uniformNoise1_P_state_' declared here StatArrayDim1 _uniformNoise1_P_state_; ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.o] Error 1