Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 185.7 kB / 7.805 MB, free: 2.488 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.019/1.019, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008142/0.0008142, allocations: 90.84 kB / 261.4 MB, free: 13.48 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1524/0.1524, allocations: 43.49 MB / 352.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.334e-06/7.354e-06, allocations: 4 kB / 417.7 MB, free: 40.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2389, allocations: 58.84 MB / 476.6 MB, free: 5.141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3429/0.5819, allocations: 193.6 MB / 0.6544 GB, free: 118.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.5822, allocations: 81.28 kB / 0.6545 GB, free: 118.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.1099/0.6921, allocations: 56.64 MB / 0.7098 GB, free: 91.33 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.6921, allocations: 0 / 0.7098 GB, free: 91.33 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.001184/0.6933, allocations: 0.6251 MB / 0.7104 GB, free: 90.68 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.6934, allocations: 12.03 kB / 0.7104 GB, free: 90.67 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.6938, allocations: 54.81 kB / 0.7105 GB, free: 90.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.694, allocations: 222.6 kB / 0.7107 GB, free: 90.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.6941, allocations: 8 kB / 0.7107 GB, free: 90.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.6941, allocations: 8 kB / 0.7107 GB, free: 90.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002684/0.6944, allocations: 221.7 kB / 0.7109 GB, free: 90.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.6946, allocations: 225.6 kB / 0.7111 GB, free: 89.96 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6946, allocations: 0 / 0.7111 GB, free: 89.96 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.6947, allocations: 4 kB / 0.7111 GB, free: 89.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6947, allocations: 4 kB / 0.7112 GB, free: 89.96 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.6967, allocations: 3.547 MB / 0.7146 GB, free: 85.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.051e-05/0.6968, allocations: 58.69 kB / 0.7147 GB, free: 85.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.6968, allocations: 29.67 kB / 0.7147 GB, free: 85.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.697, allocations: 355.5 kB / 0.715 GB, free: 85.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.6972, allocations: 117.3 kB / 0.7152 GB, free: 85.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.6972, allocations: 0 / 0.7152 GB, free: 85.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009449/0.6981, allocations: 241.7 kB / 0.7154 GB, free: 85.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.6982, allocations: 102.8 kB / 0.7155 GB, free: 84.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.6983, allocations: 161.9 kB / 0.7156 GB, free: 84.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.6983, allocations: 25.7 kB / 0.7157 GB, free: 84.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.6983, allocations: 162.4 kB / 0.7158 GB, free: 84.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.6984, allocations: 43.02 kB / 0.7159 GB, free: 84.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.6984, allocations: 0 / 0.7159 GB, free: 84.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.366e-05/0.6984, allocations: 326.1 kB / 0.7162 GB, free: 84.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.6985, allocations: 35.42 kB / 0.7162 GB, free: 84.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/0.6986, allocations: 181.5 kB / 0.7164 GB, free: 84.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.7002, allocations: 238 kB / 0.7166 GB, free: 83.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7002, allocations: 0 / 0.7166 GB, free: 83.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001756/0.7019, allocations: 398.1 kB / 0.717 GB, free: 83.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.702, allocations: 4 kB / 0.717 GB, free: 83.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.702, allocations: 4 kB / 0.717 GB, free: 83.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.702, allocations: 11.98 kB / 0.717 GB, free: 83.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/0.7026, allocations: 116.6 kB / 0.7171 GB, free: 83.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003007/0.703, allocations: 0.6124 MB / 0.7177 GB, free: 82.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.7031, allocations: 7.938 kB / 0.7177 GB, free: 82.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.7032, allocations: 31.98 kB / 0.7177 GB, free: 82.65 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 7.335e-05/0.7033, allocations: 124 kB / 0.7179 GB, free: 82.53 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.7033, allocations: 15.81 kB / 0.7179 GB, free: 82.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008336/0.7041, allocations: 401.6 kB / 0.7183 GB, free: 82.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.7042, allocations: 7.906 kB / 0.7183 GB, free: 82.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7042, allocations: 0 / 0.7183 GB, free: 82.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7042, allocations: 7.984 kB / 0.7183 GB, free: 82.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.7048, allocations: 460.1 kB / 0.7187 GB, free: 81.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7048, allocations: 4 kB / 0.7187 GB, free: 81.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.7053, allocations: 63.39 kB / 0.7188 GB, free: 81.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.7053, allocations: 4 kB / 0.7188 GB, free: 81.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.7053, allocations: 4 kB / 0.7188 GB, free: 81.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002451/0.7055, allocations: 0.5932 MB / 0.7194 GB, free: 80.99 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7056, allocations: 7.922 kB / 0.7194 GB, free: 80.98 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004204/0.706, allocations: 287.2 kB / 0.7196 GB, free: 80.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.7061, allocations: 134.7 kB / 0.7198 GB, free: 80.56 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.7061, allocations: 0 / 0.7198 GB, free: 80.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.7063, allocations: 7.984 kB / 0.7198 GB, free: 80.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.7063, allocations: 4 kB / 0.7198 GB, free: 80.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.7063, allocations: 23.61 kB / 0.7198 GB, free: 80.53 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.53e-05/0.7064, allocations: 117.8 kB / 0.7199 GB, free: 80.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008209/0.7072, allocations: 262.3 kB / 0.7202 GB, free: 80.18 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.001013/0.7083, allocations: 477.7 kB / 0.7206 GB, free: 79.72 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004836/0.7088, allocations: 175.8 kB / 0.7208 GB, free: 79.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7088, allocations: 4.375 kB / 0.7208 GB, free: 79.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.709, allocations: 81.7 kB / 0.7209 GB, free: 79.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.7093, allocations: 34.09 kB / 0.7209 GB, free: 79.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03825/0.7476, allocations: 21.75 MB / 0.7422 GB, free: 58.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/0.748, allocations: 0.7902 MB / 0.7429 GB, free: 57.85 MB / 474.7 MB Notification: Performance of SimCode: time 1.262e-06/0.748, allocations: 3.938 kB / 0.7429 GB, free: 57.84 MB / 474.7 MB Notification: Performance of Templates: time 0.009787/0.7578, allocations: 6.535 MB / 0.7493 GB, free: 51.31 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.o ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.c clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.o ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:421:86: error: use of undeclared identifier '_poly_Cp' array_alloc_scalar_real_array(&tmp1, 2, (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 1))), (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 2)))); ^ ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:421:191: error: use of undeclared identifier '_poly_Cp' array_alloc_scalar_real_array(&tmp1, 2, (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 1))), (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 2)))); ^ ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:1014:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:1014:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:1014:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:1269:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:1269:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:1269:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 2 warnings and 2 errors generated. make: *** [: ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.o] Error 1