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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.00164, allocations: 175.8 kB / 8.152 MB, free: 2.18 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.659/1.659, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.001256/0.001256, allocations: 90.48 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.557e-06, allocations: 0 / 314.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2674, allocations: 47.55 MB / 361.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.3918, allocations: 77.57 MB / 439.4 MB, free: 8.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.3921, allocations: 74.03 kB / 439.5 MB, free: 8.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03018/0.4223, allocations: 5.933 MB / 445.4 MB, free: 2.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.4223, allocations: 0 / 445.4 MB, free: 2.539 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.001053/0.4234, allocations: 494.2 kB / 445.9 MB, free: 2.012 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4235, allocations: 9.156 kB / 445.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.4238, allocations: 35.69 kB / 445.9 MB, free: 1.969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.4242, allocations: 259.6 kB / 446.2 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.4243, allocations: 0 / 446.2 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.4243, allocations: 4 kB / 446.2 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002478/0.4246, allocations: 71.89 kB / 446.3 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.4248, allocations: 94.2 kB / 446.4 MB, free: 1.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4249, allocations: 0 / 446.4 MB, free: 1.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.4249, allocations: 4 kB / 446.4 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.4249, allocations: 0 / 446.4 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009114/0.4258, allocations: 401 kB / 446.8 MB, free: 1.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.4261, allocations: 92.91 kB / 446.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.4263, allocations: 56.84 kB / 446.9 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.4263, allocations: 0 / 446.9 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.4266, allocations: 107.4 kB / 447 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.4266, allocations: 0 / 447 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004779/0.4271, allocations: 145.4 kB / 447.1 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.4271, allocations: 63.38 kB / 447.2 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.4275, allocations: 202.9 kB / 447.4 MB, free: 376 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.4275, allocations: 40.03 kB / 447.4 MB, free: 332 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.4276, allocations: 154.6 kB / 447.6 MB, free: 176 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.4277, allocations: 39.59 kB / 447.6 MB, free: 136 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.4277, allocations: 0 / 447.6 MB, free: 136 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4279, allocations: 326.7 kB / 448 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.4281, allocations: 71.97 kB / 448 MB, free: 15.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.4283, allocations: 92.31 kB / 448.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.4287, allocations: 100.1 kB / 448.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4288, allocations: 0 / 448.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007011/0.4295, allocations: 223.5 kB / 448.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4295, allocations: 4 kB / 448.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.4295, allocations: 4 kB / 448.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4296, allocations: 0 / 448.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.4299, allocations: 31.92 kB / 448.5 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4299, allocations: 0 / 448.5 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.4301, allocations: 19.81 kB / 448.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.4301, allocations: 11.98 kB / 448.5 MB, free: 15.25 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 () * 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.0001025/0.4302, allocations: 45.3 kB / 448.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.4303, allocations: 15.81 kB / 448.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.555e-05/0.4304, allocations: 21.45 kB / 448.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4304, allocations: 4 kB / 448.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4304, allocations: 0 / 448.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4305, allocations: 0 / 448.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.4308, allocations: 214 kB / 448.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4308, allocations: 0 / 448.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.431, allocations: 17.77 kB / 448.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.4311, allocations: 5.438 kB / 448.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.4311, allocations: 3.984 kB / 448.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4311, allocations: 0 / 448.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4311, allocations: 3.906 kB / 448.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006222/0.4317, allocations: 245.8 kB / 449.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.4319, allocations: 116.9 kB / 449.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.432, allocations: 4 kB / 449.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.4323, allocations: 15.92 kB / 449.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.4324, allocations: 11.98 kB / 449.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.4324, allocations: 7.984 kB / 449.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002196/0.4327, allocations: 153.5 kB / 449.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006067/0.4333, allocations: 107.9 kB / 449.5 MB, free: 14.2 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]) * 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.001317/0.4346, allocations: 343.7 kB / 449.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00056/0.4352, allocations: 181.8 kB / 450 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4352, allocations: 3.938 kB / 450 MB, free: 13.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.4354, allocations: 59.98 kB / 450 MB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.4357, allocations: 24.67 kB / 450.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009809/0.4367, allocations: 292.6 kB / 450.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.4372, allocations: 0.7505 MB / 451.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of SimCode: time 2.424e-06/0.4372, allocations: 4 kB / 451.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of Templates: time 0.009812/0.447, allocations: 3.806 MB / 454.9 MB, free: 8.723 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/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:237:3: error: use of undeclared identifier \'$PRE_P_whiteNoise_P_state_\'; did you mean \'_whiteNoise_P_state_\'?\n $PRE_P_whiteNoise_P_state_=tmp58;\n ^~~~~~~~~~~~~~~~~~~~~~~~~~\n _whiteNoise_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.h:251:34: 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'