Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7799/0.7799, allocations: 141.8 MB / 149.1 MB, free: 3.262 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 194.6 kB / 182 MB, free: 15.08 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 221.3 MB / 436 MB, free: 8.18 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 102.9 kB / 0.507 GB, free: 24.54 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 280.9 kB / 0.5885 GB, free: 11.29 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.876e-06/8.906e-06, allocations: 4 kB / 0.6759 GB, free: 1.617 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3837, allocations: 82.77 MB / 0.7568 GB, free: 111.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.516, allocations: 122.8 MB / 0.8767 GB, free: 4.82 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.5164, allocations: 111.7 kB / 0.8768 GB, free: 4.715 MB / 0.5419 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.06692/0.5834, allocations: 20.59 MB / 0.8969 GB, free: 160 kB / 0.5575 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.5834, allocations: 8 kB / 0.8969 GB, free: 152 kB / 0.5575 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.001964/0.5854, allocations: 0.8128 MB / 0.8977 GB, free: 15.29 MB / 0.5732 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5855, allocations: 8.031 kB / 0.8977 GB, free: 15.28 MB / 0.5732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.5857, allocations: 43.44 kB / 0.8978 GB, free: 15.24 MB / 0.5732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009381/0.5867, allocations: 0.6004 MB / 0.8984 GB, free: 14.59 MB / 0.5732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.5867, allocations: 0 / 0.8984 GB, free: 14.59 MB / 0.5732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.5867, allocations: 7.984 kB / 0.8984 GB, free: 14.59 MB / 0.5732 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002253/0.5869, allocations: 135.9 kB / 0.8985 GB, free: 14.45 MB / 0.5732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.5873, allocations: 193.5 kB / 0.8987 GB, free: 14.26 MB / 0.5732 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5873, allocations: 0 / 0.8987 GB, free: 14.26 MB / 0.5732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.5873, allocations: 4 kB / 0.8987 GB, free: 14.25 MB / 0.5732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5873, allocations: 0 / 0.8987 GB, free: 14.25 MB / 0.5732 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000809/0.5881, allocations: 474.8 kB / 0.8991 GB, free: 13.75 MB / 0.5732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.5884, allocations: 162.4 kB / 0.8993 GB, free: 13.59 MB / 0.5732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.5886, allocations: 144.7 kB / 0.8994 GB, free: 13.44 MB / 0.5732 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.5886, allocations: 0 / 0.8994 GB, free: 13.44 MB / 0.5732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.5887, allocations: 34.56 kB / 0.8995 GB, free: 13.4 MB / 0.5732 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.5887, allocations: 4 kB / 0.8995 GB, free: 13.39 MB / 0.5732 GB Notification: Performance of matching and sorting (n=1): time 0.0007899/0.5895, allocations: 364.9 kB / 0.8998 GB, free: 13.03 MB / 0.5732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.5895, allocations: 51.41 kB / 0.8999 GB, free: 12.97 MB / 0.5732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/0.5903, allocations: 0.5802 MB / 0.9004 GB, free: 12.38 MB / 0.5732 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.5903, allocations: 26.27 kB / 0.9005 GB, free: 12.35 MB / 0.5732 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.5904, allocations: 140.1 kB / 0.9006 GB, free: 12.21 MB / 0.5732 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.5905, allocations: 3.906 kB / 0.9006 GB, free: 12.2 MB / 0.5732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.5905, allocations: 0 / 0.9006 GB, free: 12.2 MB / 0.5732 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5906, allocations: 370.8 kB / 0.901 GB, free: 11.83 MB / 0.5732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.5908, allocations: 135.9 kB / 0.9011 GB, free: 11.7 MB / 0.5732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.591, allocations: 144.8 kB / 0.9012 GB, free: 11.56 MB / 0.5732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.5913, allocations: 147.8 kB / 0.9014 GB, free: 11.41 MB / 0.5732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5913, allocations: 0 / 0.9014 GB, free: 11.41 MB / 0.5732 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006205/0.5919, allocations: 360.9 kB / 0.9017 GB, free: 11.05 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.5919, allocations: 10.95 kB / 0.9017 GB, free: 11.05 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.231e-05/0.592, allocations: 12 kB / 0.9017 GB, free: 11.04 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.592, allocations: 96 / 0.9017 GB, free: 11.04 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-06/0.592, allocations: 4 kB / 0.9017 GB, free: 11.03 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.592, allocations: 0 / 0.9017 GB, free: 11.03 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.5923, allocations: 35.91 kB / 0.9018 GB, free: 11 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.5924, allocations: 28.56 kB / 0.9018 GB, free: 10.97 MB / 0.5732 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 9.062e-05/0.5924, allocations: 101 kB / 0.9019 GB, free: 10.86 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.5926, allocations: 43.44 kB / 0.9019 GB, free: 10.82 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.5937, allocations: 0.5788 MB / 0.9025 GB, free: 10.23 MB / 0.5732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5937, allocations: 0 / 0.9025 GB, free: 10.23 MB / 0.5732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5938, allocations: 8.031 kB / 0.9025 GB, free: 10.23 MB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5938, allocations: 9.203 kB / 0.9025 GB, free: 10.22 MB / 0.5732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.5942, allocations: 370 kB / 0.9029 GB, free: 9.82 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.341e-05/0.5943, allocations: 12 kB / 0.9029 GB, free: 9.809 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.5943, allocations: 0 / 0.9029 GB, free: 9.809 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5943, allocations: 0 / 0.9029 GB, free: 9.809 MB / 0.5732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.5943, allocations: 7.984 kB / 0.9029 GB, free: 9.801 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5944, allocations: 0 / 0.9029 GB, free: 9.801 MB / 0.5732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5944, allocations: 0 / 0.9029 GB, free: 9.801 MB / 0.5732 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006389/0.595, allocations: 396.2 kB / 0.9033 GB, free: 9.395 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005116/0.5955, allocations: 336.3 kB / 0.9036 GB, free: 9.047 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.5958, allocations: 0 / 0.9036 GB, free: 9.047 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.596, allocations: 32 kB / 0.9036 GB, free: 9.016 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.5961, allocations: 4 kB / 0.9036 GB, free: 9.012 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.5961, allocations: 24 kB / 0.9036 GB, free: 8.988 MB / 0.5732 GB Notification: Performance of sort global known variables: time 0.0006088/0.5967, allocations: 0.4922 MB / 0.9041 GB, free: 8.5 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.001682/0.5984, allocations: 499.2 kB / 0.9046 GB, free: 8.012 MB / 0.5732 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.003014/0.6014, allocations: 0.8174 MB / 0.9054 GB, free: 7.27 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.000495/0.6019, allocations: 309.5 kB / 0.9057 GB, free: 6.961 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6019, allocations: 4.062 kB / 0.9057 GB, free: 6.957 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.6022, allocations: 173.6 kB / 0.9059 GB, free: 6.781 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.6025, allocations: 34.08 kB / 0.9059 GB, free: 6.75 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.6044, allocations: 0.6875 MB / 0.9066 GB, free: 6.035 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.6056, allocations: 1.1 MB / 0.9076 GB, free: 4.91 MB / 0.5732 GB Notification: Performance of SimCode: time 8.22e-07/0.6056, allocations: 0 / 0.9076 GB, free: 4.91 MB / 0.5732 GB Notification: Performance of Templates: time 0.2423/0.8479, allocations: 14.33 MB / 0.9216 GB, free: 183.1 MB / 0.5732 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)