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.856/1.856, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.916e-05, allocations: 0 / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08156/0.08161, allocations: 44.5 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/0.4082, allocations: 71.89 MB / 371.8 MB, free: 21.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.4085, allocations: 68.02 kB / 371.8 MB, free: 21.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01714/0.4257, allocations: 4.145 MB / 376 MB, free: 21.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.112e-06/0.4257, allocations: 1.219 kB / 376 MB, free: 21.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.093e-06/0.4257, allocations: 1.156 kB / 376 MB, free: 21.14 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.0005809/0.4263, allocations: 429.3 kB / 376.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4264, allocations: 12.78 kB / 376.4 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/0.4268, allocations: 39.52 kB / 376.4 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.4269, allocations: 190.8 kB / 376.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.427, allocations: 7.703 kB / 376.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.427, allocations: 5.781 kB / 376.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.4272, allocations: 102.6 kB / 376.7 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4273, allocations: 0 / 376.7 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.4273, allocations: 8.906 kB / 376.7 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-06/0.4273, allocations: 1.125 kB / 376.7 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.4274, allocations: 41.84 kB / 376.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006787/0.4281, allocations: 388.5 kB / 377.2 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.4284, allocations: 99.41 kB / 377.3 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.745e-05/0.4285, allocations: 49.78 kB / 377.3 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.4285, allocations: 5.062 kB / 377.3 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.4288, allocations: 136.3 kB / 377.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 3.243e-06/0.4288, allocations: 3.938 kB / 377.5 MB, free: 20.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.000424/0.4293, allocations: 167.8 kB / 377.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4293, allocations: 92.58 kB / 377.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.4295, allocations: 155.6 kB / 377.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.4296, allocations: 43.69 kB / 377.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.4297, allocations: 177.9 kB / 378.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.4297, allocations: 41.84 kB / 378.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.4298, allocations: 5.516 kB / 378.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.988e-05/0.4299, allocations: 324.5 kB / 378.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.4301, allocations: 77.64 kB / 378.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.4303, allocations: 106.1 kB / 378.6 MB, free: 19.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.4305, allocations: 86.88 kB / 378.7 MB, free: 19.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.414e-06/0.4305, allocations: 4 kB / 378.7 MB, free: 19.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005551/0.4311, allocations: 251.3 kB / 379 MB, free: 19.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4311, allocations: 7.031 kB / 379 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.4312, allocations: 2.922 kB / 379 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4312, allocations: 1.125 kB / 379 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.4314, allocations: 33.23 kB / 379 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4314, allocations: 2.188 kB / 379 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.4316, allocations: 25.52 kB / 379 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.4316, allocations: 14.23 kB / 379 MB, free: 19.19 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.0001111/0.4317, allocations: 142.4 kB / 379.2 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.4318, allocations: 9.656 kB / 379.2 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.4318, allocations: 18.12 kB / 379.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.805e-06/0.4319, allocations: 1.219 kB / 379.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4319, allocations: 1.031 kB / 379.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4319, allocations: 2.391 kB / 379.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.4321, allocations: 218 kB / 379.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-06/0.4321, allocations: 5.094 kB / 379.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.4322, allocations: 10.34 kB / 379.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4322, allocations: 0.8125 kB / 379.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.4322, allocations: 2.031 kB / 379.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.437e-06/0.4323, allocations: 3.203 kB / 379.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.337e-06/0.4323, allocations: 0 / 379.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.4326, allocations: 220.2 kB / 379.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.4327, allocations: 89.86 kB / 379.7 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.4328, allocations: 12.19 kB / 379.8 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.4329, allocations: 7.125 kB / 379.8 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.433, allocations: 14.83 kB / 379.8 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.433, allocations: 6.234 kB / 379.8 MB, free: 18.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.4331, allocations: 122.5 kB / 379.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.2e-07/0.4331, allocations: 4 kB / 379.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000522/0.4337, allocations: 75.05 kB / 380 MB, free: 18.55 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.0005986/0.4343, allocations: 244 kB / 380.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004281/0.4347, allocations: 218.3 kB / 380.4 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.033e-06/0.4348, allocations: 0 / 380.4 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.4349, allocations: 52.58 kB / 380.5 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.4351, allocations: 6.812 kB / 380.5 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.4355, allocations: 207.7 kB / 380.7 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.4357, allocations: 0.714 MB / 381.4 MB, free: 17.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.4358, allocations: 16.84 kB / 381.4 MB, free: 17.5 MB / 314.7 MB Notification: Performance of SimCode: time 1.483e-06/0.4358, allocations: 0 / 381.4 MB, free: 17.5 MB / 314.7 MB Notification: Performance of Templates: time 0.006037/0.4418, allocations: 2.697 MB / 384.1 MB, free: 17.19 MB / 314.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=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -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