Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) 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 2.122/2.122, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003754, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09826/0.09867, allocations: 44.5 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.5122, allocations: 74.72 MB / 383.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.5126, allocations: 82.2 kB / 383.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02948/0.5421, allocations: 6.646 MB / 390.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.5421, allocations: 0 / 390.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.5421, allocations: 7.781 kB / 390.4 MB, free: 14.12 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.001373/0.5435, allocations: 0.5682 MB / 391 MB, free: 13.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.5436, allocations: 7.781 kB / 391 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.5439, allocations: 33.55 kB / 391 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.5443, allocations: 241.4 kB / 391.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.5443, allocations: 19.38 kB / 391.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.5444, allocations: 19.41 kB / 391.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.5452, allocations: 225 kB / 391.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5452, allocations: 0 / 391.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.5453, allocations: 6.688 kB / 391.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.5453, allocations: 3.938 kB / 391.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008053/0.5461, allocations: 182.1 kB / 391.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.5476, allocations: 0.5935 MB / 392.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.5495, allocations: 369.5 kB / 392.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.5495, allocations: 3.672 kB / 392.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006421/0.5502, allocations: 191.2 kB / 392.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.905e-06/0.5502, allocations: 0 / 392.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.001776/0.552, allocations: 499.3 kB / 393.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.552, allocations: 61.84 kB / 393.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.5523, allocations: 204.1 kB / 393.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/0.5524, allocations: 35.8 kB / 393.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.5525, allocations: 186 kB / 393.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/0.5526, allocations: 79.66 kB / 393.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.5526, allocations: 3.562 kB / 393.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.5527, allocations: 323.9 kB / 394.2 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005941/0.5533, allocations: 145.7 kB / 394.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006343/0.5539, allocations: 175.9 kB / 394.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.5546, allocations: 164.8 kB / 394.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5546, allocations: 4 kB / 394.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001359/0.5559, allocations: 384.1 kB / 395.1 MB, free: 12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.556, allocations: 7.719 kB / 395.1 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.556, allocations: 10.88 kB / 395.1 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.5561, allocations: 3.844 kB / 395.1 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.5566, allocations: 69.25 kB / 395.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.5566, allocations: 10.36 kB / 395.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.557, allocations: 51.73 kB / 395.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/0.557, allocations: 13.53 kB / 395.2 MB, free: 11.97 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 () * Number of clocked 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.0002112/0.5573, allocations: 147.1 kB / 395.4 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.5573, allocations: 15.62 kB / 395.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.02e-05/0.5574, allocations: 28.39 kB / 395.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5574, allocations: 0 / 395.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5574, allocations: 3.938 kB / 395.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5575, allocations: 0 / 395.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.5593, allocations: 0.6829 MB / 396.1 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.5593, allocations: 3.875 kB / 396.1 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.5598, allocations: 54.53 kB / 396.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.5598, allocations: 3.969 kB / 396.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.5599, allocations: 6.766 kB / 396.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.5599, allocations: 3.906 kB / 396.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5599, allocations: 0 / 396.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.5617, allocations: 0.5307 MB / 396.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/0.5618, allocations: 92.55 kB / 396.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.5618, allocations: 13.92 kB / 396.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.5622, allocations: 29.05 kB / 396.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.5623, allocations: 25.81 kB / 396.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.5623, allocations: 7.141 kB / 396.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.5625, allocations: 149.2 kB / 397 MB, free: 11.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5625, allocations: 0 / 397 MB, free: 11.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007773/0.5633, allocations: 130.6 kB / 397.1 MB, free: 11.11 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]) * Number of clocked states: 0 () * 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.001098/0.5644, allocations: 327.7 kB / 397.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.5658, allocations: 353.1 kB / 397.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5658, allocations: 0 / 397.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.5664, allocations: 128.8 kB / 397.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.5667, allocations: 22.78 kB / 398 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.5679, allocations: 0.5458 MB / 398.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.5682, allocations: 0.7465 MB / 399.3 MB, free: 9.852 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.5683, allocations: 27.14 kB / 399.3 MB, free: 9.844 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5683, allocations: 0 / 399.3 MB, free: 9.844 MB / 314.7 MB Notification: Performance of Templates: time 0.01029/0.5786, allocations: 4.414 MB / 403.7 MB, free: 9.199 MB / 314.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile b'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=5 -DSUNDIALS_MINOR_VERSION=4 -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\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp:29:\n./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_\'?\n $PRE_P_noise_P_state_.assign(tmp70);\n ^~~~~~~~~~~~~~~~~~~~~\n _noise_P_state_\n./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.h:214:33: note: \'_noise_P_state_\' declared here\n StatArrayDim1 _noise_P_state_;\n ^\n1 error generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o] Error 1\n'