Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002416/0.002416, allocations: 172.7 kB / 8.147 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.2 MB / 213.8 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001745/0.001745, allocations: 98.28 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2567/0.2567, allocations: 43.48 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.788e-06/9.919e-06, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2911, allocations: 58.83 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4984/0.7896, allocations: 193.6 MB / 0.6544 GB, free: 112.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.7899, allocations: 82.27 kB / 0.6545 GB, free: 112.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.1989/0.9889, allocations: 56.65 MB / 0.7098 GB, free: 91.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.989, allocations: 4 kB / 0.7098 GB, free: 91.67 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001623/0.9906, allocations: 0.6238 MB / 0.7104 GB, free: 91.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.9907, allocations: 8.031 kB / 0.7104 GB, free: 91.01 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006987/0.9914, allocations: 51.38 kB / 0.7105 GB, free: 90.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.9917, allocations: 216.8 kB / 0.7107 GB, free: 90.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.9917, allocations: 4 kB / 0.7107 GB, free: 90.72 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.9918, allocations: 12 kB / 0.7107 GB, free: 90.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004353/0.9922, allocations: 222.7 kB / 0.7109 GB, free: 90.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.9926, allocations: 223.2 kB / 0.7111 GB, free: 90.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.9926, allocations: 3.938 kB / 0.7111 GB, free: 90.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.9927, allocations: 0 / 0.7111 GB, free: 90.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.9927, allocations: 8 kB / 0.7111 GB, free: 90.31 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/0.9958, allocations: 3.536 MB / 0.7146 GB, free: 86.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.996, allocations: 64.38 kB / 0.7147 GB, free: 86.26 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.9961, allocations: 24.55 kB / 0.7147 GB, free: 86.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.9964, allocations: 363.7 kB / 0.715 GB, free: 85.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.9967, allocations: 112.9 kB / 0.7151 GB, free: 85.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 2.404e-06/0.9967, allocations: 4 kB / 0.7151 GB, free: 85.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.00152/0.9982, allocations: 242.4 kB / 0.7154 GB, free: 85.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.9983, allocations: 106.8 kB / 0.7155 GB, free: 85.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.9984, allocations: 149.6 kB / 0.7156 GB, free: 85.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.9985, allocations: 29.7 kB / 0.7156 GB, free: 85.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.9986, allocations: 232.2 kB / 0.7159 GB, free: 84.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.9986, allocations: 46.45 kB / 0.7159 GB, free: 84.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/0.9987, allocations: 4.062 kB / 0.7159 GB, free: 84.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.9987, allocations: 318.5 kB / 0.7162 GB, free: 84.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.9988, allocations: 38.73 kB / 0.7163 GB, free: 84.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.999, allocations: 177.1 kB / 0.7164 GB, free: 84.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/1.002, allocations: 237.2 kB / 0.7166 GB, free: 84.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.002, allocations: 4.281 kB / 0.7167 GB, free: 84.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002961/1.005, allocations: 394.9 kB / 0.717 GB, free: 83.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.005, allocations: 4 kB / 0.717 GB, free: 83.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.005, allocations: 11.88 kB / 0.717 GB, free: 83.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/1.005, allocations: 8 kB / 0.717 GB, free: 83.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/1.006, allocations: 120 kB / 0.7172 GB, free: 83.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004792/1.006, allocations: 0.6132 MB / 0.7178 GB, free: 82.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/1.007, allocations: 11.94 kB / 0.7178 GB, free: 82.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/1.007, allocations: 28 kB / 0.7178 GB, free: 82.94 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.007, allocations: 45.38 kB / 0.7178 GB, free: 82.89 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/1.007, allocations: 19.75 kB / 0.7179 GB, free: 82.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/1.008, allocations: 398 kB / 0.7182 GB, free: 82.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/1.008, allocations: 4 kB / 0.7182 GB, free: 82.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.008, allocations: 0 / 0.7182 GB, free: 82.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/1.008, allocations: 0 / 0.7182 GB, free: 82.49 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/1.01, allocations: 470.2 kB / 0.7187 GB, free: 82.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.01, allocations: 3.906 kB / 0.7187 GB, free: 82.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/1.01, allocations: 63.69 kB / 0.7188 GB, free: 81.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/1.01, allocations: 4 kB / 0.7188 GB, free: 81.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/1.01, allocations: 4 kB / 0.7188 GB, free: 81.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003882/1.011, allocations: 0.5937 MB / 0.7193 GB, free: 81.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.011, allocations: 0 / 0.7193 GB, free: 81.35 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007092/1.012, allocations: 294 kB / 0.7196 GB, free: 81.06 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/1.012, allocations: 136.2 kB / 0.7198 GB, free: 80.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/1.012, allocations: 0 / 0.7198 GB, free: 80.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/1.012, allocations: 7.906 kB / 0.7198 GB, free: 80.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/1.012, allocations: 7.984 kB / 0.7198 GB, free: 80.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/1.012, allocations: 23.8 kB / 0.7198 GB, free: 80.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001001/1.012, allocations: 114.5 kB / 0.7199 GB, free: 80.78 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001328/1.014, allocations: 262.8 kB / 0.7202 GB, free: 80.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001567/1.015, allocations: 472.8 kB / 0.7206 GB, free: 80.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009015/1.016, allocations: 174.7 kB / 0.7208 GB, free: 79.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.016, allocations: 0 / 0.7208 GB, free: 79.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/1.017, allocations: 89.33 kB / 0.7209 GB, free: 79.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/1.017, allocations: 23.67 kB / 0.7209 GB, free: 79.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08544/1.103, allocations: 21.78 MB / 0.7422 GB, free: 59.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007726/1.103, allocations: 0.7941 MB / 0.7429 GB, free: 59.11 MB / 474.7 MB Notification: Performance of SimCode: time 2.535e-06/1.103, allocations: 0 / 0.7429 GB, free: 59.11 MB / 474.7 MB Notification: Performance of Templates: time 0.01601/1.119, allocations: 7.164 MB / 0.7499 GB, free: 51.95 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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=7 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650CalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650CalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650CalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650Functions.cpp:424:26: error: use of undeclared identifier \'poly_Cp_\'\n double tmp43_data[]={poly_Cp_(1), poly_Cp_(2)};\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650Functions.cpp:424:39: error: use of undeclared identifier \'poly_Cp_\'\n double tmp43_data[]={poly_Cp_(1), poly_Cp_(2)};\n ^\n2 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650CalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650CalcHelperMain.o] Error 1\n'