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.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadModel(Modelica): time 2.104/2.104, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003504, allocations: 8 kB / 264.5 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1162, allocations: 44.5 MB / 309 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.513/0.6293, allocations: 74.2 MB / 383.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.6297, allocations: 77.64 kB / 383.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02908/0.6588, allocations: 6.348 MB / 389.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.6588, allocations: 0 / 389.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.6589, allocations: 11.84 kB / 389.6 MB, free: 14.23 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001511/0.6604, allocations: 0.5411 MB / 390.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.6604, allocations: 7.781 kB / 390.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.6607, allocations: 38 kB / 390.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006539/0.6614, allocations: 271 kB / 390.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.6614, allocations: 3.875 kB / 390.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.6615, allocations: 7.688 kB / 390.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.6618, allocations: 110.7 kB / 390.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.6618, allocations: 0 / 390.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.6618, allocations: 7.062 kB / 390.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.6618, allocations: 7.812 kB / 390.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.6621, allocations: 79.03 kB / 390.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009878/0.6631, allocations: 449.3 kB / 391.1 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.6636, allocations: 129.8 kB / 391.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.6636, allocations: 1.344 kB / 391.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.6639, allocations: 119 kB / 391.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.6639, allocations: 0 / 391.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007539/0.6647, allocations: 319.1 kB / 391.7 MB, free: 13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.6647, allocations: 61.78 kB / 391.7 MB, free: 12.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/0.6653, allocations: 250.5 kB / 392 MB, free: 12.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.6654, allocations: 37.08 kB / 392 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.6655, allocations: 175.1 kB / 392.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.6655, allocations: 40.47 kB / 392.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.6656, allocations: 6.938 kB / 392.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.966e-05/0.6656, allocations: 320.8 kB / 392.5 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.6659, allocations: 81.81 kB / 392.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.6662, allocations: 114.7 kB / 392.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.6664, allocations: 96.39 kB / 392.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6665, allocations: 0 / 392.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006223/0.6671, allocations: 235.3 kB / 393 MB, free: 12.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6671, allocations: 3.875 kB / 393 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.6671, allocations: 3.906 kB / 393 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.6672, allocations: 4 kB / 393.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.6675, allocations: 32.73 kB / 393.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6675, allocations: 3.938 kB / 393.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.6678, allocations: 30.62 kB / 393.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.6679, allocations: 6.547 kB / 393.1 MB, free: 12.22 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.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * 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.0001741/0.6681, allocations: 152.7 kB / 393.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.6681, allocations: 21.38 kB / 393.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.6682, allocations: 22.45 kB / 393.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6682, allocations: 0 / 393.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6682, allocations: 3.938 kB / 393.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6682, allocations: 0 / 393.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.6685, allocations: 242.5 kB / 393.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6685, allocations: 0 / 393.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.6687, allocations: 14.12 kB / 393.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.6687, allocations: 6.422 kB / 393.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.6688, allocations: 11.5 kB / 393.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6688, allocations: 0 / 393.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6688, allocations: 0 / 393.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006774/0.6695, allocations: 288.4 kB / 393.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.6696, allocations: 118.7 kB / 394 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.6697, allocations: 7.438 kB / 394 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.67, allocations: 27.72 kB / 394 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.6701, allocations: 10.66 kB / 394 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.6701, allocations: 2.672 kB / 394 MB, free: 11.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004779/0.6706, allocations: 186.7 kB / 394.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6706, allocations: 0 / 394.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006636/0.6713, allocations: 117.9 kB / 394.3 MB, free: 11.56 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001033/0.6723, allocations: 319.8 kB / 394.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005449/0.6729, allocations: 203.2 kB / 394.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6729, allocations: 0 / 394.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.6731, allocations: 66.03 kB / 394.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.6733, allocations: 27.17 kB / 394.9 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/0.6742, allocations: 428.4 kB / 395.3 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.6744, allocations: 0.7316 MB / 396.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.6745, allocations: 15.16 kB / 396.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.6745, allocations: 0 / 396.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of Templates: time 0.00853/0.6831, allocations: 3.852 MB / 399.9 MB, free: 9.996 MB / 314.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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.DrydenContinuousTurbulenceCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceInitialize.cpp:226:3: error: use of undeclared identifier \'$PRE_P_whiteNoise_P_state_\'; did you mean \'_whiteNoise_P_state_\'?\n $PRE_P_whiteNoise_P_state_.assign(tmp58);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~\n _whiteNoise_P_state_\n./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.h:199:33: note: \'_whiteNoise_P_state_\' declared here\n StatArrayDim1 _whiteNoise_P_state_;\n ^\n1 error generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.o] Error 1\n'