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.GFunction_100boreholes.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.GFunction_100boreholes,fileNamePrefix="Buildings_7_0_0_Buildings_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/Buildings 7.0.1/package.mo): time 2.219/2.219, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.001671/0.00167, allocations: 188 kB / 315.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.1 MB / 0.5658 GB, free: 344 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.001252/0.001252, allocations: 90.64 kB / 0.67 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4925/0.4938, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.7164, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6594/1.376, allocations: 146.6 MB / 1.027 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/1.376, allocations: 109.1 kB / 1.027 GB, free: 9.691 MB / 0.6511 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.1741/1.55, allocations: 26.32 MB / 1.052 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/1.551, allocations: 15.92 kB / 1.053 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009731/1.552, allocations: 153.9 kB / 1.053 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/1.553, allocations: 0.6213 MB / 1.053 GB, free: 1.98 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/1.554, allocations: 7.719 kB / 1.053 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/1.554, allocations: 20 kB / 1.053 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006591/1.554, allocations: 431.1 kB / 1.054 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005988/1.555, allocations: 378.9 kB / 1.054 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.555, allocations: 4 kB / 1.054 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/1.555, allocations: 3.984 kB / 1.054 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/1.555, allocations: 0 / 1.054 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/1.557, allocations: 0.9186 MB / 1.055 GB, free: 368 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008458/1.558, allocations: 0.558 MB / 1.056 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/1.559, allocations: 328.7 kB / 1.056 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001643/1.56, allocations: 1.044 MB / 1.057 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006447/1.561, allocations: 391.5 kB / 1.057 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 3.807e-06/1.561, allocations: 0 / 1.057 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.00152/1.563, allocations: 0.811 MB / 1.058 GB, free: 13 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/1.563, allocations: 81.11 kB / 1.058 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003269/1.566, allocations: 1.538 MB / 1.06 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002202/1.566, allocations: 25.7 kB / 1.06 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006511/1.567, allocations: 325.8 kB / 1.06 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/1.567, allocations: 23.42 kB / 1.06 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/1.567, allocations: 0 / 1.06 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002472/1.567, allocations: 406.3 kB / 1.06 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/1.57, allocations: 1.479 MB / 1.062 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003077/1.574, allocations: 1.604 MB / 1.063 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003651/1.577, allocations: 1.867 MB / 1.065 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.577, allocations: 0 / 1.065 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01192/1.589, allocations: 7.716 MB / 1.073 GB, free: 416 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/1.589, allocations: 8 kB / 1.073 GB, free: 408 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001675/1.59, allocations: 20 kB / 1.073 GB, free: 388 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/1.59, allocations: 4 kB / 1.073 GB, free: 384 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.591, allocations: 150.5 kB / 1.073 GB, free: 240 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/1.591, allocations: 4 kB / 1.073 GB, free: 236 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/1.593, allocations: 224.3 kB / 1.073 GB, free: 8 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/1.593, allocations: 90.42 kB / 1.073 GB, free: 15.93 MB / 0.698 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.0002035/1.593, allocations: 116.7 kB / 1.073 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/1.593, allocations: 122 kB / 1.073 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.595, allocations: 0.7902 MB / 1.074 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.595, allocations: 0 / 1.074 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.595, allocations: 3.906 kB / 1.074 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.595, allocations: 7.938 kB / 1.074 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/1.596, allocations: 0.6473 MB / 1.075 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.596, allocations: 0 / 1.075 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/1.596, allocations: 15.92 kB / 1.075 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.596, allocations: 0 / 1.075 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/1.596, allocations: 3.125 kB / 1.075 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/1.596, allocations: 7.906 kB / 1.075 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.596, allocations: 4.031 kB / 1.075 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001163/1.598, allocations: 0.8402 MB / 1.076 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001396/1.599, allocations: 1.265 MB / 1.077 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/1.599, allocations: 195.1 kB / 1.077 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/1.6, allocations: 7.984 kB / 1.077 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/1.6, allocations: 8 kB / 1.077 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/1.6, allocations: 3.984 kB / 1.077 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/1.6, allocations: 11.98 kB / 1.077 GB, free: 11.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.002058/1.602, allocations: 1.016 MB / 1.078 GB, free: 11.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003226/1.605, allocations: 0.5275 MB / 1.079 GB, free: 10.59 MB / 0.698 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.00322/1.609, allocations: 0.596 MB / 1.079 GB, free: 9.996 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003673/1.612, allocations: 2.501 MB / 1.082 GB, free: 8.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.612, allocations: 0 / 1.082 GB, free: 8.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004876/1.613, allocations: 343.1 kB / 1.082 GB, free: 7.941 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/1.613, allocations: 48.64 kB / 1.082 GB, free: 7.922 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/1.619, allocations: 2.125 MB / 1.084 GB, free: 5.793 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001862/1.621, allocations: 1.223 MB / 1.085 GB, free: 4.539 MB / 0.698 GB Notification: Performance of SimCode: time 1.382e-06/1.621, allocations: 0 / 1.085 GB, free: 4.539 MB / 0.698 GB