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_1borehole_5meters.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_1borehole_5meters,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.405/1.405, allocations: 285.5 MB / 292.8 MB, free: 9.953 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.0009481/0.0009483, allocations: 177.1 kB / 361.1 MB, free: 348 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.143/1.143, allocations: 205.1 MB / 0.6195 GB, free: 2.855 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008787/0.0008787, allocations: 100.2 kB / 0.7326 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3925/0.3934, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.5578, allocations: 115.3 MB / 0.9638 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4871/1.045, allocations: 152.1 MB / 1.112 GB, free: 24.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.045, allocations: 109.3 kB / 1.112 GB, free: 24.11 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.07457/1.12, allocations: 22.55 MB / 1.134 GB, free: 21.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/1.12, allocations: 7.75 kB / 1.134 GB, free: 21.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003539/1.12, allocations: 101.6 kB / 1.135 GB, free: 21.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/1.121, allocations: 424.2 kB / 1.135 GB, free: 21.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/1.121, allocations: 0 / 1.135 GB, free: 21.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/1.121, allocations: 19.41 kB / 1.135 GB, free: 21.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002642/1.121, allocations: 429.2 kB / 1.135 GB, free: 21.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/1.121, allocations: 390 kB / 1.136 GB, free: 21.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/1.121, allocations: 0 / 1.136 GB, free: 21.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.121, allocations: 0 / 1.136 GB, free: 21.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.121, allocations: 3.75 kB / 1.136 GB, free: 21.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/1.122, allocations: 0.6979 MB / 1.136 GB, free: 21.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/1.122, allocations: 0.5478 MB / 1.137 GB, free: 21.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/1.122, allocations: 334.7 kB / 1.137 GB, free: 21.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007683/1.123, allocations: 1.047 MB / 1.138 GB, free: 20.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/1.123, allocations: 391.5 kB / 1.139 GB, free: 20.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/1.123, allocations: 0 / 1.139 GB, free: 20.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0005564/1.124, allocations: 0.7562 MB / 1.139 GB, free: 19.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/1.124, allocations: 80.98 kB / 1.14 GB, free: 35.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/1.125, allocations: 1.019 MB / 1.141 GB, free: 35.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/1.125, allocations: 25.7 kB / 1.141 GB, free: 35.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/1.125, allocations: 259 kB / 1.141 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/1.125, allocations: 21.41 kB / 1.141 GB, free: 35.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/1.125, allocations: 0 / 1.141 GB, free: 35.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.125, allocations: 415.7 kB / 1.141 GB, free: 35.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009161/1.126, allocations: 1.219 MB / 1.142 GB, free: 35.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009927/1.127, allocations: 1.351 MB / 1.144 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/1.128, allocations: 1.606 MB / 1.145 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.128, allocations: 3.938 kB / 1.145 GB, free: 34.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004553/1.133, allocations: 7.136 MB / 1.152 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.133, allocations: 4.5 kB / 1.152 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.133, allocations: 0 / 1.152 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/1.133, allocations: 4.5 kB / 1.152 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/1.134, allocations: 146.1 kB / 1.152 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/1.134, allocations: 3.875 kB / 1.152 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/1.134, allocations: 228.5 kB / 1.153 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.231e-05/1.134, allocations: 62.48 kB / 1.153 GB, free: 33.77 MB / 0.7292 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.0001233/1.134, allocations: 119.5 kB / 1.153 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/1.135, allocations: 63.22 kB / 1.153 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006316/1.135, allocations: 0.72 MB / 1.154 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.135, allocations: 3.906 kB / 1.154 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.135, allocations: 3.906 kB / 1.154 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.135, allocations: 0 / 1.154 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/1.135, allocations: 474.4 kB / 1.154 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.136, allocations: 0 / 1.154 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/1.136, allocations: 6.531 kB / 1.154 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.136, allocations: 3.844 kB / 1.154 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.136, allocations: 5.625 kB / 1.154 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.136, allocations: 0 / 1.154 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.136, allocations: 7.938 kB / 1.154 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005204/1.136, allocations: 0.7854 MB / 1.155 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007898/1.137, allocations: 1.186 MB / 1.156 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/1.137, allocations: 151.8 kB / 1.156 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/1.137, allocations: 4.984 kB / 1.156 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/1.137, allocations: 5.75 kB / 1.156 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/1.137, allocations: 6.562 kB / 1.156 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/1.137, allocations: 12.98 kB / 1.156 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0006592/1.138, allocations: 0.6151 MB / 1.157 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002223/1.14, allocations: 0.503 MB / 1.157 GB, free: 32.32 MB / 0.7292 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.002378/1.143, allocations: 0.6059 MB / 1.158 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001668/1.144, allocations: 2.347 MB / 1.16 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.144, allocations: 0 / 1.16 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/1.145, allocations: 339.8 kB / 1.16 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/1.145, allocations: 33.28 kB / 1.16 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/1.146, allocations: 1.467 MB / 1.162 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006238/1.147, allocations: 1.033 MB / 1.163 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/1.147, allocations: 0 / 1.163 GB, free: 31.01 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)