Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.484/2.484, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001592/0.001592, allocations: 179.6 kB / 360.3 MB, free: 7.52 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.919/1.919, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001648/0.001647, allocations: 83.98 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3414/0.3431, allocations: 121.4 MB / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/1.012, allocations: 115.3 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/1.243, allocations: 138.6 MB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003962/1.243, allocations: 102.2 kB / 1.098 GB, free: 2.09 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.007953/1.251, allocations: 2.017 MB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.251, allocations: 9.031 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/1.251, allocations: 4 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/1.251, allocations: 172.3 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/1.251, allocations: 0.5625 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/1.251, allocations: 0 / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.224e-05/1.251, allocations: 0.9375 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.409e-05/1.252, allocations: 34.36 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.252, allocations: 0 / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/1.252, allocations: 0.6875 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.252, allocations: 3.188 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/1.252, allocations: 451.3 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/1.252, allocations: 166.3 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/1.252, allocations: 84.88 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/1.252, allocations: 75.78 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/1.252, allocations: 116.3 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/1.252, allocations: 0 / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.902e-05/1.253, allocations: 33.7 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/1.253, allocations: 52.12 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/1.253, allocations: 89.7 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/1.253, allocations: 26.33 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/1.253, allocations: 84.92 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/1.253, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/1.253, allocations: 0.5625 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.253, allocations: 323.4 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/1.253, allocations: 0.5 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/1.253, allocations: 1.125 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.951e-05/1.253, allocations: 4 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.253, allocations: 1 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000162/1.253, allocations: 41.62 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.253, allocations: 5.156 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.253, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.253, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.27e-05/1.253, allocations: 3.906 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/1.253, allocations: 0.8125 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/1.253, allocations: 4.625 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/1.253, allocations: 0 / 1.102 GB, free: 14.17 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 0.0001073/1.254, allocations: 177.6 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/1.254, allocations: 102.8 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.423e-05/1.254, allocations: 117.2 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.288e-05/1.254, allocations: 182.1 kB / 1.102 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.274e-05/1.254, allocations: 180.2 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.451e-05/1.254, allocations: 180.8 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/1.254, allocations: 382.3 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.784e-05/1.254, allocations: 105.1 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/1.254, allocations: 106.6 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.184e-05/1.254, allocations: 176.9 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/1.255, allocations: 188.2 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-05/1.255, allocations: 184.2 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001353/1.255, allocations: 176.3 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001842/1.255, allocations: 309 kB / 1.104 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003369/1.255, allocations: 0.6719 MB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/1.256, allocations: 200.1 kB / 1.105 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.256, allocations: 178.5 kB / 1.105 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/1.256, allocations: 101 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/1.256, allocations: 180.2 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/1.256, allocations: 101 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.414e-05/1.256, allocations: 83.83 kB / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001257/1.257, allocations: 24 kB / 1.106 GB, free: 9.914 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.0005297/1.258, allocations: 233.9 kB / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.15e-05/1.258, allocations: 0 / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.258, allocations: 0 / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.39e-05/1.258, allocations: 7.938 kB / 1.106 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/1.258, allocations: 0.534 MB / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/1.263, allocations: 1.025 MB / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/1.264, allocations: 0.6891 MB / 1.108 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of SimCode: time 3.216e-06/1.264, allocations: 0 / 1.108 GB, free: 7.395 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)