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.989/1.989, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.115e-05, allocations: 3.125 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07863/0.07868, allocations: 44.51 MB / 299.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3923/0.471, allocations: 73.95 MB / 373.8 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4713, allocations: 68.55 kB / 373.9 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03108/0.5024, allocations: 7.459 MB / 381.3 MB, free: 21.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.339e-06/0.5024, allocations: 1.812 kB / 381.3 MB, free: 21.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.5024, allocations: 1.531 kB / 381.3 MB, free: 21.66 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.0008358/0.5033, allocations: 0.4979 MB / 381.8 MB, free: 21.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.5033, allocations: 10.5 kB / 381.8 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.5036, allocations: 29.55 kB / 381.9 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.5038, allocations: 213 kB / 382.1 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.5038, allocations: 8.125 kB / 382.1 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.5039, allocations: 10.77 kB / 382.1 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.5041, allocations: 112.9 kB / 382.2 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5042, allocations: 1 kB / 382.2 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.5042, allocations: 2.156 kB / 382.2 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.217e-06/0.5042, allocations: 5.984 kB / 382.2 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.5044, allocations: 50.34 kB / 382.2 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008003/0.5052, allocations: 0.5649 MB / 382.8 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.5055, allocations: 134.3 kB / 382.9 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.5056, allocations: 53.53 kB / 383 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.5056, allocations: 1.562 kB / 383 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.5059, allocations: 144.9 kB / 383.1 MB, free: 20.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.775e-06/0.5059, allocations: 0 / 383.1 MB, free: 20.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.000435/0.5064, allocations: 179.4 kB / 383.3 MB, free: 20.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.5064, allocations: 122.8 kB / 383.4 MB, free: 20.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.5066, allocations: 171.7 kB / 383.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.5067, allocations: 45.34 kB / 383.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.5068, allocations: 171 kB / 383.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.5069, allocations: 48.86 kB / 383.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.5069, allocations: 5.062 kB / 383.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.507, allocations: 326.9 kB / 384.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.5072, allocations: 78.55 kB / 384.3 MB, free: 19.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.5074, allocations: 112.7 kB / 384.4 MB, free: 19.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.5076, allocations: 97.27 kB / 384.5 MB, free: 19.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5076, allocations: 0 / 384.5 MB, free: 19.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005503/0.5082, allocations: 255.1 kB / 384.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5082, allocations: 5.344 kB / 384.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.5083, allocations: 1.781 kB / 384.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5083, allocations: 1.812 kB / 384.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.5085, allocations: 36.73 kB / 384.8 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.5085, allocations: 1.5 kB / 384.8 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.5087, allocations: 34.05 kB / 384.8 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.5088, allocations: 12.05 kB / 384.8 MB, free: 19.38 MB / 314.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.0001346/0.5089, allocations: 134 kB / 384.9 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.509, allocations: 14.69 kB / 385 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.509, allocations: 18.78 kB / 385 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.752e-06/0.509, allocations: 2.875 kB / 385 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.027e-06/0.509, allocations: 4 kB / 385 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.087e-06/0.5091, allocations: 5.484 kB / 385 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.5093, allocations: 216.9 kB / 385.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.316e-06/0.5093, allocations: 1.375 kB / 385.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.819e-05/0.5094, allocations: 13.47 kB / 385.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.993e-06/0.5094, allocations: 1.375 kB / 385.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.5095, allocations: 4.625 kB / 385.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.851e-06/0.5095, allocations: 1.375 kB / 385.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.404e-06/0.5095, allocations: 4 kB / 385.2 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.5099, allocations: 248.4 kB / 385.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.51, allocations: 104.1 kB / 385.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.51, allocations: 12.17 kB / 385.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.5102, allocations: 14.48 kB / 385.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.5102, allocations: 20.2 kB / 385.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.5103, allocations: 5.5 kB / 385.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.5104, allocations: 137 kB / 385.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.5104, allocations: 1.375 kB / 385.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007691/0.5112, allocations: 161.2 kB / 385.9 MB, free: 18.67 MB / 314.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.001315/0.5125, allocations: 404.8 kB / 386.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.5131, allocations: 228.6 kB / 386.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.5131, allocations: 0 / 386.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.5133, allocations: 55.3 kB / 386.6 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.5135, allocations: 7.062 kB / 386.6 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.514, allocations: 235.8 kB / 386.8 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.5142, allocations: 0.7247 MB / 387.5 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.5142, allocations: 15.69 kB / 387.6 MB, free: 17.54 MB / 314.7 MB Notification: Performance of SimCode: time 1.585e-06/0.5143, allocations: 0 / 387.6 MB, free: 17.54 MB / 314.7 MB Notification: Performance of Templates: time 0.009007/0.5233, allocations: 4.333 MB / 391.9 MB, free: 17.06 MB / 314.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=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.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