Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",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 9.1.1-maint.9.1.x/package.mo): time 2.022/2.022, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001067/0.001068, allocations: 187.9 kB / 487 MB, free: 5.414 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.469/1.469, allocations: 221.3 MB / 0.7819 GB, free: 1.543 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.0009696/0.0009699, allocations: 103.5 kB / 0.9213 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6312/0.6322, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.8992, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7949/1.694, allocations: 148.7 MB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.695, allocations: 97.75 kB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00376/1.698, allocations: 1.315 MB / 1.352 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.698, allocations: 8.906 kB / 1.352 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/1.698, allocations: 84.7 kB / 1.352 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/1.699, allocations: 242.8 kB / 1.352 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/1.699, allocations: 150.6 kB / 1.352 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/1.699, allocations: 156.6 kB / 1.353 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.852e-05/1.699, allocations: 150.6 kB / 1.353 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.542e-05/1.699, allocations: 106.2 kB / 1.353 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/1.699, allocations: 76.08 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/1.699, allocations: 154.5 kB / 1.353 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/1.699, allocations: 155.3 kB / 1.353 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/1.699, allocations: 432.7 kB / 1.354 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.286e-05/1.699, allocations: 166.2 kB / 1.354 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/1.699, allocations: 80.94 kB / 1.354 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/1.699, allocations: 76.34 kB / 1.354 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/1.699, allocations: 110.8 kB / 1.354 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/1.699, allocations: 0 / 1.354 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.824e-05/1.699, allocations: 35.25 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/1.699, allocations: 56.39 kB / 1.354 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/1.699, allocations: 101.4 kB / 1.354 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/1.699, allocations: 26.7 kB / 1.354 GB, free: 13 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/1.699, allocations: 81.59 kB / 1.354 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/1.699, allocations: 0 / 1.354 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/1.699, allocations: 5.188 kB / 1.354 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.017e-05/1.699, allocations: 320.2 kB / 1.355 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/1.699, allocations: 11.77 kB / 1.355 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/1.699, allocations: 11.55 kB / 1.355 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.296e-05/1.7, allocations: 8.891 kB / 1.355 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/1.7, allocations: 0 / 1.355 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001338/1.7, allocations: 53.44 kB / 1.355 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.7, allocations: 9.25 kB / 1.355 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.7, allocations: 0 / 1.355 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/1.7, allocations: 64 / 1.355 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/1.7, allocations: 6.75 kB / 1.355 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.7, allocations: 0 / 1.355 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/1.7, allocations: 11.91 kB / 1.355 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/1.7, allocations: 0 / 1.355 GB, free: 12.54 MB / 0.8073 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: 1 * Algorithm blocks: 0 * Record equations: 0 * 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 5.472e-05/1.7, allocations: 181.1 kB / 1.355 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/1.7, allocations: 111.2 kB / 1.355 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/1.7, allocations: 109.8 kB / 1.355 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/1.7, allocations: 186.1 kB / 1.355 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-05/1.7, allocations: 176.8 kB / 1.355 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.953e-05/1.7, allocations: 179.6 kB / 1.356 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/1.7, allocations: 391.5 kB / 1.356 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.7, allocations: 102.3 kB / 1.356 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/1.7, allocations: 106.3 kB / 1.356 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-05/1.7, allocations: 185.9 kB / 1.356 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/1.7, allocations: 180.5 kB / 1.357 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-05/1.7, allocations: 178.9 kB / 1.357 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.868e-05/1.7, allocations: 181.2 kB / 1.357 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.837e-05/1.7, allocations: 310.4 kB / 1.357 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002583/1.701, allocations: 0.6665 MB / 1.358 GB, free: 25.23 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.462e-05/1.701, allocations: 184.2 kB / 1.358 GB, free: 25.03 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/1.701, allocations: 189.1 kB / 1.358 GB, free: 24.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/1.701, allocations: 101 kB / 1.358 GB, free: 24.74 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/1.701, allocations: 183.7 kB / 1.358 GB, free: 24.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/1.701, allocations: 105.3 kB / 1.359 GB, free: 24.45 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.508e-05/1.701, allocations: 88.62 kB / 1.359 GB, free: 24.37 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008986/1.702, allocations: 15.5 kB / 1.359 GB, free: 24.37 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002291/1.702, allocations: 193.3 kB / 1.359 GB, free: 24.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.457e-05/1.702, allocations: 12.47 kB / 1.359 GB, free: 24.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.702, allocations: 4.938 kB / 1.359 GB, free: 24.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/1.702, allocations: 0 / 1.359 GB, free: 24.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/1.703, allocations: 0.5255 MB / 1.359 GB, free: 23.67 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/1.703, allocations: 135.9 kB / 1.359 GB, free: 23.53 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/1.703, allocations: 0.6881 MB / 1.36 GB, free: 22.83 MB / 0.823 GB Notification: Performance of SimCode: time 2.9e-07/1.703, allocations: 0 / 1.36 GB, free: 22.83 MB / 0.823 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe 2>&1)