Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.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.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") [: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.001607/0.001607, allocations: 177 kB / 8.148 MB, free: 2.211 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.674/1.674, allocations: 205.2 MB / 213.8 MB, free: 13.88 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.001217/0.001217, allocations: 97.2 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.584e-06, allocations: 0 / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2703, allocations: 47.56 MB / 361.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4228/0.6932, allocations: 189.9 MB / 0.5388 GB, free: 87.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.6936, allocations: 75.2 kB / 0.5388 GB, free: 87 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.09369/0.7873, allocations: 29.95 MB / 0.5681 GB, free: 64.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.7873, allocations: 4 kB / 0.5681 GB, free: 64.9 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005966/0.788, allocations: 433.6 kB / 0.5685 GB, free: 64.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.788, allocations: 12.03 kB / 0.5685 GB, free: 64.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005963/0.7886, allocations: 39.67 kB / 0.5685 GB, free: 64.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.7889, allocations: 201.2 kB / 0.5687 GB, free: 64.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.7889, allocations: 1.219 kB / 0.5687 GB, free: 64.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.7889, allocations: 8 kB / 0.5687 GB, free: 64.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002818/0.7892, allocations: 104.4 kB / 0.5688 GB, free: 64.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.7895, allocations: 130.3 kB / 0.569 GB, free: 63.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7895, allocations: 0 / 0.569 GB, free: 63.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.7896, allocations: 0 / 0.569 GB, free: 63.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.7896, allocations: 4 kB / 0.569 GB, free: 63.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/0.7904, allocations: 0.6194 MB / 0.5696 GB, free: 63.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.7906, allocations: 76.62 kB / 0.5696 GB, free: 63.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.7907, allocations: 32.48 kB / 0.5697 GB, free: 63.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007106/0.7914, allocations: 0.8514 MB / 0.5705 GB, free: 62.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.7914, allocations: 31.78 kB / 0.5705 GB, free: 62.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 3.787e-06/0.7914, allocations: 4 kB / 0.5705 GB, free: 62.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.001335/0.7928, allocations: 168.4 kB / 0.5707 GB, free: 62.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.7928, allocations: 55.41 kB / 0.5708 GB, free: 61.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.834e-05/0.7929, allocations: 108.5 kB / 0.5709 GB, free: 61.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.793, allocations: 25.7 kB / 0.5709 GB, free: 61.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.793, allocations: 170.2 kB / 0.571 GB, free: 61.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.7931, allocations: 46.55 kB / 0.5711 GB, free: 61.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.7931, allocations: 0 / 0.5711 GB, free: 61.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.912e-05/0.7932, allocations: 318.4 kB / 0.5714 GB, free: 61.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.7933, allocations: 24.19 kB / 0.5714 GB, free: 61.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.958e-05/0.7934, allocations: 63.89 kB / 0.5715 GB, free: 61.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.7944, allocations: 96.02 kB / 0.5716 GB, free: 61.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.7945, allocations: 0 / 0.5716 GB, free: 61.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001242/0.7957, allocations: 189.5 kB / 0.5718 GB, free: 60.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.7958, allocations: 7.984 kB / 0.5718 GB, free: 60.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.7958, allocations: 4 kB / 0.5718 GB, free: 60.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.7958, allocations: 0 / 0.5718 GB, free: 60.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.7961, allocations: 35.92 kB / 0.5718 GB, free: 60.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.7961, allocations: 4 kB / 0.5718 GB, free: 60.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.7962, allocations: 14.72 kB / 0.5718 GB, free: 60.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.7962, allocations: 12 kB / 0.5718 GB, free: 60.87 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.039e-05/0.7963, allocations: 37.8 kB / 0.5719 GB, free: 60.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.7964, allocations: 7.906 kB / 0.5719 GB, free: 60.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.7983, allocations: 349.3 kB / 0.5722 GB, free: 60.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.7984, allocations: 4 kB / 0.5722 GB, free: 60.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7984, allocations: 0 / 0.5722 GB, free: 60.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7984, allocations: 0 / 0.5722 GB, free: 60.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.7999, allocations: 0.4891 MB / 0.5727 GB, free: 60.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.8, allocations: 4 kB / 0.5727 GB, free: 60 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.8002, allocations: 27.42 kB / 0.5727 GB, free: 59.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.8002, allocations: 0 / 0.5727 GB, free: 59.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.8002, allocations: 11.98 kB / 0.5727 GB, free: 59.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.8002, allocations: 0 / 0.5727 GB, free: 59.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.8002, allocations: 3.938 kB / 0.5727 GB, free: 59.96 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001143/0.8014, allocations: 311.7 kB / 0.573 GB, free: 59.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.8015, allocations: 107.3 kB / 0.5731 GB, free: 59.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.8016, allocations: 11.94 kB / 0.5731 GB, free: 59.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.8018, allocations: 3.906 kB / 0.5731 GB, free: 59.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.8018, allocations: 11.97 kB / 0.5732 GB, free: 59.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.8018, allocations: 12 kB / 0.5732 GB, free: 59.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.366e-05/0.8019, allocations: 90.83 kB / 0.5733 GB, free: 59.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006082/0.8025, allocations: 99.42 kB / 0.5734 GB, free: 59.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0006443/0.8032, allocations: 211.5 kB / 0.5736 GB, free: 59.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.8035, allocations: 105.4 kB / 0.5737 GB, free: 59.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8035, allocations: 0 / 0.5737 GB, free: 59.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.8037, allocations: 69.59 kB / 0.5737 GB, free: 58.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.8043, allocations: 43.78 kB / 0.5738 GB, free: 58.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.8047, allocations: 186.9 kB / 0.5739 GB, free: 58.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.8051, allocations: 0.7468 MB / 0.5747 GB, free: 57.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.8052, allocations: 0 / 0.5747 GB, free: 57.98 MB / 394.7 MB Notification: Performance of Templates: time 0.007531/0.8127, allocations: 3.073 MB / 0.5777 GB, free: 54.91 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.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.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:247:26: error: use of undeclared identifier \'poly_Cp_\'\n double tmp32_data[]={poly_Cp_(1), poly_Cp_(2)};\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:247:39: error: use of undeclared identifier \'poly_Cp_\'\n double tmp32_data[]={poly_Cp_(1), poly_Cp_(2)};\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o] Error 1\n'