Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.8821/0.8821, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 185.2 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.1 MB / 399.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 93.27 kB / 476.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.285e-06/8.315e-06, allocations: 4 kB / 0.546 GB, free: 42.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1935, allocations: 76.74 MB / 0.621 GB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5333/0.7269, allocations: 104.1 MB / 0.7227 GB, free: 8.309 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/0.7273, allocations: 103.9 kB / 0.7228 GB, free: 8.207 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01211/0.7394, allocations: 3.587 MB / 0.7263 GB, free: 4.629 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.7395, allocations: 4 kB / 0.7263 GB, free: 4.625 MB / 490.7 MB 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.0004343/0.7399, allocations: 391.3 kB / 0.7266 GB, free: 4.199 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.74, allocations: 12.03 kB / 0.7267 GB, free: 4.188 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.7401, allocations: 11.81 kB / 0.7267 GB, free: 4.176 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.7402, allocations: 167.1 kB / 0.7268 GB, free: 3.973 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.7403, allocations: 0 / 0.7268 GB, free: 3.973 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.7403, allocations: 0 / 0.7268 GB, free: 3.973 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001109/0.7404, allocations: 39.89 kB / 0.7269 GB, free: 3.934 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.7405, allocations: 69.61 kB / 0.7269 GB, free: 3.859 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.7405, allocations: 0 / 0.7269 GB, free: 3.859 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.7405, allocations: 0 / 0.7269 GB, free: 3.859 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.7406, allocations: 4 kB / 0.7269 GB, free: 3.855 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.7408, allocations: 158.1 kB / 0.7271 GB, free: 3.664 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.623e-05/0.7409, allocations: 54.56 kB / 0.7271 GB, free: 3.602 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.741, allocations: 49.8 kB / 0.7272 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.741, allocations: 0 / 0.7272 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.7411, allocations: 30.56 kB / 0.7272 GB, free: 3.512 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 9.61e-07/0.7411, allocations: 0 / 0.7272 GB, free: 3.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002686/0.7413, allocations: 121.7 kB / 0.7273 GB, free: 3.387 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.7414, allocations: 59.38 kB / 0.7274 GB, free: 3.316 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.7415, allocations: 115.2 kB / 0.7275 GB, free: 3.199 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.7415, allocations: 25.7 kB / 0.7275 GB, free: 3.168 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.7416, allocations: 84.14 kB / 0.7276 GB, free: 3.082 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.7416, allocations: 31.55 kB / 0.7276 GB, free: 3.051 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.7416, allocations: 0 / 0.7276 GB, free: 3.051 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.7418, allocations: 326.7 kB / 0.7279 GB, free: 2.723 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.933e-05/0.7418, allocations: 31.98 kB / 0.728 GB, free: 2.691 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.7418, allocations: 35.98 kB / 0.728 GB, free: 2.656 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.7419, allocations: 43.91 kB / 0.7281 GB, free: 2.613 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7419, allocations: 0 / 0.7281 GB, free: 2.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001535/0.7421, allocations: 121.5 kB / 0.7282 GB, free: 2.488 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.7421, allocations: 4 kB / 0.7282 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7421, allocations: 0 / 0.7282 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.7421, allocations: 0 / 0.7282 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.7421, allocations: 0 / 0.7282 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.7422, allocations: 0.625 kB / 0.7282 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.7422, allocations: 4 kB / 0.7282 GB, free: 2.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.7422, allocations: 7.984 kB / 0.7282 GB, free: 2.473 MB / 490.7 MB 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.056e-05/0.7423, allocations: 109 kB / 0.7283 GB, free: 2.359 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.7423, allocations: 7.906 kB / 0.7283 GB, free: 2.352 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.7423, allocations: 8.375 kB / 0.7283 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.7424, allocations: 4 kB / 0.7283 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7424, allocations: 0 / 0.7283 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.7424, allocations: 0 / 0.7283 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.7425, allocations: 162 kB / 0.7285 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7426, allocations: 0 / 0.7285 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.7426, allocations: 0 / 0.7285 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7426, allocations: 4.094 kB / 0.7285 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.7426, allocations: 7.938 kB / 0.7285 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.7426, allocations: 0 / 0.7285 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.7426, allocations: 0 / 0.7285 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002169/0.7428, allocations: 148.9 kB / 0.7286 GB, free: 1.969 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.7429, allocations: 81.02 kB / 0.7287 GB, free: 1.871 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.7429, allocations: 4 kB / 0.7287 GB, free: 1.867 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.484e-05/0.7429, allocations: 0 / 0.7287 GB, free: 1.867 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.7429, allocations: 7.969 kB / 0.7287 GB, free: 1.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.743, allocations: 8 kB / 0.7287 GB, free: 1.852 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.244e-05/0.743, allocations: 99.27 kB / 0.7288 GB, free: 1.754 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.7434, allocations: 87.86 kB / 0.7289 GB, free: 1.668 MB / 490.7 MB 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.000386/0.7438, allocations: 179.1 kB / 0.7291 GB, free: 1.484 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.7439, allocations: 67.97 kB / 0.7291 GB, free: 1.418 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7439, allocations: 0 / 0.7291 GB, free: 1.418 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.744, allocations: 40.05 kB / 0.7292 GB, free: 1.379 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.7441, allocations: 8.047 kB / 0.7292 GB, free: 1.371 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.7444, allocations: 135.5 kB / 0.7293 GB, free: 1.215 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.7448, allocations: 0.7114 MB / 0.73 GB, free: 488 kB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7448, allocations: 0 / 0.73 GB, free: 488 kB / 490.7 MB Notification: Performance of Templates: time 0.004339/0.7491, allocations: 1.573 MB / 0.7315 GB, free: 14.95 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)