Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.1-maint.8.0.x/package.mo): time 1.364/1.364, allocations: 285.5 MB / 292.8 MB, free: 10.38 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.001014/0.001014, allocations: 181.3 kB / 361.1 MB, free: 7.062 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.084/1.084, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007668/0.0007668, allocations: 91.19 kB / 0.7325 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1938/0.1946, allocations: 121.5 MB / 0.8512 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.6684, allocations: 115.3 MB / 0.9638 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.8201, allocations: 138.8 MB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.8204, allocations: 105 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.004709/0.8251, allocations: 2.018 MB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.8252, allocations: 8.5 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.8252, allocations: 5.188 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.8253, allocations: 163 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.8254, allocations: 0.7031 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-06/0.8254, allocations: 0.75 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.26e-05/0.8254, allocations: 7.938 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.425e-05/0.8255, allocations: 30.19 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.8255, allocations: 2.656 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.8255, allocations: 0 / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.8255, allocations: 0.5156 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.8259, allocations: 449 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.992e-05/0.826, allocations: 166.7 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.826, allocations: 84.61 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.826, allocations: 80.28 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.8261, allocations: 115.4 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.8261, allocations: 0 / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.174e-05/0.8261, allocations: 25.7 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.8262, allocations: 55.31 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.8263, allocations: 93.78 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.8263, allocations: 27.2 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.8263, allocations: 88.05 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.8263, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.8263, allocations: 4 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.8264, allocations: 310.8 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-06/0.8265, allocations: 0 / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.8265, allocations: 0.5 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.816e-05/0.8265, allocations: 10.27 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8265, allocations: 3.938 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001108/0.8267, allocations: 33.7 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.8267, allocations: 4 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8267, allocations: 0.5938 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.8267, allocations: 0 / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.802e-05/0.8267, allocations: 12.42 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.8267, allocations: 1 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.8267, allocations: 1.25 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.8268, allocations: 2.25 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.238e-05/0.8269, allocations: 181 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.8269, allocations: 105.8 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.827, allocations: 112.6 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.887e-05/0.827, allocations: 177.4 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.665e-05/0.8271, allocations: 185.4 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.587e-05/0.8272, allocations: 181 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.8273, allocations: 378.5 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/0.8274, allocations: 109.6 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.8274, allocations: 106.1 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.737e-05/0.8275, allocations: 183.2 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.8275, allocations: 177 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.872e-05/0.8276, allocations: 185.3 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.181e-05/0.8276, allocations: 181.1 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001057/0.8277, allocations: 317.1 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002111/0.8279, allocations: 0.6681 MB / 1.106 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.828, allocations: 186 kB / 1.106 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.8281, allocations: 180.3 kB / 1.107 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.8281, allocations: 105 kB / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.8282, allocations: 180.9 kB / 1.107 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.8282, allocations: 105 kB / 1.107 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.389e-05/0.8283, allocations: 83.28 kB / 1.107 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000775/0.8291, allocations: 16 kB / 1.107 GB, free: 8.863 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003525/0.8294, allocations: 236.5 kB / 1.107 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.657e-05/0.8295, allocations: 7.938 kB / 1.107 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8295, allocations: 0 / 1.107 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.8295, allocations: 0 / 1.107 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.8298, allocations: 0.5309 MB / 1.108 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.8326, allocations: 1.017 MB / 1.109 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.8328, allocations: 0.6918 MB / 1.109 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8328, allocations: 0 / 1.109 GB, free: 6.344 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)