Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",fmuType="me",version="2.0",platforms={"static"}) [: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 4.0.0+maint.om/package.mo): time 0.001321/0.00132, allocations: 187.4 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4532/0.4532, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.4 MB / 342.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 91.64 kB / 415.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1727/0.1737, allocations: 78.5 MB / 494 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.5694, allocations: 72.3 MB / 0.553 GB, free: 44.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.7037, allocations: 106 MB / 0.6566 GB, free: 2.559 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.704, allocations: 99.92 kB / 0.6567 GB, free: 2.461 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.04434/0.7484, allocations: 14.15 MB / 0.6705 GB, free: 4.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7484, allocations: 8 kB / 0.6705 GB, free: 4.242 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.7487, allocations: 112.7 kB / 0.6706 GB, free: 4.133 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009612/0.7497, allocations: 0.5228 MB / 0.6711 GB, free: 3.562 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.7497, allocations: 3.938 kB / 0.6711 GB, free: 3.559 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-05/0.7498, allocations: 4 kB / 0.6711 GB, free: 3.555 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006109/0.7504, allocations: 399.5 kB / 0.6715 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.7508, allocations: 265.3 kB / 0.6718 GB, free: 2.898 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7508, allocations: 0 / 0.6718 GB, free: 2.898 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.7509, allocations: 4 kB / 0.6718 GB, free: 2.895 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.7509, allocations: 0 / 0.6718 GB, free: 2.895 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000848/0.7518, allocations: 0.5691 MB / 0.6723 GB, free: 2.285 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.7521, allocations: 214.3 kB / 0.6725 GB, free: 2.066 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.7524, allocations: 204.7 kB / 0.6727 GB, free: 1.863 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.867e-05/0.7524, allocations: 24.72 kB / 0.6727 GB, free: 1.836 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.7525, allocations: 42.48 kB / 0.6728 GB, free: 1.785 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.7525, allocations: 0 / 0.6728 GB, free: 1.785 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0009593/0.7535, allocations: 0.5503 MB / 0.6733 GB, free: 1.227 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.7535, allocations: 55.44 kB / 0.6734 GB, free: 1.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.7549, allocations: 1.134 MB / 0.6745 GB, free: 20 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.755, allocations: 25.7 kB / 0.6745 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.7553, allocations: 249.5 kB / 0.6747 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.7553, allocations: 0 / 0.6747 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.7554, allocations: 4 kB / 0.6748 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7555, allocations: 337.9 kB / 0.6751 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007935/0.7563, allocations: 0.6965 MB / 0.6758 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007882/0.7571, allocations: 0.7036 MB / 0.6764 GB, free: 14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009085/0.758, allocations: 0.7357 MB / 0.6772 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.758, allocations: 0 / 0.6772 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003061/0.7611, allocations: 2.649 MB / 0.6797 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.7611, allocations: 4 kB / 0.6798 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001032/0.7612, allocations: 35.05 kB / 0.6798 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.7613, allocations: 4.5 kB / 0.6798 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.448e-05/0.7613, allocations: 15.95 kB / 0.6798 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.7613, allocations: 0 / 0.6798 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.7616, allocations: 70.84 kB / 0.6799 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.7618, allocations: 80.02 kB / 0.6799 GB, free: 10.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 105 (cmp,labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.762, allocations: 158.2 kB / 0.6801 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.7621, allocations: 107.2 kB / 0.6802 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.7639, allocations: 0.7968 MB / 0.681 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.7639, allocations: 7.938 kB / 0.681 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.7639, allocations: 3.938 kB / 0.681 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.7639, allocations: 4.031 kB / 0.681 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.7646, allocations: 0.5035 MB / 0.6815 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7646, allocations: 0 / 0.6815 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.7647, allocations: 15.97 kB / 0.6815 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.7647, allocations: 3.906 kB / 0.6815 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.7648, allocations: 21.08 kB / 0.6815 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7648, allocations: 0 / 0.6815 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7648, allocations: 0 / 0.6815 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008336/0.7656, allocations: 0.5799 MB / 0.6821 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001012/0.7666, allocations: 0.9865 MB / 0.6831 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.7669, allocations: 163.6 kB / 0.6832 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.767, allocations: 0 / 0.6832 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.7672, allocations: 4 kB / 0.6832 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.7672, allocations: 16.02 kB / 0.6832 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.7673, allocations: 51.95 kB / 0.6833 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001122/0.7684, allocations: 0.8373 MB / 0.6841 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001656/0.7701, allocations: 255.7 kB / 0.6843 GB, free: 5.781 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/0.7714, allocations: 294.7 kB / 0.6846 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.7727, allocations: 1.135 MB / 0.6857 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7727, allocations: 0 / 0.6857 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.7731, allocations: 219.6 kB / 0.6859 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.7734, allocations: 33.22 kB / 0.686 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.7759, allocations: 1.382 MB / 0.6873 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009556/0.7769, allocations: 1.09 MB / 0.6884 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.7769, allocations: 0 / 0.6884 GB, free: 1.59 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)