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.AggregationWeightingFactors.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.AggregationWeightingFactors,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",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.195/2.195, allocations: 248.6 MB / 255.9 MB, free: 7.195 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.001575/0.001574, allocations: 181.2 kB / 315.1 MB, free: 4.262 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.197/2.197, allocations: 205.1 MB / 0.5658 GB, free: 300 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.001359/0.001359, allocations: 98.39 kB / 0.67 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4436/0.445, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.6988, allocations: 106.3 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6942/1.393, allocations: 133.9 MB / 1.014 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004214/1.394, allocations: 102.5 kB / 1.014 GB, free: 6.176 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.01984/1.413, allocations: 3.863 MB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.414, allocations: 12 kB / 1.018 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/1.414, allocations: 7.844 kB / 1.018 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/1.414, allocations: 178.8 kB / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/1.414, allocations: 0 / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/1.414, allocations: 0 / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001135/1.414, allocations: 35.61 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/1.414, allocations: 62.3 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.414, allocations: 0 / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.414, allocations: 3.906 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/1.414, allocations: 8 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/1.414, allocations: 154.8 kB / 1.019 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/1.415, allocations: 53.28 kB / 1.019 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-05/1.415, allocations: 47.73 kB / 1.019 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/1.415, allocations: 0 / 1.019 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/1.415, allocations: 33.75 kB / 1.019 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/1.415, allocations: 0 / 1.019 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003281/1.415, allocations: 132.8 kB / 1.019 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/1.415, allocations: 55.41 kB / 1.019 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/1.415, allocations: 112.9 kB / 1.019 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/1.415, allocations: 25.7 kB / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/1.415, allocations: 83.2 kB / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/1.415, allocations: 30.48 kB / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/1.415, allocations: 0 / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.416, allocations: 322.6 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/1.416, allocations: 35.45 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/1.416, allocations: 31.92 kB / 1.02 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/1.416, allocations: 39.97 kB / 1.02 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.416, allocations: 0 / 1.02 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002521/1.416, allocations: 120.6 kB / 1.02 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.416, allocations: 4 kB / 1.02 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.416, allocations: 0 / 1.02 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.416, allocations: 14.59 kB / 1.02 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/1.416, allocations: 0 / 1.02 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/1.416, allocations: 0 / 1.02 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.859e-05/1.416, allocations: 4.062 kB / 1.02 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/1.416, allocations: 7.984 kB / 1.02 GB, free: 1.066 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 8.108e-05/1.416, allocations: 103.4 kB / 1.02 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/1.416, allocations: 11.81 kB / 1.02 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/1.416, allocations: 8.375 kB / 1.02 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/1.416, allocations: 4 kB / 1.02 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.416, allocations: 0 / 1.02 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.416, allocations: 0 / 1.02 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/1.417, allocations: 157 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.417, allocations: 3.938 kB / 1.02 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-06/1.417, allocations: 4 kB / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.417, allocations: 0 / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/1.417, allocations: 0 / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.417, allocations: 0 / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.417, allocations: 4 kB / 1.02 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002766/1.417, allocations: 147.1 kB / 1.02 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000518/1.418, allocations: 0.5263 MB / 1.021 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/1.418, allocations: 88.94 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/1.418, allocations: 0 / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.945e-05/1.418, allocations: 4 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/1.418, allocations: 4 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/1.418, allocations: 4 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.967e-05/1.418, allocations: 100.5 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001345/1.419, allocations: 83.05 kB / 1.021 GB, free: 15.76 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0005918/1.42, allocations: 186.4 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002318/1.42, allocations: 66.61 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.42, allocations: 0 / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.491e-05/1.42, allocations: 34.73 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/1.42, allocations: 12.33 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/1.421, allocations: 130.8 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/1.421, allocations: 0.7191 MB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of SimCode: time 8.72e-07/1.421, allocations: 0 / 1.022 GB, free: 14.59 MB / 0.6511 GB