Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.846e-05/4.881e-05, allocations: 11.94 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2529, allocations: 44.5 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.3636, allocations: 73.29 MB / 367.4 MB, free: 8.707 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.3639, allocations: 79.94 kB / 367.5 MB, free: 8.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03237/0.3963, allocations: 7.419 MB / 374.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.97e-06/0.3963, allocations: 0 / 374.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3963, allocations: 4 kB / 374.9 MB, free: 1.176 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008905/0.3972, allocations: 498.4 kB / 375.4 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3973, allocations: 15.97 kB / 375.4 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.3976, allocations: 27.8 kB / 375.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3979, allocations: 211.9 kB / 375.6 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.3979, allocations: 4 kB / 375.6 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.3979, allocations: 4 kB / 375.6 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001349/0.3981, allocations: 43.92 kB / 375.7 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3983, allocations: 114.2 kB / 375.8 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3984, allocations: 4 kB / 375.8 MB, free: 176 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3984, allocations: 0 / 375.8 MB, free: 176 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.3984, allocations: 0 / 375.8 MB, free: 176 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009383/0.3993, allocations: 0.5287 MB / 376.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.3996, allocations: 119.8 kB / 376.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.3998, allocations: 66.61 kB / 376.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3998, allocations: 0 / 376.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.4001, allocations: 129.9 kB / 376.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.528e-06/0.4001, allocations: 0 / 376.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.000899/0.401, allocations: 209.7 kB / 376.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.4011, allocations: 114.8 kB / 377 MB, free: 14.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.4014, allocations: 174.2 kB / 377.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.4014, allocations: 41.69 kB / 377.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.4016, allocations: 167 kB / 377.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.4017, allocations: 51.33 kB / 377.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.4017, allocations: 0 / 377.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4019, allocations: 326.8 kB / 377.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.4021, allocations: 75.98 kB / 377.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.4023, allocations: 119.3 kB / 377.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008477/0.4032, allocations: 133.5 kB / 378 MB, free: 13.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.585e-06/0.4032, allocations: 0 / 378 MB, free: 13.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001118/0.4043, allocations: 281.4 kB / 378.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4044, allocations: 8 kB / 378.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.4044, allocations: 4 kB / 378.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.4044, allocations: 4 kB / 378.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.4047, allocations: 31.91 kB / 378.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.4047, allocations: 4 kB / 378.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.4048, allocations: 23.84 kB / 378.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.4049, allocations: 15.98 kB / 378.4 MB, free: 13.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * 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.0001682/0.4051, allocations: 133.6 kB / 378.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.4051, allocations: 19.8 kB / 378.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.4052, allocations: 17.83 kB / 378.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.271e-06/0.4052, allocations: 0 / 378.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.681e-06/0.4052, allocations: 4 kB / 378.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.674e-06/0.4053, allocations: 0 / 378.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.4055, allocations: 202 kB / 378.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.528e-06/0.4056, allocations: 4 kB / 378.8 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.45e-05/0.4057, allocations: 11.98 kB / 378.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.131e-06/0.4057, allocations: 0 / 378.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.4057, allocations: 4 kB / 378.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.771e-06/0.4057, allocations: 0 / 378.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.369e-06/0.4057, allocations: 4 kB / 378.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008484/0.4066, allocations: 269.8 kB / 379 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.4067, allocations: 100.9 kB / 379.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.4068, allocations: 7.984 kB / 379.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4069, allocations: 11.98 kB / 379.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.407, allocations: 15.98 kB / 379.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.407, allocations: 4 kB / 379.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.4072, allocations: 136 kB / 379.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.17e-07/0.4072, allocations: 0 / 379.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006687/0.4079, allocations: 155.7 kB / 379.5 MB, free: 12.24 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.001243/0.4091, allocations: 410.7 kB / 379.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004384/0.4096, allocations: 215.2 kB / 380.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.195e-06/0.4096, allocations: 4 kB / 380.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.4097, allocations: 52 kB / 380.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.4099, allocations: 8.422 kB / 380.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.4104, allocations: 220.9 kB / 380.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.4109, allocations: 0.7201 MB / 381.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.4109, allocations: 15.44 kB / 381.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.361e-06/0.4109, allocations: 0 / 381.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of Templates: time 0.00918/0.4201, allocations: 4.385 MB / 385.5 MB, free: 6.16 MB / 330.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.DistributionsCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsInitialize.cpp:245:3: error: use of undeclared identifier '$PRE_P_truncatedNormalNoise_P_state_'; did you mean '_truncatedNormalNoise_P_state_'? $PRE_P_truncatedNormalNoise_P_state_.assign(tmp82); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _truncatedNormalNoise_P_state_ ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.h:198:33: note: '_truncatedNormalNoise_P_state_' declared here StatArrayDim1 _truncatedNormalNoise_P_state_; ^ In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsInitialize.cpp:373:3: error: use of undeclared identifier '$PRE_P_uniformNoise_P_state_'; did you mean '_uniformNoise_P_state_'? $PRE_P_uniformNoise_P_state_.assign(tmp87); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise_P_state_ ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.h:199:33: note: '_uniformNoise_P_state_' declared here StatArrayDim1 _uniformNoise_P_state_; ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.o] Error 1