Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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 3.2.2+maint.om/package.mo): time 0.003546/0.003546, allocations: 189.3 kB / 7.46 MB, free: 2.23 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.352/1.352, allocations: 194.2 MB / 202.1 MB, free: 8.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001762/0.001762, allocations: 121 kB / 247.1 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1785/0.1785, allocations: 39.94 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.028e-05/1.029e-05, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3978/0.4985, allocations: 190.1 MB / 0.6228 GB, free: 11.42 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.4987, allocations: 73.95 kB / 0.6228 GB, free: 11.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.3685/0.8673, allocations: 56.37 MB / 0.6779 GB, free: 166.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.8674, allocations: 3.969 kB / 0.6779 GB, free: 166.3 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.001465/0.8689, allocations: 0.6137 MB / 0.6785 GB, free: 165.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.8689, allocations: 10.22 kB / 0.6785 GB, free: 165.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005373/0.8695, allocations: 47.28 kB / 0.6785 GB, free: 165.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.8697, allocations: 223.5 kB / 0.6788 GB, free: 165.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.8698, allocations: 7.219 kB / 0.6788 GB, free: 165.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.8698, allocations: 6.781 kB / 0.6788 GB, free: 165.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003157/0.8701, allocations: 224.9 kB / 0.679 GB, free: 165.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.8704, allocations: 214.1 kB / 0.6792 GB, free: 165.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.8704, allocations: 0 / 0.6792 GB, free: 165.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.8705, allocations: 3.25 kB / 0.6792 GB, free: 165.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.8705, allocations: 3 kB / 0.6792 GB, free: 165.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.8728, allocations: 3.467 MB / 0.6826 GB, free: 162.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.899e-05/0.873, allocations: 60.48 kB / 0.6826 GB, free: 162.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.873, allocations: 25.77 kB / 0.6827 GB, free: 162.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.8732, allocations: 361.2 kB / 0.683 GB, free: 161.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.8734, allocations: 120.9 kB / 0.6831 GB, free: 161.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 2.374e-06/0.8734, allocations: 0 / 0.6831 GB, free: 161.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.001133/0.8746, allocations: 235.5 kB / 0.6833 GB, free: 161.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.8746, allocations: 106.7 kB / 0.6834 GB, free: 161.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.8748, allocations: 146.6 kB / 0.6836 GB, free: 161.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.8748, allocations: 25.7 kB / 0.6836 GB, free: 161.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.8749, allocations: 168.8 kB / 0.6838 GB, free: 161.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.8749, allocations: 46.02 kB / 0.6838 GB, free: 161.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.8749, allocations: 0 / 0.6838 GB, free: 161.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.92e-05/0.875, allocations: 324 kB / 0.6841 GB, free: 160.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.846e-05/0.8751, allocations: 42.22 kB / 0.6842 GB, free: 160.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.8752, allocations: 175.8 kB / 0.6843 GB, free: 160.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.8769, allocations: 229.4 kB / 0.6845 GB, free: 160.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.8769, allocations: 3.969 kB / 0.6846 GB, free: 160.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001992/0.8789, allocations: 395.2 kB / 0.6849 GB, free: 160.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.879, allocations: 7.906 kB / 0.6849 GB, free: 160.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.879, allocations: 3.812 kB / 0.6849 GB, free: 160.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.601e-05/0.879, allocations: 10.75 kB / 0.685 GB, free: 160.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008686/0.8799, allocations: 127.9 kB / 0.6851 GB, free: 160.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005502/0.8805, allocations: 0.6047 MB / 0.6857 GB, free: 160.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.8807, allocations: 7.469 kB / 0.6857 GB, free: 160.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/0.8808, allocations: 33.78 kB / 0.6857 GB, free: 160.1 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 0.0001653/0.881, allocations: 120.6 kB / 0.6858 GB, free: 160 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.881, allocations: 18.53 kB / 0.6858 GB, free: 160 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.8821, allocations: 388.8 kB / 0.6862 GB, free: 159.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.8821, allocations: 11.19 kB / 0.6862 GB, free: 159.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.8821, allocations: 7.125 kB / 0.6862 GB, free: 159.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.8821, allocations: 0 / 0.6862 GB, free: 159.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.8828, allocations: 466.8 kB / 0.6867 GB, free: 159.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.8829, allocations: 0 / 0.6867 GB, free: 159.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/0.8833, allocations: 63.83 kB / 0.6867 GB, free: 159.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.8833, allocations: 7.516 kB / 0.6867 GB, free: 159.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.8834, allocations: 7.344 kB / 0.6867 GB, free: 159.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003178/0.8837, allocations: 0.5951 MB / 0.6873 GB, free: 159 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8837, allocations: 0 / 0.6873 GB, free: 159 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004845/0.8842, allocations: 295.3 kB / 0.6876 GB, free: 158.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.8843, allocations: 129 kB / 0.6877 GB, free: 158.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.8844, allocations: 3.812 kB / 0.6877 GB, free: 158.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.8845, allocations: 11.66 kB / 0.6877 GB, free: 158.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.8846, allocations: 17.02 kB / 0.6878 GB, free: 158.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.8846, allocations: 17.47 kB / 0.6878 GB, free: 158.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.59e-05/0.8847, allocations: 123.4 kB / 0.6879 GB, free: 158.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001014/0.8857, allocations: 245.4 kB / 0.6881 GB, free: 158.6 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.001382/0.8871, allocations: 460.3 kB / 0.6886 GB, free: 158.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005689/0.8877, allocations: 176.1 kB / 0.6887 GB, free: 158.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8877, allocations: 0 / 0.6887 GB, free: 158.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.888, allocations: 86.64 kB / 0.6888 GB, free: 158.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.8883, allocations: 21.95 kB / 0.6888 GB, free: 158.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05032/0.9387, allocations: 21.52 MB / 0.7099 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/0.9392, allocations: 0.8019 MB / 0.7106 GB, free: 148.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9392, allocations: 0 / 0.7106 GB, free: 148.2 MB / 474.7 MB Notification: Performance of Templates: time 0.01039/0.9496, allocations: 6.483 MB / 0.717 GB, free: 141.8 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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_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_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.o ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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_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_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.o ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_functions.c ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_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.Essotherm650_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.Essotherm650_functions.c:991:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_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.Essotherm650_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.Essotherm650_functions.c:1246:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_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.Essotherm650_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.Essotherm650_functions.o] Error 1