Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 289.8 MB / 297.1 MB, free: 8.996 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.001892/0.001892, allocations: 173.3 kB / 366.3 MB, free: 11.29 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.627/1.627, allocations: 205.1 MB / 0.6256 GB, free: 11.33 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008774/0.0008775, allocations: 89.28 kB / 0.7396 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5579/0.5588, allocations: 122.5 MB / 0.8591 GB, free: 147.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.8174, allocations: 116.3 MB / 0.9727 GB, free: 31.56 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7455/1.563, allocations: 153.1 MB / 1.122 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004654/1.563, allocations: 111.8 kB / 1.122 GB, free: 16.21 MB / 0.6823 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.08852/1.652, allocations: 22.58 MB / 1.144 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.652, allocations: 8.25 kB / 1.144 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006089/1.653, allocations: 96.73 kB / 1.144 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009621/1.654, allocations: 423.2 kB / 1.145 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.654, allocations: 1.938 kB / 1.145 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/1.654, allocations: 23.91 kB / 1.145 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004424/1.654, allocations: 431.8 kB / 1.145 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/1.655, allocations: 394.2 kB / 1.146 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.655, allocations: 0 / 1.146 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/1.655, allocations: 0 / 1.146 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/1.655, allocations: 0 / 1.146 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009065/1.656, allocations: 0.6856 MB / 1.146 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/1.656, allocations: 0.5546 MB / 1.147 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/1.656, allocations: 340.5 kB / 1.147 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008741/1.657, allocations: 1.033 MB / 1.148 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/1.657, allocations: 403.4 kB / 1.149 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/1.657, allocations: 0 / 1.149 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0006944/1.658, allocations: 0.7487 MB / 1.149 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/1.658, allocations: 85.02 kB / 1.149 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/1.659, allocations: 1.018 MB / 1.15 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/1.659, allocations: 33.73 kB / 1.15 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/1.659, allocations: 256.6 kB / 1.151 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/1.66, allocations: 19.23 kB / 1.151 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/1.66, allocations: 3.938 kB / 1.151 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.66, allocations: 419 kB / 1.151 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/1.661, allocations: 1.214 MB / 1.152 GB, free: 96 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/1.662, allocations: 1.349 MB / 1.154 GB, free: 15.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/1.664, allocations: 1.611 MB / 1.155 GB, free: 13.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.664, allocations: 0 / 1.155 GB, free: 13.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007707/1.672, allocations: 7.135 MB / 1.162 GB, free: 7.676 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.672, allocations: 4 kB / 1.162 GB, free: 7.672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.672, allocations: 0 / 1.162 GB, free: 7.672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/1.672, allocations: 4 kB / 1.162 GB, free: 7.668 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/1.672, allocations: 146.9 kB / 1.162 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.672, allocations: 0 / 1.162 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008823/1.673, allocations: 236.2 kB / 1.163 GB, free: 7.297 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/1.674, allocations: 62.92 kB / 1.163 GB, free: 7.242 MB / 0.698 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.0001873/1.674, allocations: 113 kB / 1.163 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.475e-05/1.674, allocations: 62.78 kB / 1.163 GB, free: 7.062 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008293/1.675, allocations: 0.7213 MB / 1.163 GB, free: 6.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.675, allocations: 4 kB / 1.163 GB, free: 6.336 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.675, allocations: 3.906 kB / 1.163 GB, free: 6.332 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.675, allocations: 0 / 1.163 GB, free: 6.332 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/1.675, allocations: 471.7 kB / 1.164 GB, free: 5.918 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.675, allocations: 3.984 kB / 1.164 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/1.675, allocations: 8 kB / 1.164 GB, free: 5.906 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/1.675, allocations: 0 / 1.164 GB, free: 5.906 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/1.675, allocations: 7.797 kB / 1.164 GB, free: 5.902 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/1.675, allocations: 7.938 kB / 1.164 GB, free: 5.895 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.675, allocations: 3.906 kB / 1.164 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000679/1.676, allocations: 0.775 MB / 1.165 GB, free: 5.102 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00089/1.677, allocations: 1.179 MB / 1.166 GB, free: 3.918 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/1.677, allocations: 155.9 kB / 1.166 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/1.677, allocations: 0 / 1.166 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/1.677, allocations: 8 kB / 1.166 GB, free: 3.738 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/1.677, allocations: 15.86 kB / 1.166 GB, free: 3.723 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/1.677, allocations: 15.8 kB / 1.166 GB, free: 3.711 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0007253/1.678, allocations: 0.6082 MB / 1.167 GB, free: 3.211 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002934/1.681, allocations: 0.5021 MB / 1.167 GB, free: 2.75 MB / 0.698 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.001957/1.683, allocations: 0.5926 MB / 1.168 GB, free: 2.184 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002144/1.685, allocations: 2.349 MB / 1.17 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.685, allocations: 0 / 1.17 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/1.686, allocations: 341.5 kB / 1.17 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/1.686, allocations: 31.7 kB / 1.17 GB, free: 276 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/1.688, allocations: 1.469 MB / 1.172 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007771/1.689, allocations: 1.034 MB / 1.173 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/1.689, allocations: 0 / 1.173 GB, free: 13.75 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)