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_100boreholes.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_100boreholes,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.065/2.065, allocations: 387.2 MB / 394.5 MB, free: 13.6 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.00113/0.00113, allocations: 169.3 kB / 487 MB, free: 5.344 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.615/1.615, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.0009806/0.0009805, allocations: 92.64 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5852/0.5862, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.8547, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7112/1.566, allocations: 163.5 MB / 1.365 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/1.566, allocations: 110.4 kB / 1.365 GB, free: 11.65 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.08848/1.655, allocations: 26.63 MB / 1.391 GB, free: 4.477 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/1.655, allocations: 8 kB / 1.391 GB, free: 4.469 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005432/1.656, allocations: 157.9 kB / 1.391 GB, free: 4.312 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/1.657, allocations: 0.6259 MB / 1.392 GB, free: 3.621 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/1.657, allocations: 4 kB / 1.392 GB, free: 3.617 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/1.657, allocations: 20 kB / 1.392 GB, free: 3.598 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004097/1.657, allocations: 423.6 kB / 1.392 GB, free: 3.188 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/1.658, allocations: 382.6 kB / 1.393 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.658, allocations: 0 / 1.393 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.658, allocations: 0 / 1.393 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/1.658, allocations: 7.906 kB / 1.393 GB, free: 2.801 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/1.659, allocations: 0.9158 MB / 1.394 GB, free: 2.008 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/1.66, allocations: 0.554 MB / 1.394 GB, free: 1.441 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/1.66, allocations: 340.7 kB / 1.394 GB, free: 1.109 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/1.661, allocations: 1.032 MB / 1.395 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/1.661, allocations: 403.4 kB / 1.396 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/1.661, allocations: 0.8438 kB / 1.396 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0009788/1.662, allocations: 0.7993 MB / 1.397 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/1.662, allocations: 77.11 kB / 1.397 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/1.665, allocations: 1.532 MB / 1.398 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-05/1.665, allocations: 25.7 kB / 1.398 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/1.665, allocations: 341.8 kB / 1.399 GB, free: 13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/1.665, allocations: 22.03 kB / 1.399 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/1.665, allocations: 3.938 kB / 1.399 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.665, allocations: 409.6 kB / 1.399 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.667, allocations: 1.468 MB / 1.4 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/1.668, allocations: 1.606 MB / 1.402 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/1.67, allocations: 1.871 MB / 1.404 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.67, allocations: 0 / 1.404 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007039/1.677, allocations: 7.722 MB / 1.411 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.677, allocations: 4 kB / 1.411 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-05/1.677, allocations: 23.94 kB / 1.411 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.677, allocations: 4 kB / 1.411 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/1.678, allocations: 139.5 kB / 1.411 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.678, allocations: 4.547 kB / 1.411 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/1.679, allocations: 228.3 kB / 1.412 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/1.679, allocations: 96.34 kB / 1.412 GB, free: 1.57 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.0001378/1.679, allocations: 120.3 kB / 1.412 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/1.679, allocations: 122 kB / 1.412 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/1.68, allocations: 0.7917 MB / 1.413 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.68, allocations: 4 kB / 1.413 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.68, allocations: 0 / 1.413 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.68, allocations: 0 / 1.413 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/1.681, allocations: 0.6539 MB / 1.413 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.681, allocations: 0 / 1.413 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.777e-05/1.681, allocations: 8.031 kB / 1.413 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.681, allocations: 0 / 1.413 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/1.681, allocations: 7.984 kB / 1.413 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.681, allocations: 0 / 1.413 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.681, allocations: 0 / 1.413 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006557/1.682, allocations: 0.8525 MB / 1.414 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008282/1.683, allocations: 1.25 MB / 1.416 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/1.683, allocations: 199.1 kB / 1.416 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.683, allocations: 0 / 1.416 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/1.683, allocations: 19.7 kB / 1.416 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/1.683, allocations: 8 kB / 1.416 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/1.683, allocations: 15.97 kB / 1.416 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.00103/1.684, allocations: 1.017 MB / 1.417 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002346/1.687, allocations: 0.5332 MB / 1.417 GB, free: 12.23 MB / 0.8542 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.001697/1.688, allocations: 0.601 MB / 1.418 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002233/1.691, allocations: 2.498 MB / 1.42 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.691, allocations: 0 / 1.42 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002986/1.691, allocations: 334.5 kB / 1.421 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/1.691, allocations: 51.95 kB / 1.421 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/1.694, allocations: 2.125 MB / 1.423 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009309/1.695, allocations: 1.23 MB / 1.424 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/1.695, allocations: 0 / 1.424 GB, free: 6.172 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)