Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [: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.645/1.645, allocations: 289.8 MB / 297.1 MB, free: 9.805 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 190.8 kB / 366.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 0.6256 GB, free: 2.352 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008682/0.0008681, allocations: 84.34 kB / 0.7395 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 9.237e-06/9.338e-06, allocations: 2.406 kB / 0.859 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2348, allocations: 116.3 MB / 0.9726 GB, free: 54.37 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6617/0.8966, allocations: 153.1 MB / 1.122 GB, free: 22.52 MB / 0.7169 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.8968, allocations: 107.4 kB / 1.122 GB, free: 22.52 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:212:5-212:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:213:5-213:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd: time 0.06637/0.9632, allocations: 26.47 MB / 1.148 GB, free: 20.88 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.9633, allocations: 3.875 kB / 1.148 GB, free: 20.88 MB / 0.7169 GB 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.001494/0.9648, allocations: 0.8121 MB / 1.149 GB, free: 36.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.9648, allocations: 7.594 kB / 1.149 GB, free: 36.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.965, allocations: 50.75 kB / 1.149 GB, free: 36.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/0.9658, allocations: 0.5987 MB / 1.149 GB, free: 35.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.9658, allocations: 0 / 1.149 GB, free: 35.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.9659, allocations: 3.938 kB / 1.149 GB, free: 35.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002313/0.9661, allocations: 141 kB / 1.15 GB, free: 35.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.9664, allocations: 193.7 kB / 1.15 GB, free: 35.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.9664, allocations: 0 / 1.15 GB, free: 35.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.9664, allocations: 0 / 1.15 GB, free: 35.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.9664, allocations: 0 / 1.15 GB, free: 35.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.9671, allocations: 474.3 kB / 1.15 GB, free: 35.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.9673, allocations: 159.1 kB / 1.15 GB, free: 35.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.9675, allocations: 145.5 kB / 1.151 GB, free: 35.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.9675, allocations: 4.641 kB / 1.151 GB, free: 35.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.9675, allocations: 39.03 kB / 1.151 GB, free: 35.69 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.9675, allocations: 0 / 1.151 GB, free: 35.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0006396/0.9682, allocations: 356.8 kB / 1.151 GB, free: 35.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.9682, allocations: 51.97 kB / 1.151 GB, free: 35.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007168/0.9689, allocations: 0.591 MB / 1.152 GB, free: 35.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.969, allocations: 25.7 kB / 1.152 GB, free: 35.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.9691, allocations: 138.9 kB / 1.152 GB, free: 35.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.9691, allocations: 4.516 kB / 1.152 GB, free: 35.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.9691, allocations: 0 / 1.152 GB, free: 35.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.9693, allocations: 370 kB / 1.152 GB, free: 35.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.9695, allocations: 136.5 kB / 1.152 GB, free: 35.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.9697, allocations: 140.2 kB / 1.152 GB, free: 35.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.9698, allocations: 149.5 kB / 1.152 GB, free: 35.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9699, allocations: 0 / 1.152 GB, free: 35.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004956/0.9704, allocations: 366.5 kB / 1.153 GB, free: 34.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.9704, allocations: 3.875 kB / 1.153 GB, free: 34.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-05/0.9704, allocations: 15.53 kB / 1.153 GB, free: 34.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.9705, allocations: 0 / 1.153 GB, free: 34.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.9705, allocations: 0 / 1.153 GB, free: 34.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.9705, allocations: 0 / 1.153 GB, free: 34.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.9707, allocations: 31.12 kB / 1.153 GB, free: 34.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.9707, allocations: 23.28 kB / 1.153 GB, free: 34.96 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 8.696e-05/0.9708, allocations: 105 kB / 1.153 GB, free: 34.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.971, allocations: 46.69 kB / 1.153 GB, free: 34.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.972, allocations: 0.5812 MB / 1.154 GB, free: 34.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.972, allocations: 3.328 kB / 1.154 GB, free: 34.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.972, allocations: 3.906 kB / 1.154 GB, free: 34.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.972, allocations: 3.938 kB / 1.154 GB, free: 34.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.9725, allocations: 369.4 kB / 1.154 GB, free: 34.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-05/0.9725, allocations: 11.75 kB / 1.154 GB, free: 34.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.031e-06/0.9725, allocations: 4.031 kB / 1.154 GB, free: 34.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.9725, allocations: 0 / 1.154 GB, free: 34.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.9726, allocations: 8.562 kB / 1.154 GB, free: 34.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.9726, allocations: 0 / 1.154 GB, free: 34.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.9726, allocations: 7.812 kB / 1.154 GB, free: 34.6 MB / 0.7325 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005268/0.9731, allocations: 383.2 kB / 1.154 GB, free: 34.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/0.9735, allocations: 342 kB / 1.155 GB, free: 34.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.9737, allocations: 3.375 kB / 1.155 GB, free: 34.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.9739, allocations: 34.56 kB / 1.155 GB, free: 34.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.974, allocations: 7.812 kB / 1.155 GB, free: 34.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.974, allocations: 23.22 kB / 1.155 GB, free: 34.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 0.0004752/0.9745, allocations: 0.491 MB / 1.155 GB, free: 34.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001469/0.976, allocations: 490.5 kB / 1.156 GB, free: 34.17 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.00189/0.9779, allocations: 0.7931 MB / 1.156 GB, free: 33.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004257/0.9783, allocations: 320.2 kB / 1.157 GB, free: 33.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9783, allocations: 0 / 1.157 GB, free: 33.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.9785, allocations: 173 kB / 1.157 GB, free: 33.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.9787, allocations: 12.78 kB / 1.157 GB, free: 33.79 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:212:5-212:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:213:5-213:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2233/1.202, allocations: 140.3 MB / 1.294 GB, free: 4.562 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005949/1.203, allocations: 0.8375 MB / 1.295 GB, free: 3.699 MB / 0.795 GB Notification: Performance of SimCode: time 1.603e-06/1.203, allocations: 0 / 1.295 GB, free: 3.699 MB / 0.795 GB Notification: Performance of Templates: time 0.01677/1.22, allocations: 8.252 MB / 1.303 GB, free: 11.45 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)