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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.584/1.584, allocations: 289.8 MB / 297.1 MB, free: 6.727 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.001216/0.001216, allocations: 173.3 kB / 366.3 MB, free: 1.996 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.633/1.633, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.0009728/0.0009728, allocations: 92.12 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2905/0.2915, allocations: 122.5 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/1.027, allocations: 116.3 MB / 0.9727 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/1.234, allocations: 157.6 MB / 1.127 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/1.234, allocations: 116.8 kB / 1.127 GB, free: 6.785 MB / 0.7292 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.1069/1.341, allocations: 30.39 MB / 1.156 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.341, allocations: 11.94 kB / 1.156 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/1.342, allocations: 106.6 kB / 1.157 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007864/1.342, allocations: 477.3 kB / 1.157 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/1.342, allocations: 0 / 1.157 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/1.342, allocations: 20 kB / 1.157 GB, free: 7.652 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003843/1.343, allocations: 423.8 kB / 1.157 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/1.343, allocations: 385.3 kB / 1.158 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/1.343, allocations: 4 kB / 1.158 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/1.343, allocations: 0 / 1.158 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/1.343, allocations: 4.969 kB / 1.158 GB, free: 6.844 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008055/1.344, allocations: 0.7186 MB / 1.158 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/1.345, allocations: 0.5594 MB / 1.159 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/1.345, allocations: 329.7 kB / 1.159 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.346, allocations: 1.04 MB / 1.16 GB, free: 3.918 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/1.346, allocations: 396.9 kB / 1.161 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/1.346, allocations: 0 / 1.161 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0009374/1.347, allocations: 0.7577 MB / 1.161 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/1.347, allocations: 85.05 kB / 1.162 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/1.349, allocations: 1.08 MB / 1.163 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/1.349, allocations: 25.7 kB / 1.163 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/1.349, allocations: 270.8 kB / 1.163 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/1.349, allocations: 19.75 kB / 1.163 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/1.349, allocations: 0 / 1.163 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002416/1.349, allocations: 427.7 kB / 1.163 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/1.351, allocations: 1.214 MB / 1.164 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/1.352, allocations: 1.351 MB / 1.166 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/1.354, allocations: 1.607 MB / 1.167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.354, allocations: 4 kB / 1.167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006559/1.36, allocations: 7.137 MB / 1.174 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/1.361, allocations: 8 kB / 1.174 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/1.361, allocations: 0 / 1.174 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/1.361, allocations: 8 kB / 1.174 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007541/1.361, allocations: 143.8 kB / 1.175 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.361, allocations: 4 kB / 1.175 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/1.362, allocations: 232.3 kB / 1.175 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/1.362, allocations: 51.98 kB / 1.175 GB, free: 4.992 MB / 0.7761 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.0001702/1.363, allocations: 124.8 kB / 1.175 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/1.363, allocations: 70.69 kB / 1.175 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008711/1.363, allocations: 0.7313 MB / 1.176 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.364, allocations: 0 / 1.176 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.364, allocations: 0 / 1.176 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.364, allocations: 0 / 1.176 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/1.364, allocations: 0.4932 MB / 1.176 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.364, allocations: 4.031 kB / 1.176 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/1.364, allocations: 4 kB / 1.176 GB, free: 3.516 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.364, allocations: 0 / 1.176 GB, free: 3.516 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/1.364, allocations: 7.984 kB / 1.176 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.364, allocations: 0 / 1.176 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.364, allocations: 0 / 1.176 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006863/1.365, allocations: 0.8043 MB / 1.177 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008839/1.366, allocations: 1.189 MB / 1.178 GB, free: 1.461 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/1.366, allocations: 159.7 kB / 1.178 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.558e-05/1.366, allocations: 4 kB / 1.178 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/1.366, allocations: 11.98 kB / 1.178 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/1.366, allocations: 5.312 kB / 1.178 GB, free: 1.266 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/1.366, allocations: 19.91 kB / 1.178 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0008679/1.367, allocations: 0.6556 MB / 1.179 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002836/1.37, allocations: 0.5149 MB / 1.179 GB, free: 72 kB / 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.002367/1.372, allocations: 0.6864 MB / 1.18 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002627/1.375, allocations: 2.353 MB / 1.182 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.375, allocations: 0 / 1.182 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/1.375, allocations: 331.8 kB / 1.183 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/1.376, allocations: 48.72 kB / 1.183 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/1.378, allocations: 1.531 MB / 1.184 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007707/1.379, allocations: 1.051 MB / 1.185 GB, free: 9.996 MB / 0.7917 GB Notification: Performance of SimCode: time 7.91e-07/1.379, allocations: 0 / 1.185 GB, free: 9.996 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)