Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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 9.1.1-maint.9.1.x/package.mo): time 2.094/2.094, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.00145, allocations: 181.3 kB / 487 MB, free: 5.32 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.3 MB / 0.7819 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 99.62 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.647/0.6481, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.9125, allocations: 142.3 MB / 1.205 GB, free: 26.06 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7441/1.657, allocations: 163.5 MB / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.657, allocations: 107.1 kB / 1.365 GB, free: 11.36 MB / 0.8073 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.07904/1.736, allocations: 22.79 MB / 1.387 GB, free: 7.633 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/1.736, allocations: 11.98 kB / 1.387 GB, free: 7.621 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005003/1.737, allocations: 102.7 kB / 1.387 GB, free: 7.52 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008203/1.737, allocations: 427 kB / 1.388 GB, free: 7.055 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/1.738, allocations: 4 kB / 1.388 GB, free: 7.051 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.599e-05/1.738, allocations: 20 kB / 1.388 GB, free: 7.031 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004029/1.738, allocations: 423.5 kB / 1.388 GB, free: 6.621 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/1.738, allocations: 389.1 kB / 1.389 GB, free: 6.238 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.738, allocations: 0 / 1.389 GB, free: 6.238 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/1.738, allocations: 0 / 1.389 GB, free: 6.238 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.738, allocations: 8 kB / 1.389 GB, free: 6.23 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/1.739, allocations: 0.6874 MB / 1.389 GB, free: 5.613 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/1.74, allocations: 0.562 MB / 1.39 GB, free: 5.039 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/1.74, allocations: 328.1 kB / 1.39 GB, free: 4.719 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/1.741, allocations: 1.044 MB / 1.391 GB, free: 3.453 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/1.742, allocations: 392.1 kB / 1.392 GB, free: 3.062 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/1.742, allocations: 4 kB / 1.392 GB, free: 3.059 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0008183/1.742, allocations: 0.7482 MB / 1.392 GB, free: 2.312 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/1.743, allocations: 88.47 kB / 1.392 GB, free: 2.211 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/1.744, allocations: 1.011 MB / 1.393 GB, free: 1.395 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/1.744, allocations: 25.7 kB / 1.393 GB, free: 1.363 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/1.744, allocations: 263.7 kB / 1.394 GB, free: 1.16 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/1.744, allocations: 19.19 kB / 1.394 GB, free: 1.145 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/1.744, allocations: 3.938 kB / 1.394 GB, free: 1.141 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002387/1.744, allocations: 422.6 kB / 1.394 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/1.745, allocations: 1.214 MB / 1.395 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/1.747, allocations: 1.347 MB / 1.397 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/1.748, allocations: 1.609 MB / 1.398 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.748, allocations: 4 kB / 1.398 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006291/1.754, allocations: 7.128 MB / 1.405 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.755, allocations: 4 kB / 1.405 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.755, allocations: 4.844 kB / 1.405 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/1.755, allocations: 8.031 kB / 1.405 GB, free: 7.547 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/1.755, allocations: 146.5 kB / 1.405 GB, free: 7.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.755, allocations: 4 kB / 1.405 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/1.756, allocations: 228.3 kB / 1.406 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/1.756, allocations: 51.73 kB / 1.406 GB, free: 7.133 MB / 0.8386 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.0001511/1.756, allocations: 119.8 kB / 1.406 GB, free: 7.012 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/1.756, allocations: 66.72 kB / 1.406 GB, free: 6.945 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008886/1.757, allocations: 0.7191 MB / 1.406 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/1.757, allocations: 3.906 kB / 1.406 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.757, allocations: 4 kB / 1.406 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/1.757, allocations: 0 / 1.406 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/1.758, allocations: 474.4 kB / 1.407 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.758, allocations: 0 / 1.407 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.087e-05/1.758, allocations: 7.938 kB / 1.407 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.758, allocations: 0 / 1.407 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/1.758, allocations: 7.984 kB / 1.407 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.758, allocations: 7.938 kB / 1.407 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.758, allocations: 0 / 1.407 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000701/1.759, allocations: 0.7792 MB / 1.408 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00087/1.759, allocations: 1.189 MB / 1.409 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/1.76, allocations: 147.9 kB / 1.409 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.46e-05/1.76, allocations: 4 kB / 1.409 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/1.76, allocations: 11.92 kB / 1.409 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/1.76, allocations: 7.422 kB / 1.409 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/1.76, allocations: 19.97 kB / 1.409 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007578/1.761, allocations: 0.6138 MB / 1.41 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002709/1.763, allocations: 0.501 MB / 1.41 GB, free: 2.625 MB / 0.8386 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.002968/1.766, allocations: 0.5994 MB / 1.411 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002164/1.769, allocations: 2.348 MB / 1.413 GB, free: 456 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.769, allocations: 4.062 kB / 1.413 GB, free: 452 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/1.769, allocations: 330.3 kB / 1.413 GB, free: 128 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/1.769, allocations: 35.42 kB / 1.413 GB, free: 112 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/1.771, allocations: 1.469 MB / 1.415 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007807/1.772, allocations: 1.033 MB / 1.416 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/1.772, allocations: 0 / 1.416 GB, free: 13.58 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)