Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",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 7.0.1/package.mo): time 2.285/2.285, allocations: 248.6 MB / 255.9 MB, free: 7.086 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.001596/0.001596, allocations: 190.9 kB / 315.1 MB, free: 4.219 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.853/1.853, allocations: 205.1 MB / 0.5658 GB, free: 336 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 85.73 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4969/0.4983, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.7218, allocations: 106.3 MB / 0.8835 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6823/1.404, allocations: 146.6 MB / 1.027 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005378/1.405, allocations: 108.4 kB / 1.027 GB, free: 9.668 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: 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.1514/1.556, allocations: 27.27 MB / 1.053 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/1.556, allocations: 12 kB / 1.053 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004777/1.557, allocations: 43.44 kB / 1.053 GB, free: 2.527 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/1.559, allocations: 0.5957 MB / 1.054 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/1.559, allocations: 7.906 kB / 1.054 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.626e-05/1.559, allocations: 4 kB / 1.054 GB, free: 1.941 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006196/1.56, allocations: 139.8 kB / 1.054 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007373/1.56, allocations: 193.5 kB / 1.054 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.56, allocations: 0 / 1.054 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/1.561, allocations: 0 / 1.054 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.561, allocations: 4 kB / 1.054 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/1.562, allocations: 474.7 kB / 1.055 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/1.563, allocations: 158.5 kB / 1.055 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/1.564, allocations: 141.5 kB / 1.055 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-05/1.564, allocations: 7.906 kB / 1.055 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/1.564, allocations: 34.5 kB / 1.055 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 5.67e-06/1.564, allocations: 0 / 1.055 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.002117/1.566, allocations: 364.9 kB / 1.055 GB, free: 436 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/1.566, allocations: 51.41 kB / 1.056 GB, free: 372 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/1.568, allocations: 0.5872 MB / 1.056 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/1.569, allocations: 25.7 kB / 1.056 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/1.569, allocations: 137.3 kB / 1.056 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.533e-05/1.569, allocations: 0 / 1.056 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/1.569, allocations: 0 / 1.056 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002825/1.569, allocations: 368.4 kB / 1.057 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/1.57, allocations: 138.8 kB / 1.057 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/1.57, allocations: 147.9 kB / 1.057 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008059/1.571, allocations: 139.9 kB / 1.057 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.571, allocations: 0 / 1.057 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.001735/1.573, allocations: 364.8 kB / 1.057 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/1.573, allocations: 8 kB / 1.057 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/1.573, allocations: 8 kB / 1.057 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/1.573, allocations: 0 / 1.057 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-06/1.573, allocations: 3.984 kB / 1.057 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/1.573, allocations: 7.938 kB / 1.057 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009413/1.574, allocations: 32.09 kB / 1.057 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/1.574, allocations: 27.94 kB / 1.057 GB, free: 14.47 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 0.0001853/1.575, allocations: 108.9 kB / 1.058 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000413/1.575, allocations: 43.44 kB / 1.058 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003165/1.578, allocations: 0.5829 MB / 1.058 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.578, allocations: 4 kB / 1.058 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.578, allocations: 0 / 1.058 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.578, allocations: 0 / 1.058 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/1.58, allocations: 378.3 kB / 1.059 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000121/1.58, allocations: 15.98 kB / 1.059 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-06/1.58, allocations: 0 / 1.059 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/1.58, allocations: 0 / 1.059 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/1.58, allocations: 7.938 kB / 1.059 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/1.58, allocations: 0 / 1.059 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/1.58, allocations: 4 kB / 1.059 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001942/1.582, allocations: 388.2 kB / 1.059 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002132/1.584, allocations: 0.7707 MB / 1.06 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.585, allocations: 340.1 kB / 1.06 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006145/1.586, allocations: 4 kB / 1.06 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/1.587, allocations: 28 kB / 1.06 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/1.587, allocations: 7.984 kB / 1.06 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.094e-05/1.587, allocations: 24 kB / 1.06 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001547/1.589, allocations: 0.5002 MB / 1.061 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004985/1.594, allocations: 0.5168 MB / 1.061 GB, free: 10.94 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.005539/1.599, allocations: 0.7952 MB / 1.062 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001288/1.601, allocations: 317 kB / 1.062 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.601, allocations: 3.938 kB / 1.062 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006615/1.601, allocations: 169.6 kB / 1.062 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/1.602, allocations: 15.97 kB / 1.062 GB, free: 9.707 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.4548/2.057, allocations: 139.8 MB / 1.199 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006939/2.058, allocations: 0.8375 MB / 1.2 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of SimCode: time 1.493e-06/2.058, allocations: 0 / 1.2 GB, free: 4.812 MB / 0.8073 GB