Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") [: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.545/1.545, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.001268/0.001268, allocations: 173.3 kB / 366.3 MB, free: 1.996 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.638/1.638, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0009928/0.0009925, allocations: 79.67 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.176e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7044, allocations: 116.3 MB / 0.9726 GB, free: 68.8 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9761/1.681, allocations: 447.2 MB / 1.409 GB, free: 38.67 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/1.681, allocations: 97.75 kB / 1.409 GB, free: 38.62 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.094/5.775, allocations: 1.279 GB / 2.689 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002952/5.775, allocations: 82.08 kB / 2.689 GB, free: 105.8 MB / 0.9792 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.006301/5.782, allocations: 2.781 MB / 2.691 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/5.782, allocations: 7.75 kB / 2.691 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005389/5.787, allocations: 1.119 MB / 2.693 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006263/5.793, allocations: 2.949 MB / 2.695 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/5.793, allocations: 63.75 kB / 2.696 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/5.794, allocations: 115.8 kB / 2.696 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002901/5.797, allocations: 1.57 MB / 2.697 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/5.8, allocations: 1.87 MB / 2.699 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/5.8, allocations: 4.031 kB / 2.699 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/5.8, allocations: 3.344 kB / 2.699 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/5.8, allocations: 49.03 kB / 2.699 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01498/5.815, allocations: 12.28 MB / 2.711 GB, free: 97.98 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/5.818, allocations: 1.168 MB / 2.712 GB, free: 97.96 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/5.819, allocations: 0.6584 MB / 2.713 GB, free: 97.95 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/5.821, allocations: 1.372 MB / 2.714 GB, free: 96.45 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/5.821, allocations: 48.22 kB / 2.714 GB, free: 96.41 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 4.699e-06/5.821, allocations: 0 / 2.714 GB, free: 96.41 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111): time 0.01035/5.831, allocations: 3.495 MB / 2.718 GB, free: 95.65 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/5.831, allocations: 165.8 kB / 2.718 GB, free: 95.46 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/5.834, allocations: 1.567 MB / 2.719 GB, free: 95.26 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002142/5.834, allocations: 27.2 kB / 2.719 GB, free: 95.23 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000494/5.834, allocations: 0.7932 MB / 2.72 GB, free: 94.85 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/5.835, allocations: 379.9 kB / 2.72 GB, free: 94.61 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/5.835, allocations: 0 / 2.72 GB, free: 94.61 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001046/5.835, allocations: 362.4 kB / 2.721 GB, free: 94.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008712/5.836, allocations: 0.5411 MB / 2.721 GB, free: 94.29 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/5.837, allocations: 1.005 MB / 2.722 GB, free: 93.78 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/5.838, allocations: 0.7351 MB / 2.723 GB, free: 93.76 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/5.838, allocations: 4.656 kB / 2.723 GB, free: 93.76 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007925/5.846, allocations: 2.424 MB / 2.725 GB, free: 93.56 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006818/5.847, allocations: 3.699 MB / 2.729 GB, free: 89.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/5.847, allocations: 7.594 kB / 2.729 GB, free: 89.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003362/5.85, allocations: 0.881 MB / 2.73 GB, free: 89.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/5.852, allocations: 379.6 kB / 2.73 GB, free: 89.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009058/5.861, allocations: 5.151 MB / 2.735 GB, free: 87.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00398/5.865, allocations: 400.8 kB / 2.736 GB, free: 87.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/5.866, allocations: 80.05 kB / 2.736 GB, free: 87.23 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/5.866, allocations: 5.812 kB / 2.736 GB, free: 87.23 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006809/5.872, allocations: 2.06 MB / 2.738 GB, free: 87.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/5.873, allocations: 7 kB / 2.738 GB, free: 87.16 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002373/5.875, allocations: 0.5798 MB / 2.738 GB, free: 87.14 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/5.877, allocations: 413.7 kB / 2.739 GB, free: 87.14 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/5.887, allocations: 6.691 MB / 2.745 GB, free: 83.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/5.891, allocations: 339.2 kB / 2.746 GB, free: 83.32 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000356/5.891, allocations: 77.72 kB / 2.746 GB, free: 83.32 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.0004921/5.892, allocations: 138.1 kB / 2.746 GB, free: 83.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005215/5.892, allocations: 217.8 kB / 2.746 GB, free: 83.09 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004286/5.896, allocations: 1.926 MB / 2.748 GB, free: 82.96 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/5.896, allocations: 12.06 kB / 2.748 GB, free: 82.96 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/5.896, allocations: 6.531 kB / 2.748 GB, free: 82.96 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002404/5.899, allocations: 1.672 MB / 2.75 GB, free: 82.48 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007297/5.906, allocations: 4.011 MB / 2.753 GB, free: 82.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/5.906, allocations: 3.562 kB / 2.753 GB, free: 82.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/5.908, allocations: 305.9 kB / 2.754 GB, free: 82.04 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/5.909, allocations: 409.9 kB / 2.754 GB, free: 82.02 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/5.909, allocations: 23.03 kB / 2.754 GB, free: 82.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/5.91, allocations: 1.555 MB / 2.756 GB, free: 80.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/5.91, allocations: 3.344 kB / 2.756 GB, free: 80.97 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004237/5.915, allocations: 2.546 MB / 2.758 GB, free: 80.55 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/5.916, allocations: 0.5006 MB / 2.759 GB, free: 80.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004353/5.916, allocations: 11.47 kB / 2.759 GB, free: 80.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/5.919, allocations: 321 kB / 2.759 GB, free: 80.33 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/5.919, allocations: 72.48 kB / 2.759 GB, free: 80.33 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/5.919, allocations: 49.62 kB / 2.759 GB, free: 80.33 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001798/5.921, allocations: 1.165 MB / 2.76 GB, free: 80.19 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005734/5.927, allocations: 1.232 MB / 2.761 GB, free: 80.14 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.001858/5.928, allocations: 1.147 MB / 2.763 GB, free: 79.84 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004622/5.933, allocations: 2.784 MB / 2.765 GB, free: 79.38 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/5.933, allocations: 0 / 2.765 GB, free: 79.38 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/5.934, allocations: 0.6853 MB / 2.766 GB, free: 79.38 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004957/5.939, allocations: 1.008 MB / 2.767 GB, free: 79.36 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/5.954, allocations: 4.426 MB / 2.771 GB, free: 78.51 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/5.955, allocations: 1.889 MB / 2.773 GB, free: 77.77 MB / 0.9792 GB Notification: Performance of SimCode: time 6.02e-07/5.955, allocations: 0 / 2.773 GB, free: 77.77 MB / 0.9792 GB Notification: Performance of Templates: time 0.08954/6.045, allocations: 63.44 MB / 2.835 GB, free: 75.23 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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_Cooling -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_Cooling.o Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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_Cooling.c:372:7: error: expected ';' after expression real /* assuming real for unknown type! */_array tmp21; ^ ; Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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_Cooling.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_Cooling.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_Cooling.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_Cooling.o] Error 1