Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.00354/0.00354, allocations: 183.9 kB / 7.457 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7695/0.7695, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 104.3 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4776/0.4787, allocations: 88.48 MB / 0.553 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.6863, allocations: 82.29 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6585/1.345, allocations: 125.5 MB / 0.7559 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003588/1.345, allocations: 105.8 kB / 0.756 GB, free: 9.199 MB / 0.4948 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.1002/1.446, allocations: 26.6 MB / 0.782 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/1.446, allocations: 8 kB / 0.782 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005896/1.446, allocations: 157.9 kB / 0.7821 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/1.447, allocations: 0.6303 MB / 0.7827 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/1.448, allocations: 7.984 kB / 0.7827 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/1.448, allocations: 24 kB / 0.7828 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000417/1.448, allocations: 423.7 kB / 0.7832 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/1.448, allocations: 389.1 kB / 0.7835 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.448, allocations: 0 / 0.7835 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/1.448, allocations: 2.812 kB / 0.7835 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/1.449, allocations: 4 kB / 0.7836 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/1.45, allocations: 0.9109 MB / 0.7844 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/1.45, allocations: 0.5616 MB / 0.785 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/1.451, allocations: 336.5 kB / 0.7853 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/1.452, allocations: 1.04 MB / 0.7863 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/1.452, allocations: 396.6 kB / 0.7867 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 2.024e-06/1.452, allocations: 0 / 0.7867 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001037/1.453, allocations: 0.8013 MB / 0.7875 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/1.453, allocations: 77.11 kB / 0.7876 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/1.455, allocations: 1.542 MB / 0.7891 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/1.456, allocations: 25.7 kB / 0.7891 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/1.456, allocations: 334.5 kB / 0.7894 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/1.456, allocations: 15.06 kB / 0.7894 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/1.456, allocations: 0 / 0.7894 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002325/1.456, allocations: 405.7 kB / 0.7898 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/1.458, allocations: 1.474 MB / 0.7913 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/1.46, allocations: 1.613 MB / 0.7928 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/1.462, allocations: 1.864 MB / 0.7946 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.462, allocations: 0 / 0.7946 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008416/1.47, allocations: 7.715 MB / 0.8022 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/1.47, allocations: 6.656 kB / 0.8022 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.552e-05/1.47, allocations: 23.91 kB / 0.8022 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/1.47, allocations: 4 kB / 0.8022 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/1.471, allocations: 150.4 kB / 0.8024 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/1.471, allocations: 4 kB / 0.8024 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/1.472, allocations: 236.3 kB / 0.8026 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/1.472, allocations: 89.98 kB / 0.8027 GB, free: 9.773 MB / 0.5261 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.0002306/1.473, allocations: 113.6 kB / 0.8028 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/1.473, allocations: 122 kB / 0.8029 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/1.474, allocations: 0.7855 MB / 0.8037 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.474, allocations: 4 kB / 0.8037 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.474, allocations: 4.031 kB / 0.8037 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/1.474, allocations: 0 / 0.8037 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009126/1.475, allocations: 0.6546 MB / 0.8043 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.475, allocations: 3.938 kB / 0.8043 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.101e-05/1.475, allocations: 7.984 kB / 0.8043 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/1.475, allocations: 0 / 0.8043 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/1.475, allocations: 4 kB / 0.8043 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.475, allocations: 0 / 0.8043 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.475, allocations: 0 / 0.8043 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007638/1.476, allocations: 0.8479 MB / 0.8052 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00113/1.477, allocations: 1.257 MB / 0.8064 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/1.478, allocations: 203.1 kB / 0.8066 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/1.478, allocations: 0 / 0.8066 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/1.478, allocations: 7.984 kB / 0.8066 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/1.478, allocations: 7.984 kB / 0.8066 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/1.478, allocations: 19.05 kB / 0.8066 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001401/1.479, allocations: 1.012 MB / 0.8076 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003123/1.483, allocations: 0.5355 MB / 0.8081 GB, free: 4.453 MB / 0.5261 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.002648/1.485, allocations: 0.5934 MB / 0.8087 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00313/1.488, allocations: 2.499 MB / 0.8111 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.488, allocations: 0 / 0.8111 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003796/1.489, allocations: 336.9 kB / 0.8115 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/1.49, allocations: 48.61 kB / 0.8115 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/1.493, allocations: 2.135 MB / 0.8136 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009781/1.494, allocations: 1.235 MB / 0.8148 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of SimCode: time 1.342e-06/1.494, allocations: 0 / 0.8148 GB, free: 14.42 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)