Running: ./testmodel.py --libraries=/home/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 (/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.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.192/2.192, allocations: 248.6 MB / 255.9 MB, free: 7.211 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.001601/0.001601, allocations: 183.6 kB / 315.1 MB, free: 4.285 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.927/1.927, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001226/0.001226, allocations: 83.33 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4631/0.4644, allocations: 112.4 MB / 0.7798 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.6795, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6411/1.321, allocations: 132.8 MB / 1.013 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003952/1.321, allocations: 106.9 kB / 1.013 GB, free: 7.289 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.006015/1.327, allocations: 1.309 MB / 1.015 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.327, allocations: 8 kB / 1.015 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/1.327, allocations: 11.91 kB / 1.015 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/1.328, allocations: 171 kB / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/1.328, allocations: 0 / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/1.328, allocations: 3.938 kB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.742e-05/1.328, allocations: 8.859 kB / 1.015 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/1.328, allocations: 43.33 kB / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/1.328, allocations: 0 / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/1.328, allocations: 7.984 kB / 1.015 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.328, allocations: 4 kB / 1.015 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/1.328, allocations: 157.2 kB / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.628e-05/1.328, allocations: 41.09 kB / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/1.328, allocations: 13.78 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/1.328, allocations: 4 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/1.328, allocations: 34.56 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/1.328, allocations: 3.938 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001655/1.328, allocations: 45.53 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/1.329, allocations: 77.11 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/1.329, allocations: 125.7 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/1.329, allocations: 25.7 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/1.329, allocations: 92.11 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/1.329, allocations: 7.094 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/1.329, allocations: 0 / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.329, allocations: 321.4 kB / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/1.329, allocations: 23.5 kB / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.856e-05/1.329, allocations: 27.42 kB / 1.016 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/1.329, allocations: 32.8 kB / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.329, allocations: 0 / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002229/1.33, allocations: 107.5 kB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.33, allocations: 13.41 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/1.33, allocations: 3.938 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.33, allocations: 0 / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/1.33, allocations: 4 kB / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/1.33, allocations: 0 / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/1.33, allocations: 7.844 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/1.33, allocations: 4 kB / 1.016 GB, free: 4.594 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 9.302e-05/1.33, allocations: 104.5 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/1.33, allocations: 3.906 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/1.33, allocations: 15.42 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/1.33, allocations: 0 / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.33, allocations: 3.906 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.33, allocations: 3.984 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/1.33, allocations: 137.7 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.33, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/1.33, allocations: 4 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.33, allocations: 0 / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/1.33, allocations: 3.938 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.33, allocations: 0 / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.33, allocations: 7.938 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001344/1.33, allocations: 90.58 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003094/1.331, allocations: 463.8 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/1.331, allocations: 88.95 kB / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/1.331, allocations: 0 / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.951e-05/1.331, allocations: 0 / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/1.331, allocations: 4 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/1.331, allocations: 3.938 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.51e-05/1.331, allocations: 101.8 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001149/1.332, allocations: 27.92 kB / 1.017 GB, free: 3.457 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.0002774/1.332, allocations: 111.3 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002258/1.333, allocations: 83.36 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.333, allocations: 0 / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/1.333, allocations: 4 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/1.333, allocations: 11.84 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/1.333, allocations: 88.67 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/1.334, allocations: 0.7036 MB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/1.334, allocations: 0 / 1.018 GB, free: 2.41 MB / 0.6355 GB