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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 15.77 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 176.2 kB / 316 MB, free: 7.145 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.343/1.343, allocations: 205.1 MB / 0.5667 GB, free: 23.6 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.0008735/0.0008734, allocations: 84.47 kB / 0.671 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2085/0.2094, allocations: 112.5 MB / 0.7808 GB, free: 188 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.5968, allocations: 106.3 MB / 0.8847 GB, free: 76.19 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.7557, allocations: 145.7 MB / 1.027 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.756, allocations: 107.9 kB / 1.027 GB, free: 10.14 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: 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.3736/1.13, allocations: 27.27 MB / 1.054 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.13, allocations: 9.531 kB / 1.054 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/1.13, allocations: 42.88 kB / 1.054 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/1.131, allocations: 0.5959 MB / 1.054 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/1.131, allocations: 7.938 kB / 1.054 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/1.131, allocations: 1.094 kB / 1.054 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002422/1.131, allocations: 143.1 kB / 1.054 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/1.132, allocations: 196.9 kB / 1.055 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/1.132, allocations: 3.938 kB / 1.055 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/1.132, allocations: 0.8438 kB / 1.055 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.132, allocations: 0 / 1.055 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000987/1.133, allocations: 472.3 kB / 1.055 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/1.133, allocations: 158.2 kB / 1.055 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/1.133, allocations: 149 kB / 1.055 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/1.133, allocations: 0 / 1.055 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/1.133, allocations: 32.8 kB / 1.055 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/1.133, allocations: 0 / 1.055 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0007737/1.134, allocations: 363.7 kB / 1.056 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/1.134, allocations: 52.2 kB / 1.056 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009222/1.135, allocations: 0.5897 MB / 1.056 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/1.135, allocations: 26.45 kB / 1.056 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/1.135, allocations: 138.3 kB / 1.057 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/1.135, allocations: 1.641 kB / 1.057 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/1.135, allocations: 0 / 1.057 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/1.135, allocations: 368.3 kB / 1.057 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/1.135, allocations: 139.6 kB / 1.057 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/1.136, allocations: 139 kB / 1.057 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/1.136, allocations: 145 kB / 1.057 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.136, allocations: 0.7812 kB / 1.057 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006875/1.137, allocations: 365.1 kB / 1.058 GB, free: 140 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.137, allocations: 5 kB / 1.058 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.423e-05/1.137, allocations: 10.97 kB / 1.058 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/1.137, allocations: 0 / 1.058 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/1.137, allocations: 1.438 kB / 1.058 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/1.137, allocations: 0 / 1.058 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/1.137, allocations: 33.28 kB / 1.058 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/1.137, allocations: 33.42 kB / 1.058 GB, free: 140 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 6.622e-05/1.137, allocations: 108.6 kB / 1.058 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/1.137, allocations: 42.47 kB / 1.058 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/1.138, allocations: 0.586 MB / 1.058 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.138, allocations: 0.5625 kB / 1.058 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/1.138, allocations: 0.9375 kB / 1.058 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/1.138, allocations: 0 / 1.058 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/1.139, allocations: 374.2 kB / 1.059 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-05/1.139, allocations: 18.42 kB / 1.059 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/1.139, allocations: 4.906 kB / 1.059 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.139, allocations: 4.547 kB / 1.059 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/1.139, allocations: 5.75 kB / 1.059 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.139, allocations: 4.719 kB / 1.059 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.139, allocations: 0.6562 kB / 1.059 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006889/1.14, allocations: 389.9 kB / 1.059 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007724/1.141, allocations: 0.771 MB / 1.06 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/1.141, allocations: 343.1 kB / 1.06 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/1.141, allocations: 1.094 kB / 1.06 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/1.142, allocations: 28.5 kB / 1.06 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/1.142, allocations: 6.156 kB / 1.06 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/1.142, allocations: 24.31 kB / 1.06 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007103/1.142, allocations: 0.4918 MB / 1.061 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002307/1.145, allocations: 0.5203 MB / 1.061 GB, free: 138.5 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.002618/1.147, allocations: 0.804 MB / 1.062 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005173/1.148, allocations: 310 kB / 1.062 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.148, allocations: 1.031 kB / 1.062 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/1.148, allocations: 171 kB / 1.063 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/1.148, allocations: 20.78 kB / 1.063 GB, free: 138.1 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.1777/1.326, allocations: 139.8 MB / 1.199 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/1.327, allocations: 0.8375 MB / 1.2 GB, free: 14.58 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/1.327, allocations: 4 kB / 1.2 GB, free: 14.58 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)