Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.207/1.207, allocations: 249.4 MB / 256.7 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009642/0.0009642, allocations: 173.2 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.042/1.042, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008039/0.0008039, allocations: 83.36 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.322e-06, allocations: 0 / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1412, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.5723, allocations: 146.8 MB / 1.028 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.5726, allocations: 106.8 kB / 1.028 GB, free: 7.898 MB / 0.6511 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.0699/0.6425, allocations: 26.45 MB / 1.054 GB, free: 1.656 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.6425, allocations: 7.062 kB / 1.054 GB, free: 1.652 MB / 0.6667 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.001103/0.6436, allocations: 0.8121 MB / 1.055 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.6437, allocations: 8.031 kB / 1.055 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.6438, allocations: 43.44 kB / 1.055 GB, free: 0.7695 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000762/0.6446, allocations: 0.6021 MB / 1.055 GB, free: 196 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.6446, allocations: 0 / 1.055 GB, free: 196 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.6446, allocations: 0 / 1.055 GB, free: 196 kB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001918/0.6448, allocations: 139.9 kB / 1.055 GB, free: 56 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.6451, allocations: 193.9 kB / 1.056 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.6451, allocations: 4 kB / 1.056 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.6451, allocations: 0 / 1.056 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.6451, allocations: 0 / 1.056 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.6457, allocations: 470.8 kB / 1.056 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.6459, allocations: 158.5 kB / 1.056 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.6461, allocations: 145.5 kB / 1.056 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.6461, allocations: 7.844 kB / 1.056 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.6462, allocations: 34.56 kB / 1.056 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.6462, allocations: 0 / 1.056 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0006095/0.6468, allocations: 360.9 kB / 1.057 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.6468, allocations: 51.41 kB / 1.057 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006726/0.6475, allocations: 0.5835 MB / 1.057 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.6475, allocations: 29.69 kB / 1.057 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.6476, allocations: 136.7 kB / 1.058 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.6476, allocations: 0 / 1.058 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.6476, allocations: 0 / 1.058 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6478, allocations: 376.2 kB / 1.058 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.648, allocations: 139.9 kB / 1.058 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.6481, allocations: 139.9 kB / 1.058 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.6483, allocations: 139.9 kB / 1.058 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6484, allocations: 4 kB / 1.058 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005415/0.6489, allocations: 364.8 kB / 1.059 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.6489, allocations: 7.984 kB / 1.059 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.643e-05/0.649, allocations: 12 kB / 1.059 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.649, allocations: 4.094 kB / 1.059 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.649, allocations: 3.938 kB / 1.059 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.649, allocations: 0 / 1.059 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.6492, allocations: 28 kB / 1.059 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.6493, allocations: 27.94 kB / 1.059 GB, free: 12.73 MB / 0.6823 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 7.094e-05/0.6493, allocations: 108.9 kB / 1.059 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.6495, allocations: 43.44 kB / 1.059 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.6505, allocations: 0.58 MB / 1.059 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6505, allocations: 4.031 kB / 1.059 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6505, allocations: 4 kB / 1.059 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6505, allocations: 7.922 kB / 1.059 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.6509, allocations: 376.2 kB / 1.06 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-05/0.651, allocations: 8 kB / 1.06 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.651, allocations: 0 / 1.06 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.651, allocations: 0 / 1.06 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.651, allocations: 11.98 kB / 1.06 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.651, allocations: 0 / 1.06 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6511, allocations: 3.984 kB / 1.06 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005616/0.6516, allocations: 390.8 kB / 1.06 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.652, allocations: 337.5 kB / 1.061 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.6522, allocations: 0 / 1.061 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.6525, allocations: 28 kB / 1.061 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.6525, allocations: 8 kB / 1.061 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.6525, allocations: 24 kB / 1.061 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005174/0.6531, allocations: 0.4929 MB / 1.061 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001123/0.6542, allocations: 487.5 kB / 1.062 GB, free: 9.98 MB / 0.6823 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.001706/0.6559, allocations: 0.8089 MB / 1.062 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.6563, allocations: 309.5 kB / 1.063 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6563, allocations: 3.938 kB / 1.063 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.6566, allocations: 173.6 kB / 1.063 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.6568, allocations: 15.5 kB / 1.063 GB, free: 8.727 MB / 0.6823 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.2042/0.861, allocations: 139.8 MB / 1.199 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.8614, allocations: 0.8413 MB / 1.2 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.8614, allocations: 4 kB / 1.2 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of Templates: time 0.01285/0.8742, allocations: 8.256 MB / 1.208 GB, free: 11.55 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)