Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.034/2.034, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.001498/0.001498, allocations: 177.3 kB / 487 MB, free: 5.336 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.405/1.405, allocations: 221.3 MB / 0.7819 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009641/0.000964, allocations: 96.64 kB / 0.9213 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.221e-06/6.241e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2318, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6734/0.9053, allocations: 163.5 MB / 1.365 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.9056, allocations: 110.6 kB / 1.365 GB, free: 11.54 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd: time 0.05838/0.9639, allocations: 20.61 MB / 1.385 GB, free: 9.922 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.964, allocations: 4 kB / 1.385 GB, free: 9.918 MB / 0.823 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.001493/0.9655, allocations: 0.8172 MB / 1.386 GB, free: 9.082 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.9656, allocations: 9.031 kB / 1.386 GB, free: 9.074 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.9657, allocations: 43.44 kB / 1.386 GB, free: 9.031 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/0.9666, allocations: 0.5982 MB / 1.387 GB, free: 8.457 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.9666, allocations: 4 kB / 1.387 GB, free: 8.453 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.9666, allocations: 0 / 1.387 GB, free: 8.453 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002133/0.9668, allocations: 139.9 kB / 1.387 GB, free: 8.316 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.9671, allocations: 197.5 kB / 1.387 GB, free: 8.117 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.9671, allocations: 0 / 1.387 GB, free: 8.117 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.9672, allocations: 3.938 kB / 1.387 GB, free: 8.113 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.9672, allocations: 0 / 1.387 GB, free: 8.113 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.9678, allocations: 472.7 kB / 1.387 GB, free: 7.652 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.968, allocations: 154.5 kB / 1.388 GB, free: 7.492 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.9682, allocations: 144.8 kB / 1.388 GB, free: 7.348 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.9682, allocations: 11.06 kB / 1.388 GB, free: 7.34 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.9683, allocations: 30.56 kB / 1.388 GB, free: 7.301 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.9683, allocations: 0 / 1.388 GB, free: 7.301 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0006538/0.9689, allocations: 360.9 kB / 1.388 GB, free: 6.941 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.969, allocations: 51.41 kB / 1.388 GB, free: 6.879 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006904/0.9697, allocations: 0.5929 MB / 1.389 GB, free: 6.348 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.9697, allocations: 25.7 kB / 1.389 GB, free: 6.316 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.9698, allocations: 137.9 kB / 1.389 GB, free: 6.195 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.9698, allocations: 7.938 kB / 1.389 GB, free: 6.188 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.9698, allocations: 0 / 1.389 GB, free: 6.188 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.97, allocations: 364 kB / 1.389 GB, free: 5.844 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.9702, allocations: 147.8 kB / 1.389 GB, free: 5.699 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.9703, allocations: 139.9 kB / 1.389 GB, free: 5.562 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.9706, allocations: 135.9 kB / 1.39 GB, free: 5.43 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.9706, allocations: 0 / 1.39 GB, free: 5.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005545/0.9711, allocations: 364.9 kB / 1.39 GB, free: 5.066 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.9711, allocations: 8.094 kB / 1.39 GB, free: 5.059 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.004e-05/0.9712, allocations: 15.98 kB / 1.39 GB, free: 5.043 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.9712, allocations: 0 / 1.39 GB, free: 5.043 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.9712, allocations: 0 / 1.39 GB, free: 5.043 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.9712, allocations: 3.906 kB / 1.39 GB, free: 5.039 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.9715, allocations: 28 kB / 1.39 GB, free: 5.012 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.9715, allocations: 24 kB / 1.39 GB, free: 4.988 MB / 0.823 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.741e-05/0.9716, allocations: 109 kB / 1.39 GB, free: 4.875 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.9718, allocations: 39.44 kB / 1.39 GB, free: 4.836 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.9729, allocations: 0.5882 MB / 1.391 GB, free: 4.281 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.9729, allocations: 3.906 kB / 1.391 GB, free: 4.277 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.9729, allocations: 0 / 1.391 GB, free: 4.277 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9729, allocations: 0 / 1.391 GB, free: 4.277 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.9733, allocations: 375.1 kB / 1.391 GB, free: 3.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-05/0.9734, allocations: 8 kB / 1.391 GB, free: 3.902 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.9734, allocations: 0 / 1.391 GB, free: 3.902 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.9734, allocations: 0 / 1.391 GB, free: 3.902 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.9734, allocations: 8 kB / 1.391 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.9734, allocations: 0 / 1.391 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.9734, allocations: 4.031 kB / 1.391 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005777/0.974, allocations: 399.6 kB / 1.391 GB, free: 3.484 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/0.9744, allocations: 338.9 kB / 1.392 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.9747, allocations: 0 / 1.392 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.9749, allocations: 31.98 kB / 1.392 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.9749, allocations: 7.906 kB / 1.392 GB, free: 3.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.975, allocations: 28 kB / 1.392 GB, free: 3.133 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0005322/0.9755, allocations: 0.4972 MB / 1.392 GB, free: 2.695 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001601/0.9771, allocations: 481 kB / 1.393 GB, free: 2.238 MB / 0.823 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.001967/0.9791, allocations: 0.8182 MB / 1.394 GB, free: 1.484 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004628/0.9796, allocations: 313.5 kB / 1.394 GB, free: 1.172 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9796, allocations: 0 / 1.394 GB, free: 1.172 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.9798, allocations: 169.6 kB / 1.394 GB, free: 1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.9801, allocations: 34.53 kB / 1.394 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.9819, allocations: 0.6821 MB / 1.395 GB, free: 288 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009861/0.9829, allocations: 1.11 MB / 1.396 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/0.9829, allocations: 0 / 1.396 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.0233/1.006, allocations: 14.31 MB / 1.41 GB, free: 0.8398 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)