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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 7.102 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.001036/0.001036, allocations: 192.3 kB / 316 MB, free: 3.543 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.125/1.125, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0008629/0.0008629, allocations: 86.09 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3239/0.3248, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.4769, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4566/0.9336, allocations: 151.3 MB / 1.032 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/0.9339, allocations: 112.7 kB / 1.033 GB, free: 3.305 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.1006/1.035, allocations: 30.39 MB / 1.062 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/1.035, allocations: 8 kB / 1.062 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003569/1.035, allocations: 106.6 kB / 1.062 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/1.036, allocations: 475.5 kB / 1.063 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/1.036, allocations: 4 kB / 1.063 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/1.036, allocations: 20 kB / 1.063 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003453/1.036, allocations: 427.5 kB / 1.063 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/1.036, allocations: 385.6 kB / 1.064 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/1.036, allocations: 0 / 1.064 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.036, allocations: 7.984 kB / 1.064 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/1.036, allocations: 0 / 1.064 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/1.037, allocations: 0.7106 MB / 1.064 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/1.038, allocations: 0.5549 MB / 1.065 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/1.038, allocations: 340 kB / 1.065 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008814/1.039, allocations: 1.04 MB / 1.066 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003583/1.039, allocations: 402.4 kB / 1.067 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/1.039, allocations: 0 / 1.067 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.000704/1.04, allocations: 0.7482 MB / 1.067 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/1.04, allocations: 81.11 kB / 1.067 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009556/1.041, allocations: 1.078 MB / 1.068 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/1.041, allocations: 25.7 kB / 1.068 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/1.041, allocations: 273.1 kB / 1.069 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/1.041, allocations: 19.17 kB / 1.069 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/1.041, allocations: 0 / 1.069 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.041, allocations: 421 kB / 1.069 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/1.042, allocations: 1.219 MB / 1.07 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/1.044, allocations: 1.349 MB / 1.072 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/1.045, allocations: 1.606 MB / 1.073 GB, free: 15.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.045, allocations: 4 kB / 1.073 GB, free: 15.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005791/1.051, allocations: 7.142 MB / 1.08 GB, free: 9.227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.051, allocations: 4 kB / 1.08 GB, free: 9.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/1.051, allocations: 4 kB / 1.08 GB, free: 9.219 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.051, allocations: 7.938 kB / 1.08 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/1.052, allocations: 149.7 kB / 1.08 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.052, allocations: 4 kB / 1.08 GB, free: 9.066 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/1.052, allocations: 224.3 kB / 1.081 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/1.052, allocations: 58.8 kB / 1.081 GB, free: 8.793 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.0001433/1.053, allocations: 120.9 kB / 1.081 GB, free: 8.668 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/1.053, allocations: 70.69 kB / 1.081 GB, free: 8.598 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008451/1.053, allocations: 0.7257 MB / 1.082 GB, free: 7.871 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.053, allocations: 0 / 1.082 GB, free: 7.871 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.053, allocations: 4 kB / 1.082 GB, free: 7.867 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.053, allocations: 0 / 1.082 GB, free: 7.867 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/1.054, allocations: 0.4937 MB / 1.082 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.054, allocations: 4 kB / 1.082 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-05/1.054, allocations: 12.02 kB / 1.082 GB, free: 7.414 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.054, allocations: 3.906 kB / 1.082 GB, free: 7.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/1.054, allocations: 4 kB / 1.082 GB, free: 7.406 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.054, allocations: 0 / 1.082 GB, free: 7.406 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.054, allocations: 0 / 1.082 GB, free: 7.406 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006531/1.055, allocations: 0.796 MB / 1.083 GB, free: 6.598 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007726/1.056, allocations: 1.193 MB / 1.084 GB, free: 5.402 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/1.056, allocations: 155.8 kB / 1.084 GB, free: 5.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/1.056, allocations: 7.891 kB / 1.084 GB, free: 5.223 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/1.056, allocations: 11.25 kB / 1.084 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/1.056, allocations: 7.984 kB / 1.084 GB, free: 5.207 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/1.056, allocations: 11.98 kB / 1.084 GB, free: 5.195 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0006425/1.057, allocations: 0.6555 MB / 1.085 GB, free: 4.668 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00214/1.059, allocations: 0.5132 MB / 1.085 GB, free: 4.203 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.002083/1.061, allocations: 0.6905 MB / 1.086 GB, free: 3.523 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002212/1.063, allocations: 2.355 MB / 1.088 GB, free: 1.941 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.063, allocations: 0 / 1.088 GB, free: 1.941 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/1.063, allocations: 334.6 kB / 1.089 GB, free: 1.621 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/1.064, allocations: 45.34 kB / 1.089 GB, free: 1.598 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/1.066, allocations: 1.534 MB / 1.09 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/1.066, allocations: 1.058 MB / 1.091 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/1.066, allocations: 0 / 1.091 GB, free: 14.99 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)