Running: ./testmodel.py --libraries=/home/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 (/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.112/2.112, allocations: 248.6 MB / 255.9 MB, free: 7.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002973/0.002973, allocations: 195.6 kB / 315.1 MB, free: 4.277 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.837/1.837, allocations: 205.1 MB / 0.5658 GB, free: 316 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001253, allocations: 92.89 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4628/0.4641, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.682, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6909/1.373, allocations: 133.3 MB / 1.014 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005494/1.374, allocations: 108.5 kB / 1.014 GB, free: 6.773 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.009997/1.384, allocations: 2.015 MB / 1.016 GB, free: 5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.384, allocations: 8 kB / 1.016 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/1.384, allocations: 7.906 kB / 1.016 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/1.384, allocations: 161.7 kB / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/1.384, allocations: 0 / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/1.384, allocations: 0 / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.799e-05/1.384, allocations: 4 kB / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/1.384, allocations: 37.62 kB / 1.016 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.384, allocations: 0 / 1.016 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/1.384, allocations: 3.906 kB / 1.016 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.384, allocations: 0 / 1.016 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/1.385, allocations: 447.3 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.417e-05/1.385, allocations: 169 kB / 1.017 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/1.385, allocations: 84.14 kB / 1.017 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/1.385, allocations: 76.12 kB / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.101e-05/1.385, allocations: 111 kB / 1.017 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 4.148e-06/1.385, allocations: 0 / 1.017 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.25e-05/1.385, allocations: 33.55 kB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/1.385, allocations: 51.41 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.385, allocations: 100.7 kB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/1.385, allocations: 25.7 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/1.386, allocations: 80.14 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-06/1.386, allocations: 0 / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.386, allocations: 11.88 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.386, allocations: 310.8 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/1.386, allocations: 0 / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/1.386, allocations: 0 / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/1.386, allocations: 7.984 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/1.386, allocations: 4.062 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002345/1.386, allocations: 41.55 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/1.386, allocations: 4 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.386, allocations: 0 / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.386, allocations: 0 / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.55e-05/1.386, allocations: 3.062 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.386, allocations: 7.984 kB / 1.018 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/1.386, allocations: 0 / 1.018 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/1.386, allocations: 0 / 1.018 GB, free: 3.086 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.0001656/1.387, allocations: 180.3 kB / 1.018 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/1.387, allocations: 104.9 kB / 1.018 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/1.387, allocations: 108.1 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.381e-05/1.387, allocations: 180.2 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.612e-05/1.387, allocations: 181.3 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.711e-05/1.387, allocations: 179.7 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/1.387, allocations: 389.7 kB / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-05/1.387, allocations: 105 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/1.388, allocations: 101.7 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.653e-05/1.388, allocations: 184.2 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.48e-05/1.388, allocations: 184.2 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.879e-05/1.388, allocations: 191.3 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.573e-05/1.388, allocations: 176.3 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001909/1.388, allocations: 308.3 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003994/1.389, allocations: 0.671 MB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/1.389, allocations: 186 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.414e-05/1.389, allocations: 176.3 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/1.389, allocations: 105 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/1.389, allocations: 183.5 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/1.389, allocations: 112.9 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.064e-05/1.389, allocations: 79.28 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001222/1.39, allocations: 27 kB / 1.021 GB, free: 14.83 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.000555/1.391, allocations: 230 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.947e-05/1.391, allocations: 4 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.391, allocations: 4 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.083e-06/1.391, allocations: 3.938 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/1.391, allocations: 0.5215 MB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/1.396, allocations: 1.023 MB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/1.397, allocations: 0.6905 MB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/1.397, allocations: 0 / 1.024 GB, free: 12.42 MB / 0.6511 GB