Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.455/2.455, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.00163/0.001629, allocations: 173.3 kB / 360.3 MB, free: 7.562 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.841/1.841, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001688/0.001687, allocations: 84.53 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3101/0.3119, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.982, allocations: 115.2 MB / 0.9628 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2835/1.266, allocations: 151.9 MB / 1.111 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006167/1.266, allocations: 109.3 kB / 1.111 GB, free: 4.836 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.2512/1.517, allocations: 26.31 MB / 1.137 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.548e-05/1.518, allocations: 8.5 kB / 1.137 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/1.519, allocations: 154 kB / 1.137 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/1.521, allocations: 0.6259 MB / 1.138 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/1.522, allocations: 0 / 1.138 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/1.522, allocations: 27.38 kB / 1.138 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008416/1.523, allocations: 427.7 kB / 1.138 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007483/1.523, allocations: 383.2 kB / 1.138 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/1.523, allocations: 0 / 1.138 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/1.524, allocations: 3.906 kB / 1.139 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/1.524, allocations: 0 / 1.139 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/1.526, allocations: 0.9162 MB / 1.139 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.528, allocations: 0.5606 MB / 1.14 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006055/1.528, allocations: 325.7 kB / 1.14 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002111/1.53, allocations: 1.045 MB / 1.141 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007778/1.531, allocations: 396.8 kB / 1.142 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 4.839e-06/1.531, allocations: 0 / 1.142 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.002186/1.533, allocations: 0.8076 MB / 1.142 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.739e-05/1.534, allocations: 81.11 kB / 1.143 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004445/1.538, allocations: 1.533 MB / 1.144 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003466/1.538, allocations: 25.7 kB / 1.144 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008628/1.539, allocations: 330 kB / 1.144 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/1.539, allocations: 27.64 kB / 1.144 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/1.54, allocations: 0 / 1.144 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003689/1.54, allocations: 407 kB / 1.145 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004401/1.544, allocations: 1.475 MB / 1.146 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004524/1.549, allocations: 1.605 MB / 1.148 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005245/1.554, allocations: 1.868 MB / 1.15 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/1.554, allocations: 0 / 1.15 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01752/1.572, allocations: 7.709 MB / 1.157 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/1.572, allocations: 8 kB / 1.157 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002504/1.572, allocations: 23.98 kB / 1.157 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.383e-05/1.572, allocations: 4 kB / 1.157 GB, free: 5.281 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/1.575, allocations: 147.7 kB / 1.157 GB, free: 5.137 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/1.575, allocations: 7.906 kB / 1.157 GB, free: 5.129 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/1.577, allocations: 228.3 kB / 1.158 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003194/1.577, allocations: 91.98 kB / 1.158 GB, free: 4.812 MB / 0.7605 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.0002722/1.577, allocations: 120.9 kB / 1.158 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/1.578, allocations: 118 kB / 1.158 GB, free: 4.57 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/1.58, allocations: 0.7888 MB / 1.159 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.58, allocations: 1.031 kB / 1.159 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.58, allocations: 0 / 1.159 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.58, allocations: 12.02 kB / 1.159 GB, free: 3.766 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/1.581, allocations: 0.6517 MB / 1.159 GB, free: 3.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.582, allocations: 0 / 1.159 GB, free: 3.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/1.582, allocations: 8 kB / 1.159 GB, free: 3.062 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/1.582, allocations: 0 / 1.159 GB, free: 3.062 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/1.582, allocations: 7.984 kB / 1.159 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/1.582, allocations: 0 / 1.159 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.582, allocations: 0 / 1.159 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001639/1.583, allocations: 0.8544 MB / 1.16 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001963/1.585, allocations: 1.246 MB / 1.161 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/1.586, allocations: 199.1 kB / 1.162 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/1.586, allocations: 8 kB / 1.162 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/1.587, allocations: 11.89 kB / 1.162 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/1.587, allocations: 4 kB / 1.162 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.021e-05/1.587, allocations: 10.11 kB / 1.162 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.003016/1.59, allocations: 1.015 MB / 1.163 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004964/1.595, allocations: 0.5315 MB / 1.163 GB, free: 15.06 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.004844/1.6, allocations: 0.5968 MB / 1.164 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005744/1.606, allocations: 2.501 MB / 1.166 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.606, allocations: 0 / 1.166 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007121/1.607, allocations: 331.8 kB / 1.166 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/1.608, allocations: 42.55 kB / 1.166 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007254/1.615, allocations: 2.143 MB / 1.169 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/1.617, allocations: 1.235 MB / 1.17 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of SimCode: time 1.703e-06/1.617, allocations: 0 / 1.17 GB, free: 8.133 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)