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.UniformNoiseProperties.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.UniformNoiseProperties,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.UniformNoiseProperties") Notification: Performance of loadModel(Modelica): time 2.196/2.196, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003583, allocations: 16 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09812, allocations: 44.5 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4264/0.5246, allocations: 73.71 MB / 382.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/0.525, allocations: 75.78 kB / 382.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02901/0.554, allocations: 4.916 MB / 387.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5541, allocations: 4 kB / 387.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.5541, allocations: 3.875 kB / 387.7 MB, free: 14.28 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.0017/0.5558, allocations: 0.5392 MB / 388.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.5559, allocations: 8.906 kB / 388.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.5563, allocations: 32.73 kB / 388.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.5568, allocations: 242.9 kB / 388.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.5568, allocations: 13 kB / 388.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.743e-05/0.557, allocations: 27.06 kB / 388.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.5581, allocations: 217 kB / 388.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.5581, allocations: 0 / 388.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.5582, allocations: 8.969 kB / 388.8 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.5582, allocations: 3.938 kB / 388.8 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.5593, allocations: 175.7 kB / 388.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.5613, allocations: 0.5897 MB / 389.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.5639, allocations: 381.4 kB / 389.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.5639, allocations: 11.34 kB / 389.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00086/0.5648, allocations: 182 kB / 390.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.597e-06/0.5648, allocations: 0 / 390.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.002411/0.5673, allocations: 498.6 kB / 390.6 MB, free: 13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.5674, allocations: 59.41 kB / 390.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.5678, allocations: 207.7 kB / 390.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.066e-05/0.5679, allocations: 40.14 kB / 390.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.568, allocations: 182.8 kB / 391.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.5681, allocations: 77.48 kB / 391.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.5682, allocations: 10.81 kB / 391.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.5683, allocations: 328.4 kB / 391.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008287/0.5691, allocations: 139.6 kB / 391.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008507/0.57, allocations: 179.3 kB / 391.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/0.5709, allocations: 153.9 kB / 391.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.5709, allocations: 3.953 kB / 391.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001886/0.5728, allocations: 397.5 kB / 392.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.5729, allocations: 4.5 kB / 392.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.5729, allocations: 0 / 392.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.5729, allocations: 3.875 kB / 392.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007152/0.5737, allocations: 79.45 kB / 392.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.5737, allocations: 3.844 kB / 392.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.5741, allocations: 52.91 kB / 392.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.5741, allocations: 15.16 kB / 392.5 MB, free: 12.16 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.000223/0.5744, allocations: 143.6 kB / 392.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.5744, allocations: 19.7 kB / 392.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.58e-05/0.5745, allocations: 27.39 kB / 392.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5746, allocations: 0 / 392.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.5746, allocations: 3.875 kB / 392.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5746, allocations: 7.266 kB / 392.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.5764, allocations: 0.6814 MB / 393.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5765, allocations: 4 kB / 393.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.577, allocations: 50.34 kB / 393.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.577, allocations: 0 / 393.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.577, allocations: 10.81 kB / 393.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.577, allocations: 0 / 393.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5771, allocations: 0 / 393.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.5788, allocations: 0.5369 MB / 393.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.5789, allocations: 99.31 kB / 394 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-05/0.579, allocations: 6.375 kB / 394.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.5794, allocations: 35.19 kB / 394.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/0.5795, allocations: 13.42 kB / 394.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.5795, allocations: 7.438 kB / 394.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.5797, allocations: 152.4 kB / 394.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5797, allocations: 0 / 394.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006097/0.5803, allocations: 95.64 kB / 394.3 MB, free: 11.31 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.0006322/0.581, allocations: 238 kB / 394.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.5822, allocations: 344.1 kB / 394.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5823, allocations: 0 / 394.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005343/0.5828, allocations: 138.5 kB / 395.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.5832, allocations: 27.53 kB / 395.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.5844, allocations: 0.5408 MB / 395.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.5846, allocations: 0.7565 MB / 396.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.5848, allocations: 22.36 kB / 396.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5848, allocations: 0 / 396.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of Templates: time 0.009802/0.5946, allocations: 3.653 MB / 400.1 MB, free: 9.711 MB / 314.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesInitialize.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(tmp47);\n ^~~~~~~~~~~~~~~~~~~~~\n _noise_P_state_\n./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoisePropertiesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.o] Error 1\n'