Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 179.8 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.23/1.23, allocations: 221.4 MB / 230.3 MB, free: 7.723 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.0009426/0.0009425, allocations: 88.72 kB / 281.2 MB, free: 5.473 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.1853/0.1853, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.535e-06, allocations: 0 / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 61.9 MB / 0.4941 GB, free: 1.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/0.5346, allocations: 190.3 MB / 0.6799 GB, free: 2.418 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.535, allocations: 80.61 kB / 0.68 GB, free: 2.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.4049/0.9399, allocations: 46.91 MB / 0.7258 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.94, allocations: 2.688 kB / 0.7258 GB, free: 149.2 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.001267/0.9413, allocations: 0.5869 MB / 0.7264 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.9413, allocations: 16.25 kB / 0.7264 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005483/0.9419, allocations: 53.55 kB / 0.7265 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.9421, allocations: 216.3 kB / 0.7267 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.9422, allocations: 4.812 kB / 0.7267 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.9422, allocations: 8.5 kB / 0.7267 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003878/0.9426, allocations: 214.7 kB / 0.7269 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.9429, allocations: 219 kB / 0.7271 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.943, allocations: 1.625 kB / 0.7271 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.943, allocations: 0.9688 kB / 0.7271 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.943, allocations: 3.969 kB / 0.7271 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.9455, allocations: 3.523 MB / 0.7306 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.9456, allocations: 57.8 kB / 0.7306 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.9457, allocations: 29.55 kB / 0.7306 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/0.9459, allocations: 0.5001 MB / 0.7311 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.9461, allocations: 118.7 kB / 0.7312 GB, free: 144 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.843e-06/0.9461, allocations: 0 / 0.7312 GB, free: 144 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.001025/0.9471, allocations: 226.3 kB / 0.7315 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.9472, allocations: 108.9 kB / 0.7316 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.9473, allocations: 153.2 kB / 0.7317 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.9474, allocations: 26.58 kB / 0.7317 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.9474, allocations: 159.6 kB / 0.7319 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.9475, allocations: 50.36 kB / 0.7319 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.9475, allocations: 0 / 0.7319 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.073e-05/0.9476, allocations: 327.7 kB / 0.7322 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/0.9476, allocations: 44 kB / 0.7323 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.9478, allocations: 176.4 kB / 0.7325 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.9495, allocations: 232.1 kB / 0.7327 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9495, allocations: 1.25 kB / 0.7327 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001836/0.9513, allocations: 387.1 kB / 0.733 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.9514, allocations: 5.312 kB / 0.7331 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.9514, allocations: 4.969 kB / 0.7331 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.9514, allocations: 11.27 kB / 0.7331 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/0.9522, allocations: 123.7 kB / 0.7332 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003888/0.9526, allocations: 0.6086 MB / 0.7338 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.9528, allocations: 8.766 kB / 0.7338 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/0.9529, allocations: 38.83 kB / 0.7338 GB, free: 142 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 0.0001003/0.953, allocations: 117.8 kB / 0.7339 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.953, allocations: 22.81 kB / 0.734 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008226/0.9539, allocations: 301.4 kB / 0.7342 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.9539, allocations: 4 kB / 0.7343 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.9539, allocations: 0 / 0.7343 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.9539, allocations: 4 kB / 0.7343 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.9546, allocations: 462.3 kB / 0.7347 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.9546, allocations: 0 / 0.7347 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/0.955, allocations: 59.8 kB / 0.7348 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.9551, allocations: 4 kB / 0.7348 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.9551, allocations: 12.02 kB / 0.7348 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002685/0.9554, allocations: 0.5924 MB / 0.7353 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9554, allocations: 0 / 0.7353 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000463/0.9558, allocations: 296.2 kB / 0.7356 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.956, allocations: 127.6 kB / 0.7358 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.956, allocations: 0 / 0.7358 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.9562, allocations: 18.53 kB / 0.7358 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.9562, allocations: 7.984 kB / 0.7358 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.9562, allocations: 22.42 kB / 0.7358 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.59e-05/0.9563, allocations: 117.8 kB / 0.7359 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009378/0.9573, allocations: 203.7 kB / 0.7361 GB, free: 139.6 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.0008647/0.9581, allocations: 375.3 kB / 0.7365 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005787/0.9587, allocations: 183 kB / 0.7366 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9587, allocations: 0 / 0.7366 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.959, allocations: 88.56 kB / 0.7367 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.9593, allocations: 29.36 kB / 0.7368 GB, free: 139 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0436/1.003, allocations: 21.28 MB / 0.7575 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/1.004, allocations: 0.8019 MB / 0.7583 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/1.004, allocations: 0 / 0.7583 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.009618/1.013, allocations: 5.663 MB / 0.7638 GB, free: 114 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.o ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.o ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c:307:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_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.Essotherm650_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.Essotherm650_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.Essotherm650_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.Essotherm650_functions.o] Error 1