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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.342/2.342, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001628/0.001628, allocations: 193.2 kB / 360.3 MB, free: 7.523 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.819/1.819, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001208/0.001207, allocations: 94.33 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2826/0.2838, allocations: 121.4 MB / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.944, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.268/1.212, allocations: 156.4 MB / 1.116 GB, free: 400 kB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004602/1.213, allocations: 118.2 kB / 1.116 GB, free: 284 kB / 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.2188/1.431, allocations: 30.38 MB / 1.145 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.431, allocations: 8.5 kB / 1.145 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000607/1.432, allocations: 106.6 kB / 1.145 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/1.433, allocations: 468.6 kB / 1.146 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/1.433, allocations: 3.984 kB / 1.146 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/1.433, allocations: 24 kB / 1.146 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005545/1.434, allocations: 419.8 kB / 1.146 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/1.434, allocations: 385.8 kB / 1.147 GB, free: 476 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.434, allocations: 0 / 1.147 GB, free: 476 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/1.434, allocations: 4 kB / 1.147 GB, free: 472 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/1.435, allocations: 3.984 kB / 1.147 GB, free: 468 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/1.436, allocations: 0.7225 MB / 1.147 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007173/1.437, allocations: 0.5555 MB / 1.148 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/1.437, allocations: 333.7 kB / 1.148 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/1.439, allocations: 1.041 MB / 1.149 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005359/1.439, allocations: 398.8 kB / 1.15 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 2.795e-06/1.439, allocations: 0 / 1.15 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.001331/1.44, allocations: 0.7577 MB / 1.15 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/1.441, allocations: 81.11 kB / 1.15 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/1.442, allocations: 1.076 MB / 1.152 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/1.443, allocations: 29.7 kB / 1.152 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/1.443, allocations: 262 kB / 1.152 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/1.443, allocations: 19.8 kB / 1.152 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/1.443, allocations: 4.031 kB / 1.152 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002652/1.443, allocations: 431.7 kB / 1.152 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/1.445, allocations: 1.214 MB / 1.153 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/1.448, allocations: 1.355 MB / 1.155 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/1.451, allocations: 1.607 MB / 1.156 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.451, allocations: 0 / 1.156 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01025/1.461, allocations: 7.136 MB / 1.163 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/1.461, allocations: 4.031 kB / 1.163 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/1.461, allocations: 4 kB / 1.163 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/1.461, allocations: 4 kB / 1.163 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.463, allocations: 147.7 kB / 1.163 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/1.463, allocations: 4 kB / 1.163 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.464, allocations: 225.4 kB / 1.164 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/1.464, allocations: 63.97 kB / 1.164 GB, free: 14.61 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.0002037/1.464, allocations: 124.1 kB / 1.164 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/1.464, allocations: 74.69 kB / 1.164 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/1.466, allocations: 0.728 MB / 1.165 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/1.466, allocations: 0 / 1.165 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/1.466, allocations: 4 kB / 1.165 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.466, allocations: 0 / 1.165 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/1.467, allocations: 0.4893 MB / 1.165 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.467, allocations: 0 / 1.165 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/1.467, allocations: 11.98 kB / 1.165 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/1.467, allocations: 6.031 kB / 1.165 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/1.467, allocations: 0 / 1.165 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/1.467, allocations: 7.984 kB / 1.165 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.467, allocations: 0 / 1.165 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001081/1.468, allocations: 0.7863 MB / 1.166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00125/1.469, allocations: 1.203 MB / 1.167 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/1.47, allocations: 159.8 kB / 1.167 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/1.47, allocations: 4 kB / 1.167 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/1.47, allocations: 4 kB / 1.167 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/1.47, allocations: 7.984 kB / 1.167 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/1.47, allocations: 15.98 kB / 1.167 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.00128/1.472, allocations: 0.6556 MB / 1.168 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00317/1.475, allocations: 0.5188 MB / 1.168 GB, free: 9.691 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.003122/1.478, allocations: 0.6853 MB / 1.169 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003846/1.482, allocations: 2.345 MB / 1.171 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.482, allocations: 0 / 1.171 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005211/1.482, allocations: 343.9 kB / 1.172 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/1.483, allocations: 51.36 kB / 1.172 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/1.487, allocations: 1.535 MB / 1.173 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.488, allocations: 1.055 MB / 1.174 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of SimCode: time 1.713e-06/1.488, allocations: 0 / 1.174 GB, free: 3.617 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)