Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [: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 8.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 289.8 MB / 297.1 MB, free: 6.621 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 167.6 kB / 366.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009031/0.0009031, allocations: 89.59 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.243e-06, allocations: 0 / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6132/0.6132, allocations: 116.3 MB / 0.9726 GB, free: 68.75 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.793, allocations: 140.3 MB / 1.11 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000384/0.7934, allocations: 105.2 kB / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01222/0.8057, allocations: 3.475 MB / 1.113 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.8057, allocations: 0 / 1.113 GB, free: 4.559 MB / 0.7136 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.0003816/0.8061, allocations: 382.1 kB / 1.113 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/0.8062, allocations: 16.03 kB / 1.114 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.8062, allocations: 7.906 kB / 1.114 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.8064, allocations: 170.9 kB / 1.114 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.8064, allocations: 0 / 1.114 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.8064, allocations: 3.938 kB / 1.114 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.613e-05/0.8065, allocations: 39.97 kB / 1.114 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.573e-05/0.8066, allocations: 62.7 kB / 1.114 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.8066, allocations: 0 / 1.114 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.8066, allocations: 0 / 1.114 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.8067, allocations: 4 kB / 1.114 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.8069, allocations: 166 kB / 1.114 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.824e-05/0.8069, allocations: 54.59 kB / 1.114 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.807, allocations: 44.97 kB / 1.114 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.807, allocations: 0.5625 kB / 1.114 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.807, allocations: 34.55 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.8071, allocations: 0 / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000215/0.8073, allocations: 118.7 kB / 1.114 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.8073, allocations: 59.44 kB / 1.114 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.8074, allocations: 115.3 kB / 1.114 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.8074, allocations: 25.7 kB / 1.114 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.8075, allocations: 88.08 kB / 1.114 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.8075, allocations: 39.39 kB / 1.114 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.8075, allocations: 0 / 1.114 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.8077, allocations: 318.8 kB / 1.115 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.742e-05/0.8077, allocations: 31.97 kB / 1.115 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.8078, allocations: 37.02 kB / 1.115 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.004e-05/0.8078, allocations: 43.97 kB / 1.115 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.8078, allocations: 0 / 1.115 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001538/0.808, allocations: 122.5 kB / 1.115 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.808, allocations: 4 kB / 1.115 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.808, allocations: 4 kB / 1.115 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.808, allocations: 0 / 1.115 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.8081, allocations: 0 / 1.115 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.8081, allocations: 0 / 1.115 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.8081, allocations: 4.562 kB / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.8081, allocations: 8.062 kB / 1.115 GB, free: 2.402 MB / 0.7136 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 7.383e-05/0.8082, allocations: 103.7 kB / 1.115 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.8082, allocations: 7.906 kB / 1.115 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.8082, allocations: 12.36 kB / 1.115 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.8083, allocations: 4 kB / 1.115 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8083, allocations: 0 / 1.115 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.8083, allocations: 1.125 kB / 1.115 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.8084, allocations: 154.1 kB / 1.115 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8084, allocations: 0 / 1.115 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.305e-05/0.8084, allocations: 3.984 kB / 1.115 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8085, allocations: 4 kB / 1.115 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.8085, allocations: 0 / 1.115 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8085, allocations: 0 / 1.115 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8085, allocations: 7.906 kB / 1.115 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001613/0.8086, allocations: 141.9 kB / 1.115 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.8087, allocations: 92.94 kB / 1.116 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.8087, allocations: 0 / 1.116 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.8087, allocations: 4 kB / 1.116 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.8088, allocations: 12.03 kB / 1.116 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.8088, allocations: 4 kB / 1.116 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.134e-05/0.8088, allocations: 103.2 kB / 1.116 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003121/0.8092, allocations: 76.95 kB / 1.116 GB, free: 1.609 MB / 0.7136 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.0003367/0.8095, allocations: 183.1 kB / 1.116 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.8097, allocations: 67.92 kB / 1.116 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.8097, allocations: 0 / 1.116 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.8097, allocations: 40.05 kB / 1.116 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.301e-05/0.8098, allocations: 7.906 kB / 1.116 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.81, allocations: 132.2 kB / 1.116 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.8104, allocations: 0.7154 MB / 1.117 GB, free: 424 kB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8104, allocations: 0 / 1.117 GB, free: 424 kB / 0.7136 GB Notification: Performance of Templates: time 0.003976/0.8144, allocations: 1.545 MB / 1.118 GB, free: 14.92 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)