Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.55/1.55, allocations: 289.8 MB / 297.1 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001378/0.001378, allocations: 177.3 kB / 366.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.1 MB / 0.6256 GB, free: 7.402 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001108, allocations: 91.09 kB / 0.7395 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.401e-05/1.436e-05, allocations: 4 kB / 0.859 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7054/0.7054, allocations: 116.3 MB / 0.9726 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9364/1.642, allocations: 446.9 MB / 1.409 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.642, allocations: 91.75 kB / 1.409 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.578/5.22, allocations: 1.279 GB / 2.688 GB, free: 18.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002476/5.22, allocations: 67.98 kB / 2.688 GB, free: 18.69 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.0045/5.225, allocations: 2.775 MB / 2.691 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/5.225, allocations: 12.03 kB / 2.691 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/5.229, allocations: 1.116 MB / 2.692 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004955/5.234, allocations: 2.95 MB / 2.695 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/5.234, allocations: 60.56 kB / 2.695 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/5.235, allocations: 120 kB / 2.695 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002703/5.237, allocations: 1.573 MB / 2.697 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/5.24, allocations: 1.868 MB / 2.698 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/5.24, allocations: 7.906 kB / 2.698 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/5.24, allocations: 0 / 2.698 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/5.24, allocations: 48 kB / 2.698 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01407/5.254, allocations: 12.3 MB / 2.71 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/5.258, allocations: 1.163 MB / 2.712 GB, free: 9.676 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/5.259, allocations: 0.6607 MB / 2.712 GB, free: 9.008 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/5.26, allocations: 1.37 MB / 2.714 GB, free: 7.344 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/5.26, allocations: 51.5 kB / 2.714 GB, free: 7.281 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 2.976e-06/5.26, allocations: 0 / 2.714 GB, free: 7.281 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111): time 0.00911/5.27, allocations: 3.488 MB / 2.717 GB, free: 3.734 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/5.27, allocations: 171.2 kB / 2.717 GB, free: 3.527 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/5.272, allocations: 1.563 MB / 2.719 GB, free: 1.941 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/5.272, allocations: 25.7 kB / 2.719 GB, free: 1.91 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006256/5.273, allocations: 0.7941 MB / 2.72 GB, free: 1.102 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/5.273, allocations: 386.3 kB / 2.72 GB, free: 0.7188 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/5.273, allocations: 0 / 2.72 GB, free: 0.7188 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001486/5.273, allocations: 353.9 kB / 2.72 GB, free: 376 kB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3671/5.641, allocations: 0.5427 MB / 2.721 GB, free: 186.1 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/5.642, allocations: 1.005 MB / 2.722 GB, free: 185.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/5.644, allocations: 0.7379 MB / 2.722 GB, free: 185.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/5.644, allocations: 3.688 kB / 2.722 GB, free: 185.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007363/5.651, allocations: 2.424 MB / 2.725 GB, free: 185.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00057/5.652, allocations: 3.702 MB / 2.728 GB, free: 181.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/5.652, allocations: 7.781 kB / 2.728 GB, free: 181.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003264/5.655, allocations: 0.8718 MB / 2.729 GB, free: 181.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/5.657, allocations: 385.7 kB / 2.73 GB, free: 181.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00864/5.665, allocations: 5.146 MB / 2.735 GB, free: 179.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/5.669, allocations: 405.7 kB / 2.735 GB, free: 179.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/5.669, allocations: 77.41 kB / 2.735 GB, free: 179.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/5.669, allocations: 3.688 kB / 2.735 GB, free: 179.3 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006535/5.676, allocations: 2.052 MB / 2.737 GB, free: 179.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/5.676, allocations: 9.344 kB / 2.737 GB, free: 179.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/5.678, allocations: 0.5847 MB / 2.738 GB, free: 179.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/5.68, allocations: 418.9 kB / 2.738 GB, free: 179.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009799/5.69, allocations: 6.679 MB / 2.745 GB, free: 175.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/5.693, allocations: 347.8 kB / 2.745 GB, free: 175.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/5.693, allocations: 74.94 kB / 2.745 GB, free: 175.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004002/5.694, allocations: 137.2 kB / 2.745 GB, free: 175.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/5.694, allocations: 225.2 kB / 2.745 GB, free: 175.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/5.698, allocations: 1.919 MB / 2.747 GB, free: 175.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/5.698, allocations: 18.5 kB / 2.747 GB, free: 175.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/5.698, allocations: 0 / 2.747 GB, free: 175.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002351/5.7, allocations: 1.675 MB / 2.749 GB, free: 174.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006782/5.707, allocations: 4.005 MB / 2.753 GB, free: 174.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/5.707, allocations: 0 / 2.753 GB, free: 174.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/5.708, allocations: 312.8 kB / 2.753 GB, free: 174.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/5.71, allocations: 410 kB / 2.754 GB, free: 174.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-05/5.71, allocations: 20.72 kB / 2.754 GB, free: 174.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/5.711, allocations: 1.551 MB / 2.755 GB, free: 173.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/5.711, allocations: 3.688 kB / 2.755 GB, free: 173.2 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003869/5.715, allocations: 2.545 MB / 2.758 GB, free: 172.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/5.716, allocations: 0.5009 MB / 2.758 GB, free: 172.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/5.716, allocations: 7.562 kB / 2.758 GB, free: 172.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/5.719, allocations: 326.7 kB / 2.758 GB, free: 172.6 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/5.719, allocations: 66.83 kB / 2.758 GB, free: 172.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/5.719, allocations: 51.59 kB / 2.759 GB, free: 172.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001614/5.72, allocations: 1.165 MB / 2.76 GB, free: 172.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004772/5.725, allocations: 1.242 MB / 2.761 GB, free: 172.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001548/5.727, allocations: 1.134 MB / 2.762 GB, free: 172.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004053/5.731, allocations: 2.793 MB / 2.765 GB, free: 171.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/5.731, allocations: 3.25 kB / 2.765 GB, free: 171.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000955/5.732, allocations: 0.6768 MB / 2.765 GB, free: 171.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004302/5.736, allocations: 1.001 MB / 2.766 GB, free: 171.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/5.75, allocations: 4.419 MB / 2.771 GB, free: 170.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/5.752, allocations: 1.888 MB / 2.772 GB, free: 170.2 MB / 0.9792 GB Notification: Performance of SimCode: time 9.92e-07/5.752, allocations: 0 / 2.772 GB, free: 170.2 MB / 0.9792 GB Notification: Performance of Templates: time 0.09231/5.844, allocations: 63.43 MB / 2.834 GB, free: 168.2 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.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=Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.o Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:372:3: error: use of undeclared identifier 'real'; did you mean 'read'? real /* assuming real for unknown type! */_array tmp21; ^~~~ read /usr/include/unistd.h:360:16: note: 'read' declared here extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur; ^ Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:372:7: error: expected ';' after expression real /* assuming real for unknown type! */_array tmp21; ^ ; Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:372:3: warning: expression result unused [-Wunused-value] real /* assuming real for unknown type! */_array tmp21; ^~~~ Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:372:45: error: use of undeclared identifier '_array' real /* assuming real for unknown type! */_array tmp21; ^ Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:373:3: error: use of undeclared identifier 'array_alloc_real' array_alloc_real /* assuming real for unknown type! */_array(&tmp21, 1, 1.0 - data->localData[0]->realVars[17] /* $cse19 variable */); ^ Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:374:302: error: use of undeclared identifier 'tmp21' data->localData[0]->realVars[46] /* hex._TWarIn._y variable */ = omc_Buildings_Obsolete_DistrictHeatingCooling_Plants_LakeWaterHeatExchanger__T$hex_Medium_temperature__phX(threadData, data->simulationInfo->realParameter[12], data->localData[0]->realVars[36] /* bou._ports[1]._h_outflow variable */, tmp21); ^ 1 warning and 5 errors generated. make: *** [: Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.o] Error 1