Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.221/1.221, allocations: 249.4 MB / 256.7 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001055, allocations: 188.5 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.101/1.101, allocations: 205.1 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007692/0.0007692, allocations: 90.06 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3138/0.3146, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.4705, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4574/0.928, allocations: 146.8 MB / 1.028 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.9283, allocations: 108.7 kB / 1.028 GB, free: 7.793 MB / 0.6511 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.0783/1.007, allocations: 22.58 MB / 1.05 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/1.007, allocations: 8 kB / 1.05 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/1.007, allocations: 98.73 kB / 1.05 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/1.008, allocations: 418.9 kB / 1.051 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/1.008, allocations: 3.984 kB / 1.051 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/1.008, allocations: 28 kB / 1.051 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003379/1.008, allocations: 419.5 kB / 1.051 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/1.008, allocations: 388.9 kB / 1.052 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/1.008, allocations: 0 / 1.052 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/1.008, allocations: 0 / 1.052 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/1.008, allocations: 0 / 1.052 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/1.009, allocations: 0.6913 MB / 1.052 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/1.009, allocations: 0.5582 MB / 1.053 GB, free: 1.695 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/1.01, allocations: 329.2 kB / 1.053 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008393/1.01, allocations: 1.043 MB / 1.054 GB, free: 112 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/1.011, allocations: 399.2 kB / 1.054 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/1.011, allocations: 0 / 1.054 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0006662/1.011, allocations: 0.757 MB / 1.055 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/1.012, allocations: 77.11 kB / 1.055 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/1.012, allocations: 1.026 MB / 1.056 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/1.012, allocations: 25.7 kB / 1.056 GB, free: 14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/1.013, allocations: 255.3 kB / 1.057 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/1.013, allocations: 22.86 kB / 1.057 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/1.013, allocations: 0 / 1.057 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.013, allocations: 419.9 kB / 1.057 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009725/1.014, allocations: 1.209 MB / 1.058 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/1.015, allocations: 1.356 MB / 1.059 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/1.016, allocations: 1.609 MB / 1.061 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.016, allocations: 0 / 1.061 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00526/1.021, allocations: 7.131 MB / 1.068 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/1.021, allocations: 4.844 kB / 1.068 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.021, allocations: 4 kB / 1.068 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/1.021, allocations: 4 kB / 1.068 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/1.022, allocations: 142.2 kB / 1.068 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.022, allocations: 8.062 kB / 1.068 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/1.023, allocations: 232.3 kB / 1.068 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/1.023, allocations: 57.61 kB / 1.068 GB, free: 3.773 MB / 0.6823 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.0001426/1.023, allocations: 116.9 kB / 1.069 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/1.023, allocations: 62.78 kB / 1.069 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007427/1.024, allocations: 0.7269 MB / 1.069 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.024, allocations: 0 / 1.069 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.024, allocations: 4 kB / 1.069 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.024, allocations: 8.031 kB / 1.069 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/1.024, allocations: 467.2 kB / 1.07 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/1.024, allocations: 4 kB / 1.07 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/1.024, allocations: 11.92 kB / 1.07 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.024, allocations: 3.938 kB / 1.07 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/1.024, allocations: 7.938 kB / 1.07 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/1.024, allocations: 3.984 kB / 1.07 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.024, allocations: 0 / 1.07 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005741/1.025, allocations: 0.7832 MB / 1.071 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007413/1.026, allocations: 1.182 MB / 1.072 GB, free: 440 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/1.026, allocations: 159.8 kB / 1.072 GB, free: 260 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/1.026, allocations: 4 kB / 1.072 GB, free: 256 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/1.026, allocations: 0 / 1.072 GB, free: 256 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/1.026, allocations: 11.67 kB / 1.072 GB, free: 248 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/1.026, allocations: 11.98 kB / 1.072 GB, free: 236 kB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005576/1.027, allocations: 0.6134 MB / 1.073 GB, free: 15.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001901/1.028, allocations: 500 kB / 1.073 GB, free: 15.28 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.001421/1.03, allocations: 0.6076 MB / 1.074 GB, free: 14.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001698/1.032, allocations: 2.341 MB / 1.076 GB, free: 13.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.032, allocations: 0 / 1.076 GB, free: 13.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/1.032, allocations: 338 kB / 1.076 GB, free: 12.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/1.032, allocations: 35.09 kB / 1.076 GB, free: 12.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/1.034, allocations: 1.468 MB / 1.078 GB, free: 11.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/1.034, allocations: 1.028 MB / 1.079 GB, free: 10.24 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/1.034, allocations: 0 / 1.079 GB, free: 10.24 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.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_7_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)