Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 15.77 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 178.7 kB / 316 MB, free: 7.133 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.1 MB / 0.5667 GB, free: 23.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008947/0.0008947, allocations: 96.69 kB / 0.671 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2057/0.2066, allocations: 112.5 MB / 0.7809 GB, free: 100 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.5999, allocations: 106.3 MB / 0.8847 GB, free: 76.17 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1783/0.7782, allocations: 145.8 MB / 1.027 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/0.7786, allocations: 107.9 kB / 1.027 GB, free: 10.06 MB / 0.6823 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.3857/1.164, allocations: 26.31 MB / 1.053 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.164, allocations: 8.656 kB / 1.053 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004374/1.165, allocations: 152.2 kB / 1.053 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009037/1.166, allocations: 0.6323 MB / 1.054 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.166, allocations: 1.453 kB / 1.054 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/1.166, allocations: 21.84 kB / 1.054 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004535/1.166, allocations: 428.5 kB / 1.054 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/1.167, allocations: 380.6 kB / 1.054 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/1.167, allocations: 0.6562 kB / 1.054 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/1.167, allocations: 1.688 kB / 1.054 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/1.167, allocations: 0.9688 kB / 1.054 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/1.168, allocations: 0.9163 MB / 1.055 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/1.169, allocations: 0.5621 MB / 1.056 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003852/1.169, allocations: 328.6 kB / 1.056 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008452/1.17, allocations: 1.042 MB / 1.057 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004625/1.17, allocations: 392.9 kB / 1.058 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.304e-06/1.171, allocations: 0 / 1.058 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001201/1.172, allocations: 0.8009 MB / 1.058 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/1.172, allocations: 81.75 kB / 1.058 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/1.174, allocations: 1.544 MB / 1.06 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/1.174, allocations: 27.81 kB / 1.06 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/1.174, allocations: 333.5 kB / 1.06 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/1.174, allocations: 16.67 kB / 1.06 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/1.174, allocations: 0.6875 kB / 1.06 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001841/1.175, allocations: 407.2 kB / 1.061 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/1.177, allocations: 1.473 MB / 1.062 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/1.179, allocations: 1.611 MB / 1.064 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/1.181, allocations: 1.87 MB / 1.066 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.181, allocations: 0 / 1.066 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005022/1.186, allocations: 7.713 MB / 1.073 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.186, allocations: 4 kB / 1.073 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.39e-05/1.186, allocations: 31.92 kB / 1.073 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/1.186, allocations: 0 / 1.073 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/1.186, allocations: 147.8 kB / 1.073 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/1.186, allocations: 4 kB / 1.073 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008585/1.187, allocations: 228.3 kB / 1.073 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/1.187, allocations: 91.98 kB / 1.074 GB, free: 127.3 MB / 0.6823 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.0001086/1.188, allocations: 119 kB / 1.074 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/1.188, allocations: 118 kB / 1.074 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007179/1.188, allocations: 0.7896 MB / 1.075 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.188, allocations: 0 / 1.075 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.188, allocations: 4 kB / 1.075 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.188, allocations: 4.016 kB / 1.075 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/1.189, allocations: 0.6596 MB / 1.075 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/1.189, allocations: 0 / 1.075 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/1.189, allocations: 8 kB / 1.075 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.189, allocations: 0 / 1.075 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/1.189, allocations: 7.891 kB / 1.075 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.189, allocations: 4 kB / 1.075 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.189, allocations: 0 / 1.075 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004465/1.189, allocations: 0.8467 MB / 1.076 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005248/1.19, allocations: 1.261 MB / 1.077 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/1.19, allocations: 195.1 kB / 1.077 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.19, allocations: 12 kB / 1.077 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/1.19, allocations: 4 kB / 1.077 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/1.191, allocations: 3.984 kB / 1.077 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/1.191, allocations: 15.92 kB / 1.077 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008789/1.191, allocations: 1.015 MB / 1.078 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00248/1.194, allocations: 0.5305 MB / 1.079 GB, free: 121.5 MB / 0.6823 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.001609/1.196, allocations: 0.5974 MB / 1.08 GB, free: 121 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0016/1.197, allocations: 2.497 MB / 1.082 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.197, allocations: 0 / 1.082 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/1.197, allocations: 339.8 kB / 1.082 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/1.198, allocations: 46.48 kB / 1.082 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/1.2, allocations: 2.134 MB / 1.084 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000541/1.2, allocations: 1.228 MB / 1.086 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/1.2, allocations: 0 / 1.086 GB, free: 114.7 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)