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.LoadAggregation.Validation.AggregationCellTimes.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.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") [: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.043/2.043, allocations: 253.1 MB / 260.4 MB, free: 7.59 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.001585/0.001584, allocations: 177.2 kB / 319.6 MB, free: 3.34 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.945/1.945, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001308/0.001308, allocations: 85.42 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.112e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6092/0.8247, allocations: 132.8 MB / 1.018 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003943/0.8252, allocations: 100.5 kB / 1.018 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00535/0.8306, allocations: 0.9751 MB / 1.019 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.8306, allocations: 2.625 kB / 1.019 GB, free: 4.676 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003485/0.831, allocations: 344.8 kB / 1.019 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.831, allocations: 12.03 kB / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.8311, allocations: 7.844 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.8313, allocations: 171 kB / 1.019 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.8313, allocations: 0 / 1.019 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.8313, allocations: 0 / 1.019 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.452e-05/0.8314, allocations: 4 kB / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.964e-05/0.8315, allocations: 54.06 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.8315, allocations: 4 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.8315, allocations: 0 / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.8316, allocations: 0 / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.8318, allocations: 156.3 kB / 1.02 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.337e-05/0.8318, allocations: 41.14 kB / 1.02 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.8319, allocations: 25.08 kB / 1.02 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.8319, allocations: 4 kB / 1.02 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.832, allocations: 34.5 kB / 1.02 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.832, allocations: 0 / 1.02 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.8321, allocations: 41.55 kB / 1.02 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.8322, allocations: 84.59 kB / 1.02 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.8323, allocations: 121.9 kB / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.8324, allocations: 25.7 kB / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.8324, allocations: 90.92 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.8325, allocations: 7.891 kB / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.8325, allocations: 0 / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8327, allocations: 317.9 kB / 1.02 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.9e-05/0.8327, allocations: 23.61 kB / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.758e-05/0.8328, allocations: 23.94 kB / 1.02 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.601e-05/0.8329, allocations: 30.17 kB / 1.02 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.8329, allocations: 4 kB / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002708/0.8332, allocations: 112.6 kB / 1.02 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.8332, allocations: 4 kB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.8332, allocations: 0 / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8333, allocations: 0 / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.8333, allocations: 4 kB / 1.02 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.8334, allocations: 0 / 1.02 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.8334, allocations: 11.84 kB / 1.02 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.8334, allocations: 0 / 1.02 GB, free: 2.789 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * 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 8.716e-05/0.8335, allocations: 109 kB / 1.021 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.8336, allocations: 3.906 kB / 1.021 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.8336, allocations: 15.23 kB / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8336, allocations: 0 / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.8336, allocations: 3.906 kB / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8336, allocations: 0 / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.8338, allocations: 137.8 kB / 1.021 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8338, allocations: 0 / 1.021 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.8338, allocations: 7.938 kB / 1.021 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.8338, allocations: 0 / 1.021 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.8339, allocations: 0 / 1.021 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.8339, allocations: 11.94 kB / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8339, allocations: 0 / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001226/0.834, allocations: 89.52 kB / 1.021 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.8341, allocations: 85.03 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.8341, allocations: 3.906 kB / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.176e-05/0.8342, allocations: 4.031 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.8342, allocations: 4 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.8342, allocations: 0 / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.181e-05/0.8343, allocations: 99.7 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002991/0.8346, allocations: 23.94 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002228/0.8348, allocations: 119.2 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.835, allocations: 78.81 kB / 1.021 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.8351, allocations: 4 kB / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/0.8351, allocations: 7.984 kB / 1.021 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.8352, allocations: 10.19 kB / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.8355, allocations: 88.11 kB / 1.021 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.8359, allocations: 0.6958 MB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.8359, allocations: 4 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of Templates: time 0.003548/0.8395, allocations: 0.5499 MB / 1.023 GB, free: 0.5859 MB / 0.6355 GB