Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.378/2.378, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.00165/0.00165, allocations: 181.3 kB / 360.3 MB, free: 7.523 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.97/1.97, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001758/0.001758, allocations: 94.33 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.377/0.3788, allocations: 121.4 MB / 0.8503 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7206/1.1, allocations: 115.2 MB / 0.9628 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2667/1.366, allocations: 151.9 MB / 1.111 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005354/1.367, allocations: 109.7 kB / 1.111 GB, free: 4.789 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.157/1.524, allocations: 22.56 MB / 1.133 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.524, allocations: 12.48 kB / 1.133 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006565/1.525, allocations: 92.88 kB / 1.133 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/1.526, allocations: 427.5 kB / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/1.526, allocations: 0 / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/1.526, allocations: 24 kB / 1.134 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005808/1.526, allocations: 427.7 kB / 1.134 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/1.527, allocations: 395 kB / 1.135 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.527, allocations: 0 / 1.135 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/1.527, allocations: 0 / 1.135 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/1.527, allocations: 0 / 1.135 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/1.529, allocations: 0.6942 MB / 1.135 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/1.53, allocations: 0.5594 MB / 1.136 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/1.53, allocations: 333.7 kB / 1.136 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/1.533, allocations: 1.045 MB / 1.137 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008061/1.533, allocations: 392.9 kB / 1.138 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 4.389e-06/1.533, allocations: 0 / 1.138 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.001849/1.535, allocations: 0.7383 MB / 1.138 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/1.535, allocations: 89.09 kB / 1.138 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/1.538, allocations: 1.021 MB / 1.139 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002248/1.538, allocations: 29.7 kB / 1.139 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005303/1.539, allocations: 262 kB / 1.14 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/1.539, allocations: 19.75 kB / 1.14 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/1.539, allocations: 0 / 1.14 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003373/1.539, allocations: 411.8 kB / 1.14 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003197/1.543, allocations: 1.214 MB / 1.141 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003628/1.546, allocations: 1.359 MB / 1.143 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004015/1.55, allocations: 1.607 MB / 1.144 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/1.55, allocations: 0 / 1.144 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01178/1.562, allocations: 7.132 MB / 1.151 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.562, allocations: 4 kB / 1.151 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/1.562, allocations: 0 / 1.151 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/1.562, allocations: 4.844 kB / 1.151 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.564, allocations: 151.8 kB / 1.151 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/1.564, allocations: 5.953 kB / 1.151 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/1.565, allocations: 228.3 kB / 1.151 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/1.565, allocations: 61.11 kB / 1.151 GB, free: 11.11 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.000191/1.566, allocations: 120.8 kB / 1.152 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/1.566, allocations: 66.78 kB / 1.152 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/1.567, allocations: 0.7153 MB / 1.152 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/1.567, allocations: 3.906 kB / 1.152 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.567, allocations: 4.031 kB / 1.152 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.567, allocations: 0 / 1.152 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/1.568, allocations: 472.2 kB / 1.153 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.568, allocations: 0 / 1.153 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/1.568, allocations: 8 kB / 1.153 GB, free: 9.684 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/1.568, allocations: 3.938 kB / 1.153 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/1.568, allocations: 9.703 kB / 1.153 GB, free: 9.672 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.568, allocations: 4 kB / 1.153 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.568, allocations: 0 / 1.153 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0011/1.569, allocations: 0.7894 MB / 1.154 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00127/1.57, allocations: 1.18 MB / 1.155 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/1.571, allocations: 156.5 kB / 1.155 GB, free: 7.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.571, allocations: 0 / 1.155 GB, free: 7.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/1.571, allocations: 7.984 kB / 1.155 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/1.571, allocations: 8 kB / 1.155 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/1.571, allocations: 15.97 kB / 1.155 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001193/1.572, allocations: 0.6141 MB / 1.156 GB, free: 6.82 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003129/1.576, allocations: 0.4993 MB / 1.156 GB, free: 6.32 MB / 0.7605 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.003069/1.579, allocations: 0.5984 MB / 1.157 GB, free: 5.719 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005114/1.584, allocations: 2.353 MB / 1.159 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.584, allocations: 0 / 1.159 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007886/1.585, allocations: 327.8 kB / 1.159 GB, free: 3.039 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/1.585, allocations: 38.23 kB / 1.159 GB, free: 3 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/1.591, allocations: 1.468 MB / 1.161 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002005/1.593, allocations: 1.031 MB / 1.162 GB, free: 452 kB / 0.7605 GB Notification: Performance of SimCode: time 2.515e-06/1.594, allocations: 0 / 1.162 GB, free: 452 kB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8.0.0_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_0_0_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_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)