Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.23/2.23, allocations: 253.1 MB / 260.4 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001663/0.001662, allocations: 185.2 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 0.5704 GB, free: 15.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 94.47 kB / 0.6746 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.08e-05/1.094e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2189, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6291/0.8481, allocations: 133.3 MB / 1.018 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004047/0.8486, allocations: 100.2 kB / 1.018 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007429/0.856, allocations: 1.703 MB / 1.02 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.639e-06/0.8561, allocations: 0 / 1.02 GB, free: 3.539 MB / 0.6355 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.0002851/0.8564, allocations: 322.3 kB / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.8564, allocations: 8.031 kB / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.8565, allocations: 3.906 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.8566, allocations: 166.6 kB / 1.021 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.8567, allocations: 0 / 1.021 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.8567, allocations: 0 / 1.021 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.35e-05/0.8567, allocations: 8 kB / 1.021 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.275e-05/0.8568, allocations: 29.69 kB / 1.021 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.8568, allocations: 3.938 kB / 1.021 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.8569, allocations: 7.891 kB / 1.021 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.8569, allocations: 0 / 1.021 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.8573, allocations: 441.2 kB / 1.021 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.497e-05/0.8575, allocations: 171.6 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.8575, allocations: 81.08 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.8576, allocations: 75.28 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.843e-05/0.8576, allocations: 105.8 kB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.8576, allocations: 0 / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.307e-05/0.8578, allocations: 41.42 kB / 1.021 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.8578, allocations: 59.39 kB / 1.021 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.8579, allocations: 89 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.8579, allocations: 25.7 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.858, allocations: 80.14 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.858, allocations: 0 / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.858, allocations: 3.938 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8582, allocations: 317.8 kB / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.8582, allocations: 0 / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-06/0.8582, allocations: 4 kB / 1.022 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.89e-05/0.8583, allocations: 7.984 kB / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8583, allocations: 0 / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001524/0.8585, allocations: 37.61 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.8585, allocations: 6.188 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8585, allocations: 6.562 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8585, allocations: 0 / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.211e-05/0.8586, allocations: 3.984 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.8586, allocations: 4 kB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.8586, allocations: 96 / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.8586, allocations: 4 kB / 1.022 GB, free: 1.273 MB / 0.6355 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.0001024/0.8587, allocations: 179.7 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.8588, allocations: 104.9 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.414e-05/0.8589, allocations: 108.1 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.856e-05/0.859, allocations: 180.2 kB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.228e-05/0.8591, allocations: 184.2 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.996e-05/0.8591, allocations: 176.3 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.8594, allocations: 385.3 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.361e-05/0.8595, allocations: 105 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.8595, allocations: 101.7 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.871e-05/0.8596, allocations: 184.2 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-05/0.8597, allocations: 184.2 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-05/0.8598, allocations: 180.3 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.855e-05/0.8598, allocations: 184.7 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001383/0.86, allocations: 299.2 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.8601, allocations: 189.9 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/0.8602, allocations: 191.9 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.8603, allocations: 101 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.8604, allocations: 180.8 kB / 1.025 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.8604, allocations: 104.9 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.376e-05/0.8605, allocations: 79.28 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003828/0.8609, allocations: 31.97 kB / 1.025 GB, free: 13.72 MB / 0.6511 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.0005778/0.8615, allocations: 245.6 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.762e-05/0.8616, allocations: 3.938 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8616, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.8616, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.862, allocations: 0.5263 MB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.8666, allocations: 1.021 MB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.867, allocations: 0.6841 MB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/0.867, allocations: 0 / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of Templates: time 0.003524/0.8705, allocations: 0.6208 MB / 1.028 GB, free: 10.74 MB / 0.6511 GB