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.761/1.761, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.579e-05, allocations: 3.984 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07556/0.07561, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.4051, allocations: 73.96 MB / 373.8 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.4053, allocations: 71.72 kB / 373.9 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03005/0.4354, allocations: 7.458 MB / 381.3 MB, free: 21.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4354, allocations: 4 kB / 381.4 MB, free: 21.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.4355, allocations: 2.312 kB / 381.4 MB, free: 21.72 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.0007197/0.4362, allocations: 0.494 MB / 381.8 MB, free: 21.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4363, allocations: 8.75 kB / 381.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.4365, allocations: 31.88 kB / 381.9 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.4367, allocations: 217.4 kB / 382.1 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.4368, allocations: 6.969 kB / 382.1 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.4368, allocations: 9.969 kB / 382.1 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.437, allocations: 112.8 kB / 382.2 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4371, allocations: 0 / 382.2 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.4371, allocations: 1.562 kB / 382.2 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.292e-06/0.4371, allocations: 1.625 kB / 382.2 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.4372, allocations: 47.73 kB / 382.3 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007965/0.4381, allocations: 0.5625 MB / 382.8 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.4383, allocations: 125.2 kB / 383 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.902e-05/0.4385, allocations: 58.11 kB / 383 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.4385, allocations: 7.516 kB / 383 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.4387, allocations: 136.7 kB / 383.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.799e-06/0.4387, allocations: 3.938 kB / 383.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004068/0.4392, allocations: 175.2 kB / 383.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.4392, allocations: 123.4 kB / 383.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.4394, allocations: 173.2 kB / 383.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.4395, allocations: 46 kB / 383.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.4396, allocations: 175 kB / 383.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.4396, allocations: 45.8 kB / 383.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.4397, allocations: 4.875 kB / 383.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.4397, allocations: 324.2 kB / 384.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.4399, allocations: 80.11 kB / 384.3 MB, free: 19.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.4402, allocations: 111.5 kB / 384.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.4404, allocations: 93.77 kB / 384.5 MB, free: 19.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4404, allocations: 0 / 384.5 MB, free: 19.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005417/0.4409, allocations: 255 kB / 384.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.441, allocations: 5.344 kB / 384.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.441, allocations: 5.188 kB / 384.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.441, allocations: 2.969 kB / 384.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.4412, allocations: 32.67 kB / 384.8 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.912e-06/0.4413, allocations: 7.156 kB / 384.8 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.4414, allocations: 30.67 kB / 384.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.4415, allocations: 11.98 kB / 384.8 MB, free: 19.46 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.0001005/0.4416, allocations: 129.2 kB / 385 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.4416, allocations: 14.56 kB / 385 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.4417, allocations: 18.56 kB / 385 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.751e-06/0.4417, allocations: 5.375 kB / 385 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.4417, allocations: 1.344 kB / 385 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.601e-06/0.4417, allocations: 4.641 kB / 385 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.4419, allocations: 213.8 kB / 385.2 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-06/0.442, allocations: 1.5 kB / 385.2 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.458e-05/0.4421, allocations: 12.05 kB / 385.2 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.4421, allocations: 1.344 kB / 385.2 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.4421, allocations: 7.984 kB / 385.2 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.881e-06/0.4421, allocations: 5.344 kB / 385.2 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.523e-06/0.4421, allocations: 5.875 kB / 385.2 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.4425, allocations: 244.8 kB / 385.5 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.4426, allocations: 100.3 kB / 385.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.4426, allocations: 12.88 kB / 385.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4427, allocations: 12.8 kB / 385.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.4428, allocations: 21.88 kB / 385.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.4428, allocations: 5.5 kB / 385.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.443, allocations: 141.2 kB / 385.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.443, allocations: 96 / 385.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006798/0.4437, allocations: 167.4 kB / 385.9 MB, free: 18.75 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.001152/0.4449, allocations: 392.6 kB / 386.3 MB, free: 18.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.4453, allocations: 225.6 kB / 386.5 MB, free: 18.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.89e-06/0.4453, allocations: 0 / 386.5 MB, free: 18.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.4454, allocations: 54.95 kB / 386.6 MB, free: 18.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.4456, allocations: 7.125 kB / 386.6 MB, free: 18.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.4461, allocations: 238.7 kB / 386.8 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.4463, allocations: 0.7206 MB / 387.5 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.4463, allocations: 16.34 kB / 387.6 MB, free: 17.63 MB / 314.7 MB Notification: Performance of SimCode: time 1.357e-06/0.4464, allocations: 0 / 387.6 MB, free: 17.63 MB / 314.7 MB Notification: Performance of Templates: time 0.007719/0.4541, allocations: 4.344 MB / 391.9 MB, free: 17.13 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/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.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