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.001437/0.001437, allocations: 186.1 kB / 16.4 MB, free: 5.75 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.828/1.828, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001134/0.001134, allocations: 98.78 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003849, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3183, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.4379, allocations: 78.4 MB / 452.9 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.4382, allocations: 75.97 kB / 453 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0299/0.4682, allocations: 6.364 MB / 459.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4682, allocations: 0 / 459.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.4682, allocations: 4 kB / 459.4 MB, free: 11.91 MB / 346.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.001415/0.4697, allocations: 0.5378 MB / 459.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4697, allocations: 8.031 kB / 459.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.47, allocations: 35.7 kB / 460 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.4707, allocations: 271.7 kB / 460.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.4708, allocations: 8 kB / 460.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.4708, allocations: 7.953 kB / 460.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.4711, allocations: 101.6 kB / 460.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.4712, allocations: 3.984 kB / 460.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.4712, allocations: 4 kB / 460.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.4712, allocations: 4 kB / 460.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.4715, allocations: 83.94 kB / 460.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.4726, allocations: 456.3 kB / 460.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.473, allocations: 122.5 kB / 461 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.473, allocations: 0 / 461 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.4734, allocations: 123.4 kB / 461.1 MB, free: 9.996 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.774e-06/0.4734, allocations: 0 / 461.1 MB, free: 9.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007861/0.4742, allocations: 322.3 kB / 461.4 MB, free: 9.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4742, allocations: 55.41 kB / 461.5 MB, free: 9.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006101/0.4748, allocations: 234.9 kB / 461.7 MB, free: 9.355 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.4749, allocations: 33.7 kB / 461.7 MB, free: 9.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.86e-05/0.475, allocations: 170.6 kB / 461.9 MB, free: 9.148 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.4751, allocations: 47.52 kB / 462 MB, free: 9.102 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.4751, allocations: 8 kB / 462 MB, free: 9.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4753, allocations: 318.8 kB / 462.3 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.4755, allocations: 79.95 kB / 462.4 MB, free: 8.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.4758, allocations: 108.9 kB / 462.5 MB, free: 8.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.4761, allocations: 97.17 kB / 462.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.4762, allocations: 3.953 kB / 462.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006834/0.4768, allocations: 242.2 kB / 462.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4769, allocations: 4 kB / 462.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.4769, allocations: 0 / 462.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4769, allocations: 8.031 kB / 462.8 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.4772, allocations: 27.98 kB / 462.8 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.4772, allocations: 0 / 462.8 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.4776, allocations: 31.78 kB / 462.9 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.4776, allocations: 8 kB / 462.9 MB, free: 8.164 MB / 346.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.0001653/0.4778, allocations: 141.7 kB / 463 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.4779, allocations: 23.77 kB / 463 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.4779, allocations: 25.52 kB / 463.1 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.478, allocations: 0 / 463.1 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.478, allocations: 0 / 463.1 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.478, allocations: 0 / 463.1 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.4783, allocations: 233.6 kB / 463.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4783, allocations: 0 / 463.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.4785, allocations: 27.94 kB / 463.3 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4786, allocations: 0 / 463.3 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.4786, allocations: 3.938 kB / 463.3 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-06/0.4786, allocations: 11.98 kB / 463.3 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4786, allocations: 3.938 kB / 463.3 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.4794, allocations: 279 kB / 463.6 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.4795, allocations: 104.9 kB / 463.7 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.4796, allocations: 15.95 kB / 463.7 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.4799, allocations: 24.03 kB / 463.7 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.48, allocations: 7.984 kB / 463.8 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.48, allocations: 4 kB / 463.8 MB, free: 7.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005171/0.4805, allocations: 197.4 kB / 464 MB, free: 6.996 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.695e-06/0.4805, allocations: 192 / 464 MB, free: 6.996 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005835/0.4811, allocations: 123.7 kB / 464.1 MB, free: 6.875 MB / 346.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.001011/0.4822, allocations: 318.4 kB / 464.4 MB, free: 6.582 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005902/0.4828, allocations: 198.5 kB / 464.6 MB, free: 6.383 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4828, allocations: 0 / 464.6 MB, free: 6.383 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.483, allocations: 75.89 kB / 464.7 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.4833, allocations: 23.41 kB / 464.7 MB, free: 6.289 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009174/0.4842, allocations: 430.3 kB / 465.1 MB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.4845, allocations: 0.7283 MB / 465.8 MB, free: 5.082 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.595e-05/0.4846, allocations: 15.44 kB / 465.8 MB, free: 5.066 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.4846, allocations: 0 / 465.8 MB, free: 5.066 MB / 346.7 MB Notification: Performance of Templates: time 0.009064/0.4937, allocations: 3.859 MB / 469.7 MB, free: 1.203 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'