Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001572/0.001572, allocations: 199.2 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 225.5 MB / 234.4 MB, free: 3.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009767/0.0009767, allocations: 89.72 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 45.14 MB / 383.3 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.379e-05/1.381e-05, allocations: 4 kB / 452.6 MB, free: 76.23 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 63.24 MB / 0.5038 GB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.463/0.5861, allocations: 191.4 MB / 0.6907 GB, free: 12.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.5864, allocations: 82.5 kB / 0.6907 GB, free: 12.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.1017/0.6881, allocations: 44.92 MB / 0.7346 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.6882, allocations: 0 / 0.7346 GB, free: 3.488 MB / 0.5105 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.001225/0.6894, allocations: 0.5875 MB / 0.7352 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.6895, allocations: 12.03 kB / 0.7352 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004966/0.69, allocations: 47.75 kB / 0.7352 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.6902, allocations: 222.7 kB / 0.7355 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.6903, allocations: 4 kB / 0.7355 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.6903, allocations: 8 kB / 0.7355 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003191/0.6906, allocations: 219.8 kB / 0.7357 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.6909, allocations: 216.8 kB / 0.7359 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.691, allocations: 0 / 0.7359 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.691, allocations: 0 / 0.7359 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.691, allocations: 11.91 kB / 0.7359 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.6938, allocations: 3.509 MB / 0.7393 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.6939, allocations: 57.7 kB / 0.7394 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.694, allocations: 24.86 kB / 0.7394 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.6943, allocations: 0.4913 MB / 0.7399 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.6945, allocations: 113.9 kB / 0.74 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.562e-06/0.6945, allocations: 4 kB / 0.74 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.001041/0.6955, allocations: 224.4 kB / 0.7402 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.6956, allocations: 106.8 kB / 0.7403 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.6957, allocations: 151.2 kB / 0.7405 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.6958, allocations: 29.92 kB / 0.7405 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.6959, allocations: 159.5 kB / 0.7406 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.6959, allocations: 59.5 kB / 0.7407 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.6959, allocations: 0 / 0.7407 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6961, allocations: 326.9 kB / 0.741 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.6961, allocations: 43.72 kB / 0.741 GB, free: 12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.6963, allocations: 175.4 kB / 0.7412 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.698, allocations: 219.7 kB / 0.7414 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.698, allocations: 4 kB / 0.7414 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001878/0.6999, allocations: 394.5 kB / 0.7418 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.6999, allocations: 7.984 kB / 0.7418 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.6999, allocations: 4 kB / 0.7418 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.6999, allocations: 8 kB / 0.7418 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.7006, allocations: 111.8 kB / 0.7419 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004232/0.701, allocations: 0.6093 MB / 0.7425 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.7012, allocations: 4 kB / 0.7425 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.7013, allocations: 32 kB / 0.7426 GB, free: 10.36 MB / 0.5261 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.0001037/0.7014, allocations: 124.8 kB / 0.7427 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.7014, allocations: 15.81 kB / 0.7427 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008191/0.7023, allocations: 287.5 kB / 0.743 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.7023, allocations: 4 kB / 0.743 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.7023, allocations: 0 / 0.743 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7023, allocations: 7.906 kB / 0.743 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.703, allocations: 455.8 kB / 0.7434 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.703, allocations: 0 / 0.7434 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.7035, allocations: 71.89 kB / 0.7435 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7035, allocations: 4 kB / 0.7435 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.7035, allocations: 7.938 kB / 0.7435 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003573/0.7039, allocations: 0.59 MB / 0.7441 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7039, allocations: 3.984 kB / 0.7441 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005247/0.7045, allocations: 289.8 kB / 0.7443 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.7046, allocations: 128.9 kB / 0.7445 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.7046, allocations: 3.906 kB / 0.7445 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.7048, allocations: 7.984 kB / 0.7445 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.7048, allocations: 7.984 kB / 0.7445 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.7049, allocations: 20 kB / 0.7445 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.215e-05/0.705, allocations: 120.5 kB / 0.7446 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007709/0.7057, allocations: 211.7 kB / 0.7448 GB, free: 7.902 MB / 0.5261 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.0008614/0.7066, allocations: 385.7 kB / 0.7452 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005656/0.7072, allocations: 167.7 kB / 0.7454 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7072, allocations: 1.312 kB / 0.7454 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.7075, allocations: 89.98 kB / 0.7454 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.7078, allocations: 19.92 kB / 0.7455 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.233/0.9409, allocations: 19.62 MB / 0.7646 GB, free: 244.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.9413, allocations: 0.7887 MB / 0.7654 GB, free: 244.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/0.9413, allocations: 0 / 0.7654 GB, free: 244.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.009746/0.9511, allocations: 5.71 MB / 0.771 GB, free: 244 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.o ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.o ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:354:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:354:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:354:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:858: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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:858: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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.o] Error 1