Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 2.12/2.12, allocations: 390.4 MB / 397.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 193.2 kB / 490.8 MB, free: 1.965 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.4 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 92.42 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6892/0.6903, allocations: 149.2 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.9733, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8493/1.823, allocations: 154.6 MB / 1.363 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/1.823, allocations: 108.2 kB / 1.363 GB, free: 17.6 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.04863/1.872, allocations: 14.15 MB / 1.377 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/1.872, allocations: 8.875 kB / 1.377 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005059/1.872, allocations: 109.3 kB / 1.377 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/1.874, allocations: 0.5159 MB / 1.377 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/1.874, allocations: 0 / 1.377 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/1.874, allocations: 1.312 kB / 1.377 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009131/1.875, allocations: 403.3 kB / 1.378 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/1.875, allocations: 273.1 kB / 1.378 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.875, allocations: 0 / 1.378 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/1.875, allocations: 0 / 1.378 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/1.875, allocations: 1.344 kB / 1.378 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/1.877, allocations: 0.5681 MB / 1.378 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/1.877, allocations: 214.8 kB / 1.379 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/1.877, allocations: 204.9 kB / 1.379 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.542e-05/1.877, allocations: 25.25 kB / 1.379 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.877, allocations: 43.58 kB / 1.379 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.552e-06/1.877, allocations: 0 / 1.379 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.001264/1.879, allocations: 0.5513 MB / 1.379 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/1.879, allocations: 52.34 kB / 1.379 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/1.881, allocations: 1.135 MB / 1.381 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.812e-05/1.882, allocations: 25.7 kB / 1.381 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/1.882, allocations: 253.8 kB / 1.381 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/1.882, allocations: 5 kB / 1.381 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/1.882, allocations: 0 / 1.381 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.882, allocations: 340.2 kB / 1.381 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009248/1.883, allocations: 0.6973 MB / 1.382 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.884, allocations: 0.7001 MB / 1.382 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/1.885, allocations: 0.7289 MB / 1.383 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.885, allocations: 0 / 1.383 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.005087/1.89, allocations: 2.648 MB / 1.386 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.891, allocations: 12.34 kB / 1.386 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/1.891, allocations: 34.94 kB / 1.386 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.891, allocations: 3.984 kB / 1.386 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.814e-05/1.891, allocations: 14.53 kB / 1.386 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.891, allocations: 1.062 kB / 1.386 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/1.891, allocations: 64.28 kB / 1.386 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.892, allocations: 79.8 kB / 1.386 GB, free: 28.7 MB / 0.8386 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.000269/1.892, allocations: 158.2 kB / 1.386 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/1.892, allocations: 113.1 kB / 1.386 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/1.894, allocations: 0.7969 MB / 1.387 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/1.894, allocations: 7.922 kB / 1.387 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.894, allocations: 4.594 kB / 1.387 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.894, allocations: 1.094 kB / 1.387 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/1.896, allocations: 0.507 MB / 1.388 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.896, allocations: 1.375 kB / 1.388 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/1.896, allocations: 14.34 kB / 1.388 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.896, allocations: 0 / 1.388 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/1.896, allocations: 23.27 kB / 1.388 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.896, allocations: 3.938 kB / 1.388 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/1.896, allocations: 5.031 kB / 1.388 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001006/1.897, allocations: 0.5773 MB / 1.388 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001164/1.898, allocations: 0.983 MB / 1.389 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/1.898, allocations: 169.6 kB / 1.389 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/1.898, allocations: 1.469 kB / 1.389 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/1.898, allocations: 0 / 1.389 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/1.899, allocations: 14.72 kB / 1.389 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-05/1.899, allocations: 45.3 kB / 1.389 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001217/1.9, allocations: 0.8399 MB / 1.39 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001983/1.902, allocations: 252.8 kB / 1.39 GB, free: 26.53 MB / 0.8386 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.0009798/1.903, allocations: 301.6 kB / 1.391 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001514/1.904, allocations: 1.129 MB / 1.392 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.904, allocations: 0.75 kB / 1.392 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003756/1.905, allocations: 219.4 kB / 1.392 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/1.905, allocations: 34.53 kB / 1.392 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/1.908, allocations: 1.38 MB / 1.393 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/1.909, allocations: 1.091 MB / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of SimCode: time 7.02e-07/1.909, allocations: 3.938 kB / 1.394 GB, free: 24.63 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)