Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 191.7 kB / 7.808 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4818/0.4818, allocations: 90.85 MB / 99.07 MB, free: 14.79 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 221.4 MB / 342.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008978/0.0008979, allocations: 96.83 kB / 415.5 MB, free: 6.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1666/0.1675, allocations: 78.49 MB / 494 MB, free: 7.848 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.5442, allocations: 72.3 MB / 0.553 GB, free: 73.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.6652, allocations: 102.9 MB / 0.6535 GB, free: 6.98 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.6656, allocations: 103.9 kB / 0.6536 GB, free: 6.879 MB / 474.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.01237/0.678, allocations: 3.902 MB / 0.6574 GB, free: 2.988 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.678, allocations: 8.625 kB / 0.6574 GB, free: 2.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.6781, allocations: 3.906 kB / 0.6574 GB, free: 2.977 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.6783, allocations: 171.8 kB / 0.6576 GB, free: 2.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.6783, allocations: 0 / 0.6576 GB, free: 2.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.6783, allocations: 4.656 kB / 0.6576 GB, free: 2.766 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.55e-05/0.6784, allocations: 35.97 kB / 0.6576 GB, free: 2.73 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.6785, allocations: 70.23 kB / 0.6577 GB, free: 2.656 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.6785, allocations: 0.5 kB / 0.6577 GB, free: 2.656 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.6785, allocations: 3.906 kB / 0.6577 GB, free: 2.652 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.6786, allocations: 4.656 kB / 0.6577 GB, free: 2.648 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.6788, allocations: 158.8 kB / 0.6578 GB, free: 2.461 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/0.6789, allocations: 54.56 kB / 0.6579 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.679, allocations: 40.88 kB / 0.6579 GB, free: 2.355 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.679, allocations: 0 / 0.6579 GB, free: 2.355 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.679, allocations: 38.55 kB / 0.658 GB, free: 2.309 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.679, allocations: 0 / 0.658 GB, free: 2.309 MB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.000254/0.6793, allocations: 121.6 kB / 0.6581 GB, free: 2.184 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.6793, allocations: 59.42 kB / 0.6581 GB, free: 2.113 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.6794, allocations: 115 kB / 0.6583 GB, free: 1.996 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.6795, allocations: 25.7 kB / 0.6583 GB, free: 1.965 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.6795, allocations: 88.14 kB / 0.6584 GB, free: 1.875 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.6796, allocations: 31.55 kB / 0.6584 GB, free: 1.844 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.6796, allocations: 0 / 0.6584 GB, free: 1.844 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6797, allocations: 314.8 kB / 0.6587 GB, free: 1.527 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.682e-05/0.6797, allocations: 35.97 kB / 0.6587 GB, free: 1.492 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.6798, allocations: 35.98 kB / 0.6588 GB, free: 1.457 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.021e-05/0.6798, allocations: 45.69 kB / 0.6588 GB, free: 1.414 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6798, allocations: 0 / 0.6588 GB, free: 1.414 MB / 474.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001558/0.68, allocations: 125.5 kB / 0.6589 GB, free: 1.285 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.68, allocations: 4 kB / 0.6589 GB, free: 1.281 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.68, allocations: 0 / 0.6589 GB, free: 1.281 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.6801, allocations: 3.906 kB / 0.6589 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.6801, allocations: 0 / 0.6589 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.6801, allocations: 0 / 0.6589 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.6801, allocations: 0 / 0.6589 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.6801, allocations: 6.25 kB / 0.6589 GB, free: 1.273 MB / 474.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 6.203e-05/0.6802, allocations: 109 kB / 0.659 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.6802, allocations: 11.75 kB / 0.6591 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.6802, allocations: 12.36 kB / 0.6591 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.6803, allocations: 4 kB / 0.6591 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6803, allocations: 3.938 kB / 0.6591 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6803, allocations: 0 / 0.6591 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.6804, allocations: 162 kB / 0.6592 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6804, allocations: 0 / 0.6592 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-07/0.6804, allocations: 0 / 0.6592 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.6805, allocations: 4 kB / 0.6592 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.6805, allocations: 5.312 kB / 0.6592 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6805, allocations: 2.109 kB / 0.6592 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6805, allocations: 0 / 0.6592 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001734/0.6807, allocations: 141 kB / 0.6594 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003413/0.681, allocations: 0.5274 MB / 0.6599 GB, free: 228 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.6811, allocations: 81.02 kB / 0.66 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.6811, allocations: 4 kB / 0.66 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.28e-05/0.6811, allocations: 0 / 0.66 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.6811, allocations: 0 / 0.66 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.6812, allocations: 13.86 kB / 0.66 GB, free: 112 kB / 474.7 MB Notification: Performance of sort global known variables: time 6.074e-05/0.6812, allocations: 99.27 kB / 0.6601 GB, free: 12 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.000956/0.6822, allocations: 79.98 kB / 0.6602 GB, free: 15.93 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.0003837/0.6826, allocations: 183 kB / 0.6603 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.6827, allocations: 67.97 kB / 0.6604 GB, free: 15.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6827, allocations: 3.938 kB / 0.6604 GB, free: 15.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.802e-05/0.6828, allocations: 39.98 kB / 0.6604 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.6829, allocations: 5.125 kB / 0.6604 GB, free: 15.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.6832, allocations: 143.4 kB / 0.6606 GB, free: 15.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.6835, allocations: 0.7135 MB / 0.6613 GB, free: 14.73 MB / 490.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6835, allocations: 0 / 0.6613 GB, free: 14.73 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)