Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") 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.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002462/0.002462, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 82.61 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.121e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09759/0.09765, allocations: 47.58 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.5058, allocations: 78.29 MB / 447.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.5062, allocations: 69.59 kB / 447.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0328/0.539, allocations: 6.327 MB / 453.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5391, allocations: 0 / 453.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.5391, allocations: 4 kB / 453.8 MB, free: 9.387 MB / 330.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.001146/0.5403, allocations: 0.4888 MB / 454.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.5404, allocations: 8.031 kB / 454.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003099/0.5407, allocations: 31.7 kB / 454.3 MB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.5412, allocations: 240.6 kB / 454.5 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.5412, allocations: 11.05 kB / 454.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.5413, allocations: 7.953 kB / 454.6 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.5416, allocations: 105.6 kB / 454.7 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.5416, allocations: 0 / 454.7 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.5416, allocations: 7.297 kB / 454.7 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.5417, allocations: 3.938 kB / 454.7 MB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.5419, allocations: 64.34 kB / 454.7 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.5432, allocations: 444.4 kB / 455.2 MB, free: 7.977 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.5436, allocations: 114.9 kB / 455.3 MB, free: 7.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.5438, allocations: 53.59 kB / 455.3 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.5438, allocations: 0 / 455.3 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.5441, allocations: 115.7 kB / 455.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.224e-06/0.5441, allocations: 0 / 455.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005887/0.5447, allocations: 168.6 kB / 455.6 MB, free: 7.598 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.5448, allocations: 55.41 kB / 455.7 MB, free: 7.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.5452, allocations: 208.7 kB / 455.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.5453, allocations: 35.95 kB / 455.9 MB, free: 7.312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.5454, allocations: 175.9 kB / 456.1 MB, free: 7.156 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.5455, allocations: 38.41 kB / 456.1 MB, free: 7.125 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.5456, allocations: 6.75 kB / 456.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5457, allocations: 321.8 kB / 456.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.5459, allocations: 72.09 kB / 456.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.5462, allocations: 97.25 kB / 456.6 MB, free: 6.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.5465, allocations: 91.11 kB / 456.7 MB, free: 6.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5465, allocations: 0 / 456.7 MB, free: 6.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006137/0.5471, allocations: 223.6 kB / 456.9 MB, free: 6.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5472, allocations: 8 kB / 456.9 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.5472, allocations: 4.125 kB / 456.9 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.5472, allocations: 3.938 kB / 456.9 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.5476, allocations: 35.86 kB / 457 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.5476, allocations: 0 / 457 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.548, allocations: 40.47 kB / 457 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.548, allocations: 7.812 kB / 457 MB, free: 6.352 MB / 330.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 () * 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.0001554/0.5482, allocations: 124.6 kB / 457.1 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.5483, allocations: 23.72 kB / 457.2 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.492e-05/0.5484, allocations: 20.91 kB / 457.2 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.5484, allocations: 3.984 kB / 457.2 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.5484, allocations: 0 / 457.2 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.5484, allocations: 3.984 kB / 457.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.5488, allocations: 240.7 kB / 457.4 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.5488, allocations: 3.953 kB / 457.4 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.549, allocations: 19.94 kB / 457.4 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.5491, allocations: 3.984 kB / 457.4 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.5491, allocations: 4 kB / 457.4 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.5491, allocations: 0 / 457.4 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5491, allocations: 4 kB / 457.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.5498, allocations: 263.4 kB / 457.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.55, allocations: 120.7 kB / 457.8 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.55, allocations: 7.938 kB / 457.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.5503, allocations: 19.97 kB / 457.9 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.5504, allocations: 12.05 kB / 457.9 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.5505, allocations: 4 kB / 457.9 MB, free: 5.508 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002481/0.5507, allocations: 163.8 kB / 458 MB, free: 5.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5507, allocations: 0 / 458 MB, free: 5.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000646/0.5514, allocations: 115.4 kB / 458.1 MB, free: 5.27 MB / 330.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]) * 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.00111/0.5525, allocations: 314.6 kB / 458.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000565/0.5531, allocations: 190.3 kB / 458.6 MB, free: 4.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5531, allocations: 8.062 kB / 458.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.5533, allocations: 59.17 kB / 458.7 MB, free: 4.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.5536, allocations: 19.34 kB / 458.7 MB, free: 4.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008518/0.5545, allocations: 294.4 kB / 459 MB, free: 4.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.5548, allocations: 0.7283 MB / 459.7 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.555, allocations: 23.44 kB / 459.8 MB, free: 3.695 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.555, allocations: 0 / 459.8 MB, free: 3.695 MB / 330.7 MB Notification: Performance of Templates: time 0.01049/0.5655, allocations: 3.852 MB / 463.6 MB, free: 15.85 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile make -j1 -f Modelica_3.2.3_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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_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.3_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.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.o] Error 1\n'