Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") [: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 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 179.4 kB / 8.519 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 221.4 MB / 230.3 MB, free: 7.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008965, allocations: 88.73 kB / 281.2 MB, free: 5.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1828/0.1828, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.035e-06, allocations: 224 / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 61.91 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3993/0.5181, allocations: 190.3 MB / 0.6799 GB, free: 2.391 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5184, allocations: 83.89 kB / 0.68 GB, free: 2.309 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.312/0.8305, allocations: 44.5 MB / 0.7235 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.8305, allocations: 2.156 kB / 0.7235 GB, free: 165.6 MB / 0.4948 GB 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.00118/0.8317, allocations: 0.5992 MB / 0.7241 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.8318, allocations: 9.188 kB / 0.7241 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005391/0.8323, allocations: 45.55 kB / 0.7241 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.8326, allocations: 217.5 kB / 0.7243 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.8326, allocations: 5.344 kB / 0.7243 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.8326, allocations: 9.469 kB / 0.7243 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003194/0.8329, allocations: 213.2 kB / 0.7245 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.8332, allocations: 217.4 kB / 0.7248 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.8332, allocations: 0 / 0.7248 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.8333, allocations: 5.156 kB / 0.7248 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.8333, allocations: 5.375 kB / 0.7248 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.8354, allocations: 3.5 MB / 0.7282 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.8355, allocations: 54.83 kB / 0.7282 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.8356, allocations: 28.92 kB / 0.7283 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.8358, allocations: 0.5015 MB / 0.7288 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.836, allocations: 120 kB / 0.7289 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.836, allocations: 0 / 0.7289 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0009642/0.8369, allocations: 226.1 kB / 0.7291 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.837, allocations: 104.9 kB / 0.7292 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.8371, allocations: 153.1 kB / 0.7293 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.8371, allocations: 26.8 kB / 0.7294 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.8372, allocations: 161.5 kB / 0.7295 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.8372, allocations: 46.2 kB / 0.7296 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.8373, allocations: 0 / 0.7296 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.8373, allocations: 333.9 kB / 0.7299 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/0.8374, allocations: 39.67 kB / 0.7299 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.8375, allocations: 177 kB / 0.7301 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.8391, allocations: 221.8 kB / 0.7303 GB, free: 158.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8391, allocations: 1.062 kB / 0.7303 GB, free: 158.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001767/0.8409, allocations: 382.7 kB / 0.7307 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.8409, allocations: 6.719 kB / 0.7307 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.8409, allocations: 9.156 kB / 0.7307 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.8409, allocations: 8.125 kB / 0.7307 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/0.8417, allocations: 119.3 kB / 0.7308 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003425/0.842, allocations: 0.608 MB / 0.7314 GB, free: 158 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.8422, allocations: 4.188 kB / 0.7314 GB, free: 158 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.8423, allocations: 34.95 kB / 0.7314 GB, free: 158 MB / 0.4948 GB 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 8.381e-05/0.8424, allocations: 117.5 kB / 0.7315 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.8424, allocations: 15.75 kB / 0.7316 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008274/0.8433, allocations: 289.2 kB / 0.7318 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.8433, allocations: 4.281 kB / 0.7318 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.8433, allocations: 0 / 0.7318 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.8433, allocations: 3.984 kB / 0.7318 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006932/0.844, allocations: 456.1 kB / 0.7323 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.844, allocations: 3.984 kB / 0.7323 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004695/0.8445, allocations: 70.45 kB / 0.7323 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.8445, allocations: 8.844 kB / 0.7323 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.8445, allocations: 7.328 kB / 0.7324 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002707/0.8448, allocations: 0.5898 MB / 0.7329 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.8448, allocations: 1.125 kB / 0.7329 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004873/0.8453, allocations: 290.8 kB / 0.7332 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.8454, allocations: 125.2 kB / 0.7333 GB, free: 156.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.8455, allocations: 0.9688 kB / 0.7333 GB, free: 156.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.8456, allocations: 6.031 kB / 0.7333 GB, free: 156.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.8457, allocations: 13.33 kB / 0.7334 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.8457, allocations: 16.59 kB / 0.7334 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.453e-05/0.8458, allocations: 127.2 kB / 0.7335 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009589/0.8468, allocations: 208.1 kB / 0.7337 GB, free: 156.2 MB / 0.4948 GB 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.001098/0.8479, allocations: 364.7 kB / 0.734 GB, free: 156 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005687/0.8484, allocations: 168.7 kB / 0.7342 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8485, allocations: 4 kB / 0.7342 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.8488, allocations: 88.27 kB / 0.7343 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.8491, allocations: 31.02 kB / 0.7343 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03961/0.8887, allocations: 19.81 MB / 0.7537 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.8891, allocations: 0.7902 MB / 0.7544 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.8891, allocations: 0 / 0.7544 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.008825/0.8979, allocations: 5.621 MB / 0.7599 GB, free: 131 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile clang -fPIC -falign-functions -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47 -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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.o ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.c clang -fPIC -falign-functions -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47 -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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.o ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:307:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:307:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:307:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:812: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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:812: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)))); ^ 1 warning and 2 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.o] Error 1