Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.002028/0.002028, allocations: 197.4 kB / 7.467 MB, free: 1.543 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.358/1.358, allocations: 194.2 MB / 202.1 MB, free: 14.37 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001646/0.001646, allocations: 110.5 kB / 247.1 MB, free: 0.5117 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.178/0.178, allocations: 39.94 MB / 331.9 MB, free: 11.56 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 6.251e-06/6.281e-06, allocations: 0 / 392.8 MB, free: 48.37 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 54.87 MB / 447.7 MB, free: 9.414 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4054/0.5106, allocations: 190.1 MB / 0.6228 GB, free: 4.539 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.5109, allocations: 76.73 kB / 0.6228 GB, free: 4.465 MB / 466.8 MB Notification: Performance of FrontEnd: time 0.3185/0.8294, allocations: 53.95 MB / 0.6755 GB, free: 138.1 MB / 466.8 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.8295, allocations: 0 / 0.6755 GB, free: 138.1 MB / 466.8 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.001565/0.831, allocations: 0.6195 MB / 0.6761 GB, free: 137.4 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.8311, allocations: 8.531 kB / 0.6761 GB, free: 137.4 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005424/0.8317, allocations: 43.78 kB / 0.6762 GB, free: 137.4 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.832, allocations: 230.7 kB / 0.6764 GB, free: 137.1 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.832, allocations: 4 kB / 0.6764 GB, free: 137.1 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.832, allocations: 12 kB / 0.6764 GB, free: 137.1 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003227/0.8323, allocations: 215.6 kB / 0.6766 GB, free: 136.9 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.8326, allocations: 224.9 kB / 0.6768 GB, free: 136.6 MB / 466.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.8327, allocations: 0 / 0.6768 GB, free: 136.6 MB / 466.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.8327, allocations: 8 kB / 0.6768 GB, free: 136.6 MB / 466.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.8327, allocations: 4 kB / 0.6768 GB, free: 136.6 MB / 466.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.8351, allocations: 3.438 MB / 0.6802 GB, free: 132.6 MB / 466.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.8352, allocations: 53.64 kB / 0.6802 GB, free: 132.6 MB / 466.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.8353, allocations: 24.86 kB / 0.6803 GB, free: 132.5 MB / 466.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/0.8355, allocations: 356.9 kB / 0.6806 GB, free: 132.1 MB / 466.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.8357, allocations: 125.8 kB / 0.6807 GB, free: 132 MB / 466.8 MB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.8357, allocations: 0 / 0.6807 GB, free: 132 MB / 466.8 MB Notification: Performance of matching and sorting (n=13): time 0.001155/0.8368, allocations: 232.4 kB / 0.681 GB, free: 131.7 MB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.8369, allocations: 102.8 kB / 0.6811 GB, free: 131.6 MB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.837, allocations: 148 kB / 0.6812 GB, free: 131.5 MB / 466.8 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.8371, allocations: 25.98 kB / 0.6812 GB, free: 131.4 MB / 466.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.8372, allocations: 175.4 kB / 0.6814 GB, free: 131.3 MB / 466.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.8372, allocations: 35.45 kB / 0.6814 GB, free: 131.2 MB / 466.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.8372, allocations: 4.156 kB / 0.6814 GB, free: 131.2 MB / 466.8 MB Notification: Performance of setup shared object (initialization): time 6.859e-05/0.8373, allocations: 330.7 kB / 0.6817 GB, free: 130.9 MB / 466.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.8374, allocations: 39.92 kB / 0.6818 GB, free: 130.8 MB / 466.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.8375, allocations: 179.4 kB / 0.6819 GB, free: 130.6 MB / 466.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.8392, allocations: 223.7 kB / 0.6822 GB, free: 130.4 MB / 466.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.8392, allocations: 0 / 0.6822 GB, free: 130.4 MB / 466.8 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001896/0.8411, allocations: 385.2 kB / 0.6825 GB, free: 130 MB / 466.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.8411, allocations: 11.91 kB / 0.6825 GB, free: 130 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.8412, allocations: 4 kB / 0.6825 GB, free: 130 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.8412, allocations: 8 kB / 0.6826 GB, free: 130 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.8419, allocations: 112.3 kB / 0.6827 GB, free: 129.9 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004167/0.8423, allocations: 0.6094 MB / 0.6833 GB, free: 129.2 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.8426, allocations: 7.906 kB / 0.6833 GB, free: 129.2 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.8426, allocations: 31.98 kB / 0.6833 GB, free: 129.2 MB / 466.8 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 0.0001132/0.8427, allocations: 120.8 kB / 0.6834 GB, free: 129.1 MB / 466.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.8428, allocations: 15.81 kB / 0.6834 GB, free: 129.1 MB / 466.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009059/0.8437, allocations: 372.5 kB / 0.6838 GB, free: 128.7 MB / 466.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.8437, allocations: 4 kB / 0.6838 GB, free: 128.7 MB / 466.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8437, allocations: 0 / 0.6838 GB, free: 128.7 MB / 466.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.8438, allocations: 4 kB / 0.6838 GB, free: 128.7 MB / 466.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007482/0.8445, allocations: 478.5 kB / 0.6842 GB, free: 128.2 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.8445, allocations: 0 / 0.6842 GB, free: 128.2 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.845, allocations: 72.05 kB / 0.6843 GB, free: 128.1 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.845, allocations: 0 / 0.6843 GB, free: 128.1 MB / 466.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.8451, allocations: 8 kB / 0.6843 GB, free: 128.1 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002913/0.8454, allocations: 0.6054 MB / 0.6849 GB, free: 127.4 MB / 466.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8454, allocations: 0 / 0.6849 GB, free: 127.4 MB / 466.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004607/0.8458, allocations: 284.5 kB / 0.6852 GB, free: 127.1 MB / 466.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-05/0.846, allocations: 136.9 kB / 0.6853 GB, free: 127 MB / 466.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.846, allocations: 7.938 kB / 0.6853 GB, free: 127 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.8462, allocations: 0 / 0.6853 GB, free: 127 MB / 466.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.8462, allocations: 11.98 kB / 0.6853 GB, free: 127 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.8462, allocations: 16 kB / 0.6853 GB, free: 127 MB / 466.8 MB Notification: Performance of sort global known variables: time 6.76e-05/0.8463, allocations: 115.2 kB / 0.6855 GB, free: 126.8 MB / 466.8 MB Notification: Performance of remove unused functions: time 0.0009881/0.8473, allocations: 247.6 kB / 0.6857 GB, free: 126.6 MB / 466.8 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.00138/0.8487, allocations: 450.7 kB / 0.6861 GB, free: 126.2 MB / 466.8 MB Notification: Performance of simCode: created initialization part: time 0.0005867/0.8493, allocations: 183.6 kB / 0.6863 GB, free: 126 MB / 466.8 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8493, allocations: 1.312 kB / 0.6863 GB, free: 126 MB / 466.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.8496, allocations: 81.58 kB / 0.6864 GB, free: 125.9 MB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.8499, allocations: 27.97 kB / 0.6864 GB, free: 125.9 MB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04153/0.8915, allocations: 20.05 MB / 0.706 GB, free: 105.7 MB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005699/0.8921, allocations: 0.7863 MB / 0.7068 GB, free: 104.9 MB / 466.8 MB Notification: Performance of SimCode: time 1.462e-06/0.8921, allocations: 0 / 0.7068 GB, free: 104.9 MB / 466.8 MB Notification: Performance of Templates: time 0.01274/0.9049, allocations: 6.439 MB / 0.713 GB, free: 98.48 MB / 466.8 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_2_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.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.o ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.c clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_2_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.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.o ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c ModelicaTest_3.2.2_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.2_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.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:991:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:991:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:991:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:1246:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:1246:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.c:1246:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 2 warnings and 2 errors generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_functions.o] Error 1