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.001444/0.001443, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001106, allocations: 86.39 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.914e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3759, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.5544, allocations: 77.64 MB / 440 MB, free: 8.699 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.5547, allocations: 75.95 kB / 440 MB, free: 8.625 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03135/0.5861, allocations: 6.287 MB / 446.3 MB, free: 2.379 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5861, allocations: 4.688 kB / 446.3 MB, free: 2.375 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.5862, allocations: 0 / 446.3 MB, free: 2.375 MB / 331.1 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.001011/0.5872, allocations: 493.1 kB / 446.8 MB, free: 1.852 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5872, allocations: 16.03 kB / 446.8 MB, free: 1.836 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.5875, allocations: 27.7 kB / 446.9 MB, free: 1.809 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.588, allocations: 247.7 kB / 447.1 MB, free: 1.523 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.588, allocations: 4 kB / 447.1 MB, free: 1.52 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.5881, allocations: 7.953 kB / 447.1 MB, free: 1.512 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002345/0.5883, allocations: 77.86 kB / 447.2 MB, free: 1.438 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.5886, allocations: 89.64 kB / 447.3 MB, free: 1.344 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.5886, allocations: 0 / 447.3 MB, free: 1.344 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.5886, allocations: 0 / 447.3 MB, free: 1.344 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5886, allocations: 0 / 447.3 MB, free: 1.344 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.5898, allocations: 417.1 kB / 447.7 MB, free: 0.8984 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.5901, allocations: 102.5 kB / 447.8 MB, free: 0.7891 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.5903, allocations: 56.84 kB / 447.8 MB, free: 0.7305 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.5903, allocations: 0 / 447.8 MB, free: 0.7305 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.5906, allocations: 111.3 kB / 447.9 MB, free: 0.6094 MB / 331.1 MB Notification: Performance of pre-optimization done (n=14): time 1.893e-06/0.5906, allocations: 0 / 447.9 MB, free: 0.6094 MB / 331.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005141/0.5911, allocations: 158.1 kB / 448.1 MB, free: 460 kB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.5912, allocations: 67.39 kB / 448.2 MB, free: 380 kB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.5915, allocations: 195 kB / 448.4 MB, free: 172 kB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.5916, allocations: 37.7 kB / 448.4 MB, free: 128 kB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.5917, allocations: 174.5 kB / 448.6 MB, free: 15.95 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.5918, allocations: 43.59 kB / 448.6 MB, free: 15.91 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/0.5918, allocations: 1.125 kB / 448.6 MB, free: 15.91 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.592, allocations: 318.8 kB / 448.9 MB, free: 15.59 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.5922, allocations: 67.97 kB / 449 MB, free: 15.52 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.5924, allocations: 92.3 kB / 449.1 MB, free: 15.43 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.5928, allocations: 88.08 kB / 449.2 MB, free: 15.34 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5928, allocations: 0 / 449.2 MB, free: 15.34 MB / 347.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006929/0.5935, allocations: 219.9 kB / 449.4 MB, free: 15.12 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.5935, allocations: 8 kB / 449.4 MB, free: 15.11 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.5936, allocations: 0 / 449.4 MB, free: 15.11 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5936, allocations: 0 / 449.4 MB, free: 15.11 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.5939, allocations: 38.97 kB / 449.4 MB, free: 15.08 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.5939, allocations: 0 / 449.4 MB, free: 15.08 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.5943, allocations: 32.83 kB / 449.5 MB, free: 15.05 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.5944, allocations: 15.98 kB / 449.5 MB, free: 15.03 MB / 347.1 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.0001433/0.5945, allocations: 116.7 kB / 449.6 MB, free: 14.91 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.5946, allocations: 23.61 kB / 449.6 MB, free: 14.89 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.5947, allocations: 21.95 kB / 449.6 MB, free: 14.86 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5947, allocations: 4 kB / 449.6 MB, free: 14.86 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5947, allocations: 0 / 449.6 MB, free: 14.86 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5947, allocations: 0 / 449.6 MB, free: 14.86 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.595, allocations: 210.1 kB / 449.8 MB, free: 14.62 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.595, allocations: 0 / 449.8 MB, free: 14.62 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.5953, allocations: 15.98 kB / 449.9 MB, free: 14.6 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.5953, allocations: 5.781 kB / 449.9 MB, free: 14.6 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.5953, allocations: 7.938 kB / 449.9 MB, free: 14.59 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5953, allocations: 0 / 449.9 MB, free: 14.59 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5954, allocations: 0 / 449.9 MB, free: 14.59 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.596, allocations: 258.9 kB / 450.1 MB, free: 14.32 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.5962, allocations: 112.8 kB / 450.2 MB, free: 14.19 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.5962, allocations: 11.98 kB / 450.2 MB, free: 14.18 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.5966, allocations: 19.94 kB / 450.3 MB, free: 14.16 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.5966, allocations: 7.984 kB / 450.3 MB, free: 14.15 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.5967, allocations: 7.984 kB / 450.3 MB, free: 14.14 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002201/0.5969, allocations: 149.5 kB / 450.4 MB, free: 14 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5969, allocations: 4 kB / 450.4 MB, free: 14 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0007097/0.5977, allocations: 107.9 kB / 450.5 MB, free: 13.89 MB / 347.1 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.001174/0.5989, allocations: 319.6 kB / 450.8 MB, free: 13.6 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.5994, allocations: 177.8 kB / 451 MB, free: 13.42 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5994, allocations: 0 / 451 MB, free: 13.42 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.5996, allocations: 55.98 kB / 451.1 MB, free: 13.37 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.5999, allocations: 19.77 kB / 451.1 MB, free: 13.35 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008297/0.6007, allocations: 284.6 kB / 451.4 MB, free: 13.04 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.6012, allocations: 0.7319 MB / 452.1 MB, free: 12.29 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.6013, allocations: 19.44 kB / 452.1 MB, free: 12.27 MB / 347.1 MB Notification: Performance of SimCode: time 3.237e-06/0.6013, allocations: 0 / 452.1 MB, free: 12.27 MB / 347.1 MB Notification: Performance of Templates: time 0.01078/0.6121, allocations: 3.868 MB / 456 MB, free: 8.426 MB / 347.1 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/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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'