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.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.191 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.001666/0.001666, allocations: 177.3 kB / 315.1 MB, free: 4.309 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.879/1.879, allocations: 205.1 MB / 0.5658 GB, free: 480 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.001294/0.001294, allocations: 79.41 kB / 0.67 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4612/0.4625, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.6782, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6396/1.318, allocations: 131.7 MB / 1.012 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/1.318, allocations: 105.4 kB / 1.012 GB, free: 8.355 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.00237/1.321, allocations: 0.683 MB / 1.013 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.321, allocations: 8 kB / 1.013 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/1.321, allocations: 7.844 kB / 1.013 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/1.321, allocations: 159.1 kB / 1.013 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/1.321, allocations: 2.625 kB / 1.013 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/1.321, allocations: 0.8438 kB / 1.013 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.314e-05/1.321, allocations: 5.125 kB / 1.013 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.404e-05/1.321, allocations: 25.7 kB / 1.013 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/1.321, allocations: 4 kB / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/1.321, allocations: 0 / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/1.321, allocations: 0 / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/1.321, allocations: 363.9 kB / 1.013 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/1.322, allocations: 169.1 kB / 1.014 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/1.322, allocations: 84.14 kB / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/1.322, allocations: 82.28 kB / 1.014 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/1.322, allocations: 105.8 kB / 1.014 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 4.137e-06/1.322, allocations: 8.016 kB / 1.014 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.163e-05/1.322, allocations: 28.27 kB / 1.014 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/1.322, allocations: 51.41 kB / 1.014 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/1.322, allocations: 96.89 kB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/1.322, allocations: 25.7 kB / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/1.322, allocations: 86.95 kB / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/1.322, allocations: 4 kB / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/1.322, allocations: 0 / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.322, allocations: 314.8 kB / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/1.322, allocations: 0 / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-06/1.322, allocations: 0 / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.7e-05/1.322, allocations: 192 / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.322, allocations: 8 kB / 1.015 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001136/1.322, allocations: 29.7 kB / 1.015 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.323, allocations: 4 kB / 1.015 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.323, allocations: 0 / 1.015 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.323, allocations: 3.906 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/1.323, allocations: 7.984 kB / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/1.323, allocations: 0 / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/1.323, allocations: 0 / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/1.323, allocations: 0 / 1.015 GB, free: 5.91 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 (i) * 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.0001579/1.323, allocations: 180.3 kB / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.323, allocations: 108.1 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.59e-05/1.323, allocations: 108 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-05/1.323, allocations: 180.2 kB / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.609e-05/1.323, allocations: 184.2 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.832e-05/1.323, allocations: 176.3 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/1.324, allocations: 387.5 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.062e-05/1.324, allocations: 104.9 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/1.324, allocations: 105 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.777e-05/1.324, allocations: 176.3 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/1.324, allocations: 184.2 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-05/1.324, allocations: 180.7 kB / 1.017 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.853e-05/1.324, allocations: 176.3 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001804/1.324, allocations: 316.4 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003161/1.325, allocations: 0.6676 MB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/1.325, allocations: 186 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/1.325, allocations: 176.3 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/1.325, allocations: 108.9 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.325, allocations: 179.2 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/1.325, allocations: 112.9 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.371e-05/1.325, allocations: 75.28 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001095/1.326, allocations: 7.938 kB / 1.018 GB, free: 1.691 MB / 0.6355 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.0001896/1.327, allocations: 178.5 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.286e-05/1.327, allocations: 368 / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.327, allocations: 0 / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-06/1.327, allocations: 4.156 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/1.327, allocations: 0.5219 MB / 1.019 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001983/1.327, allocations: 127.1 kB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/1.328, allocations: 0.684 MB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/1.328, allocations: 0 / 1.02 GB, free: 120 kB / 0.6355 GB