Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.603e-05/2.606e-05, allocations: 3.406 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07743/0.07748, allocations: 44.5 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3309/0.4084, allocations: 74.64 MB / 374.5 MB, free: 22.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.4087, allocations: 73.67 kB / 374.6 MB, free: 22.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02712/0.4358, allocations: 6.571 MB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.219e-06/0.4359, allocations: 0 / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.4359, allocations: 4.5 kB / 381.1 MB, free: 21.7 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001066/0.437, allocations: 0.5449 MB / 381.7 MB, free: 21.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.437, allocations: 8.625 kB / 381.7 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.4373, allocations: 34.56 kB / 381.7 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.4376, allocations: 238.6 kB / 382 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.4377, allocations: 13.38 kB / 382 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.4377, allocations: 19.06 kB / 382 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.4381, allocations: 167.2 kB / 382.2 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4381, allocations: 1.812 kB / 382.2 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.4382, allocations: 3.938 kB / 382.2 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.4382, allocations: 3.688 kB / 382.2 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.4385, allocations: 98.7 kB / 382.3 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.4397, allocations: 0.6005 MB / 382.9 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007786/0.4405, allocations: 230.8 kB / 383.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.4408, allocations: 81.59 kB / 383.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.4408, allocations: 1.688 kB / 383.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.4411, allocations: 128.6 kB / 383.3 MB, free: 20.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.638e-06/0.4411, allocations: 0 / 383.3 MB, free: 20.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005438/0.4417, allocations: 198.1 kB / 383.5 MB, free: 20.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4417, allocations: 58.98 kB / 383.5 MB, free: 20.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.442, allocations: 184.4 kB / 383.7 MB, free: 20.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.442, allocations: 44.09 kB / 383.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.4421, allocations: 194.1 kB / 384 MB, free: 20.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.4422, allocations: 70.27 kB / 384 MB, free: 20.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.4422, allocations: 5.906 kB / 384 MB, free: 20.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.4423, allocations: 325.5 kB / 384.4 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.4425, allocations: 87.88 kB / 384.4 MB, free: 19.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.4428, allocations: 123.3 kB / 384.6 MB, free: 19.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.4431, allocations: 106 kB / 384.7 MB, free: 19.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.631e-06/0.4431, allocations: 0 / 384.7 MB, free: 19.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006415/0.4438, allocations: 284 kB / 384.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4438, allocations: 5.5 kB / 384.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.4438, allocations: 1.375 kB / 384.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4439, allocations: 1.375 kB / 384.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.4443, allocations: 80.45 kB / 385 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4443, allocations: 2.75 kB / 385 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.4446, allocations: 46.03 kB / 385.1 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.4447, allocations: 14.11 kB / 385.1 MB, free: 19.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001178/0.4448, allocations: 127.9 kB / 385.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.4448, allocations: 21.75 kB / 385.2 MB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.4449, allocations: 22.58 kB / 385.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.548e-06/0.4449, allocations: 1.375 kB / 385.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.504e-06/0.4449, allocations: 0 / 385.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.445, allocations: 1.375 kB / 385.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.446, allocations: 0.586 MB / 385.8 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.259e-06/0.446, allocations: 0 / 385.8 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.4464, allocations: 60.53 kB / 385.9 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.907e-06/0.4464, allocations: 5.625 kB / 385.9 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.4465, allocations: 8.703 kB / 385.9 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.267e-06/0.4465, allocations: 1.031 kB / 385.9 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.4465, allocations: 1.125 kB / 385.9 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.4472, allocations: 389.1 kB / 386.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.4473, allocations: 93.55 kB / 386.4 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.986e-05/0.4474, allocations: 11.8 kB / 386.4 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.4476, allocations: 29.83 kB / 386.4 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.4477, allocations: 17.97 kB / 386.4 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.4477, allocations: 9.109 kB / 386.5 MB, free: 19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.4479, allocations: 141.3 kB / 386.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.4479, allocations: 0 / 386.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007263/0.4487, allocations: 135.8 kB / 386.7 MB, free: 18.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001008/0.4497, allocations: 326.7 kB / 387 MB, free: 18.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005653/0.4503, allocations: 237.4 kB / 387.3 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.204e-06/0.4503, allocations: 0 / 387.3 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.4505, allocations: 80.45 kB / 387.4 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.4508, allocations: 26.77 kB / 387.4 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.4516, allocations: 359.6 kB / 387.7 MB, free: 18.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.4518, allocations: 0.7473 MB / 388.5 MB, free: 17.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.4519, allocations: 29.28 kB / 388.5 MB, free: 17.76 MB / 314.7 MB Notification: Performance of SimCode: time 1.519e-06/0.4519, allocations: 0 / 388.5 MB, free: 17.76 MB / 314.7 MB Notification: Performance of Templates: time 0.008271/0.4602, allocations: 4.396 MB / 392.9 MB, free: 17.32 MB / 314.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesInitialize.cpp:355:3: error: use of undeclared identifier '$PRE_P_noise_P_state_'; did you mean '_noise_P_state_'? $PRE_P_noise_P_state_.assign(tmp70); ^~~~~~~~~~~~~~~~~~~~~ _noise_P_state_ ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.h:214:33: note: '_noise_P_state_' declared here StatArrayDim1 _noise_P_state_; ^ 1 error generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o] Error 1