Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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 8.0.1-maint.8.0.x/package.mo): time 1.392/1.392, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009266/0.0009267, allocations: 173.3 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.097/1.097, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008334/0.0008334, allocations: 91.61 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2081/0.209, allocations: 121.5 MB / 0.8512 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.6754, allocations: 115.3 MB / 0.9638 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.8305, allocations: 152.1 MB / 1.112 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.8308, allocations: 113.1 kB / 1.112 GB, free: 3.77 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.08738/0.9182, allocations: 26.3 MB / 1.138 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.9182, allocations: 8.5 kB / 1.138 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.9187, allocations: 158 kB / 1.138 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.9197, allocations: 0.6259 MB / 1.139 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.9198, allocations: 0 / 1.139 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.9199, allocations: 20 kB / 1.139 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003451/0.9202, allocations: 423.8 kB / 1.139 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.9205, allocations: 391.1 kB / 1.14 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.9206, allocations: 0 / 1.14 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.9206, allocations: 9.844 kB / 1.14 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9206, allocations: 0 / 1.14 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.9217, allocations: 0.9162 MB / 1.141 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.9222, allocations: 0.5556 MB / 1.141 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.9224, allocations: 329.6 kB / 1.141 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009139/0.9234, allocations: 1.037 MB / 1.142 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.9237, allocations: 407.1 kB / 1.143 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.9237, allocations: 0 / 1.143 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0007735/0.9245, allocations: 0.8001 MB / 1.144 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.9245, allocations: 81.11 kB / 1.144 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.9262, allocations: 1.525 MB / 1.145 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.81e-05/0.9263, allocations: 34.81 kB / 1.145 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.9265, allocations: 330 kB / 1.146 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.9266, allocations: 27.64 kB / 1.146 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.9267, allocations: 4.031 kB / 1.146 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.9268, allocations: 407 kB / 1.146 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.9283, allocations: 1.467 MB / 1.147 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.9298, allocations: 1.609 MB / 1.149 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.9315, allocations: 1.868 MB / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.9316, allocations: 0 / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006372/0.9379, allocations: 7.713 MB / 1.158 GB, free: 4.27 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.938, allocations: 12.03 kB / 1.158 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.088e-05/0.938, allocations: 20 kB / 1.158 GB, free: 4.238 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.938, allocations: 7.75 kB / 1.158 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.9387, allocations: 143.7 kB / 1.158 GB, free: 4.094 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.9387, allocations: 7.906 kB / 1.158 GB, free: 4.086 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/0.9394, allocations: 224.4 kB / 1.159 GB, free: 3.863 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.9395, allocations: 95.92 kB / 1.159 GB, free: 3.77 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.0001448/0.9397, allocations: 129 kB / 1.159 GB, free: 3.641 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.9398, allocations: 122 kB / 1.159 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008409/0.9407, allocations: 0.7858 MB / 1.16 GB, free: 2.727 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.9407, allocations: 0 / 1.16 GB, free: 2.727 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.9407, allocations: 7.984 kB / 1.16 GB, free: 2.719 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9407, allocations: 1.5 kB / 1.16 GB, free: 2.719 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.9413, allocations: 0.6479 MB / 1.16 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9413, allocations: 0 / 1.16 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.9414, allocations: 8 kB / 1.16 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.9414, allocations: 8.016 kB / 1.16 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.9414, allocations: 4 kB / 1.16 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.9414, allocations: 0 / 1.16 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.9414, allocations: 0 / 1.16 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006247/0.942, allocations: 0.8543 MB / 1.161 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008226/0.9429, allocations: 1.256 MB / 1.163 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.9431, allocations: 199.1 kB / 1.163 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.9432, allocations: 1.688 kB / 1.163 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.9434, allocations: 11.89 kB / 1.163 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.9435, allocations: 4 kB / 1.163 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.9435, allocations: 15.97 kB / 1.163 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.001002/0.9445, allocations: 1.015 MB / 1.164 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001944/0.9465, allocations: 0.5267 MB / 1.164 GB, free: 14.02 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002053/0.9485, allocations: 0.592 MB / 1.165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002087/0.9506, allocations: 2.509 MB / 1.167 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9507, allocations: 2.625 kB / 1.167 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.9509, allocations: 331.8 kB / 1.168 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.9512, allocations: 46.53 kB / 1.168 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.9537, allocations: 2.124 MB / 1.17 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008314/0.9546, allocations: 1.236 MB / 1.171 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.9546, allocations: 4 kB / 1.171 GB, free: 7.082 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)