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_100boreholes.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_100boreholes,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.566/1.566, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001197/0.001197, allocations: 173.3 kB / 366.3 MB, free: 2.004 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.582/1.582, allocations: 205.1 MB / 0.6256 GB, free: 7.469 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.001019/0.001019, allocations: 88.58 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3115/0.3125, allocations: 122.5 MB / 0.8591 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7171/1.03, allocations: 116.3 MB / 0.9727 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/1.234, allocations: 153.1 MB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000434/1.235, allocations: 117.2 kB / 1.122 GB, free: 13.21 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.09809/1.333, allocations: 26.31 MB / 1.148 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.333, allocations: 8.562 kB / 1.148 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006651/1.334, allocations: 154 kB / 1.148 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/1.335, allocations: 0.6221 MB / 1.149 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/1.335, allocations: 0 / 1.149 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/1.335, allocations: 24 kB / 1.149 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004616/1.336, allocations: 423.7 kB / 1.149 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/1.336, allocations: 391.7 kB / 1.15 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.336, allocations: 0 / 1.15 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/1.336, allocations: 3.906 kB / 1.15 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/1.336, allocations: 2.438 kB / 1.15 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/1.338, allocations: 0.9162 MB / 1.15 GB, free: 236 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/1.338, allocations: 0.5555 MB / 1.151 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/1.339, allocations: 334.7 kB / 1.151 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/1.34, allocations: 1.036 MB / 1.152 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003905/1.34, allocations: 400.8 kB / 1.153 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/1.34, allocations: 0 / 1.153 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0009807/1.341, allocations: 0.807 MB / 1.154 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/1.341, allocations: 81.11 kB / 1.154 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/1.344, allocations: 1.529 MB / 1.155 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/1.344, allocations: 25.7 kB / 1.155 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/1.344, allocations: 334 kB / 1.155 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/1.344, allocations: 27.64 kB / 1.155 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/1.344, allocations: 0 / 1.155 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002351/1.345, allocations: 408.2 kB / 1.156 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/1.346, allocations: 1.467 MB / 1.157 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/1.348, allocations: 1.609 MB / 1.159 GB, free: 7.293 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/1.35, allocations: 1.864 MB / 1.161 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.35, allocations: 8 kB / 1.161 GB, free: 5.406 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008635/1.359, allocations: 7.713 MB / 1.168 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.359, allocations: 7.984 kB / 1.168 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-05/1.359, allocations: 20 kB / 1.168 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/1.359, allocations: 4 kB / 1.168 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/1.36, allocations: 143.8 kB / 1.168 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/1.36, allocations: 7.906 kB / 1.168 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009294/1.361, allocations: 228.3 kB / 1.169 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/1.361, allocations: 100 kB / 1.169 GB, free: 13.15 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.0001863/1.361, allocations: 118.2 kB / 1.169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/1.361, allocations: 122 kB / 1.169 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/1.363, allocations: 0.7791 MB / 1.17 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.363, allocations: 4 kB / 1.17 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.363, allocations: 3.984 kB / 1.17 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.363, allocations: 0 / 1.17 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/1.364, allocations: 0.6556 MB / 1.17 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.364, allocations: 4.031 kB / 1.17 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/1.364, allocations: 11.12 kB / 1.17 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.364, allocations: 0 / 1.17 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/1.364, allocations: 7.984 kB / 1.17 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.364, allocations: 0 / 1.17 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.364, allocations: 0 / 1.17 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009029/1.365, allocations: 0.8505 MB / 1.171 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001282/1.366, allocations: 1.251 MB / 1.172 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/1.367, allocations: 199.1 kB / 1.173 GB, free: 9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/1.367, allocations: 0 / 1.173 GB, free: 9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/1.367, allocations: 15.89 kB / 1.173 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/1.367, allocations: 11.98 kB / 1.173 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/1.367, allocations: 15.97 kB / 1.173 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.001575/1.369, allocations: 1.011 MB / 1.174 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002964/1.372, allocations: 0.5267 MB / 1.174 GB, free: 7.395 MB / 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.002964/1.375, allocations: 0.5999 MB / 1.175 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002867/1.378, allocations: 2.498 MB / 1.177 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.378, allocations: 3.938 kB / 1.177 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003167/1.378, allocations: 328.6 kB / 1.177 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/1.378, allocations: 48.48 kB / 1.178 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/1.382, allocations: 2.132 MB / 1.18 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/1.383, allocations: 1.232 MB / 1.181 GB, free: 472 kB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/1.383, allocations: 3.938 kB / 1.181 GB, free: 468 kB / 0.7761 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)