Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0008877/0.0008878, 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.02/1.02, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0008405/0.0008405, allocations: 90.86 kB / 261.4 MB, free: 13.54 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.1573/0.1573, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.051e-06/6.061e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2329, allocations: 58.84 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3503/0.5832, allocations: 193.6 MB / 0.6544 GB, free: 143.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.5835, allocations: 84.64 kB / 0.6545 GB, free: 143.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.102/0.6854, allocations: 54.24 MB / 0.7075 GB, free: 99.52 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.6855, allocations: 0 / 0.7075 GB, free: 99.52 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.0009867/0.6865, allocations: 0.6225 MB / 0.7081 GB, free: 98.85 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.6865, allocations: 8.031 kB / 0.7081 GB, free: 98.84 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004303/0.6869, allocations: 55.77 kB / 0.7081 GB, free: 98.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.6872, allocations: 226.7 kB / 0.7084 GB, free: 98.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.6872, allocations: 4 kB / 0.7084 GB, free: 98.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.6872, allocations: 12 kB / 0.7084 GB, free: 98.51 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002582/0.6875, allocations: 215.6 kB / 0.7086 GB, free: 98.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.6877, allocations: 224.7 kB / 0.7088 GB, free: 98.04 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.6877, allocations: 0 / 0.7088 GB, free: 98.04 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.6878, allocations: 7.906 kB / 0.7088 GB, free: 98.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6878, allocations: 4 kB / 0.7088 GB, free: 98.03 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.6897, allocations: 3.517 MB / 0.7122 GB, free: 93.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.967e-05/0.6898, allocations: 49.72 kB / 0.7123 GB, free: 93.88 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.6899, allocations: 28.84 kB / 0.7123 GB, free: 93.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.6901, allocations: 356.9 kB / 0.7127 GB, free: 93.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.6902, allocations: 114 kB / 0.7128 GB, free: 93.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.6902, allocations: 0 / 0.7128 GB, free: 93.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009167/0.6912, allocations: 236.6 kB / 0.713 GB, free: 93.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.6912, allocations: 110.9 kB / 0.7131 GB, free: 92.92 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/0.6913, allocations: 155.7 kB / 0.7132 GB, free: 92.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.6913, allocations: 29.7 kB / 0.7133 GB, free: 92.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.6914, allocations: 159.4 kB / 0.7134 GB, free: 92.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.6914, allocations: 47.36 kB / 0.7135 GB, free: 92.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.6914, allocations: 0 / 0.7135 GB, free: 92.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.6915, allocations: 322.8 kB / 0.7138 GB, free: 92.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.6915, allocations: 36 kB / 0.7138 GB, free: 92.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.004e-05/0.6916, allocations: 179.2 kB / 0.714 GB, free: 91.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.6931, allocations: 227.7 kB / 0.7142 GB, free: 91.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6931, allocations: 0 / 0.7142 GB, free: 91.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001688/0.6948, allocations: 388.8 kB / 0.7146 GB, free: 91.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.6949, allocations: 4.656 kB / 0.7146 GB, free: 91.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6949, allocations: 7.984 kB / 0.7146 GB, free: 91.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6949, allocations: 12 kB / 0.7146 GB, free: 91.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006451/0.6955, allocations: 120 kB / 0.7147 GB, free: 91.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003004/0.6959, allocations: 0.6093 MB / 0.7153 GB, free: 90.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.696, allocations: 8.094 kB / 0.7153 GB, free: 90.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.6961, allocations: 31.98 kB / 0.7153 GB, free: 90.5 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.277e-05/0.6961, allocations: 124 kB / 0.7155 GB, free: 90.37 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.6962, allocations: 15.81 kB / 0.7155 GB, free: 90.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007852/0.697, allocations: 384.2 kB / 0.7158 GB, free: 89.97 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.697, allocations: 4 kB / 0.7158 GB, free: 89.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.697, allocations: 3.938 kB / 0.7158 GB, free: 89.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.697, allocations: 3.906 kB / 0.7158 GB, free: 89.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.6976, allocations: 479.6 kB / 0.7163 GB, free: 89.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6976, allocations: 0 / 0.7163 GB, free: 89.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.6981, allocations: 55.98 kB / 0.7164 GB, free: 89.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.6981, allocations: 0 / 0.7164 GB, free: 89.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.6981, allocations: 7.984 kB / 0.7164 GB, free: 89.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002622/0.6984, allocations: 0.5938 MB / 0.7169 GB, free: 88.76 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6984, allocations: 7.891 kB / 0.717 GB, free: 88.75 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004308/0.6988, allocations: 286.8 kB / 0.7172 GB, free: 88.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.6989, allocations: 136.8 kB / 0.7174 GB, free: 88.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.699, allocations: 3.906 kB / 0.7174 GB, free: 88.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.6992, allocations: 4 kB / 0.7174 GB, free: 88.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.6992, allocations: 7.984 kB / 0.7174 GB, free: 88.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.6992, allocations: 12 kB / 0.7174 GB, free: 88.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.003e-05/0.6993, allocations: 127.2 kB / 0.7175 GB, free: 88.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001005/0.7003, allocations: 251.7 kB / 0.7177 GB, free: 87.9 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.0009901/0.7013, allocations: 466.9 kB / 0.7182 GB, free: 87.44 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.7018, allocations: 180.7 kB / 0.7184 GB, free: 87.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7018, allocations: 0 / 0.7184 GB, free: 87.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.7021, allocations: 83.89 kB / 0.7184 GB, free: 87.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.7023, allocations: 28.36 kB / 0.7185 GB, free: 87.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03604/0.7384, allocations: 20.27 MB / 0.7383 GB, free: 66.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.7388, allocations: 0.7902 MB / 0.739 GB, free: 65.98 MB / 474.7 MB Notification: Performance of SimCode: time 9.12e-07/0.7388, allocations: 0 / 0.739 GB, free: 65.98 MB / 474.7 MB Notification: Performance of Templates: time 0.008999/0.7478, allocations: 6.505 MB / 0.7454 GB, free: 59.48 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.o ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.o ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_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.Glycol47_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.Glycol47_functions.c:1014:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_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.Glycol47_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.Glycol47_functions.c:1269:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_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.Glycol47_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.Glycol47_functions.o] Error 1