Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 189.2 kB / 7.801 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4865/0.4865, allocations: 90.86 MB / 99.08 MB, free: 14.95 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.299/1.299, allocations: 221.4 MB / 342.7 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.00132/0.00132, allocations: 102.5 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1892/0.1906, allocations: 78.48 MB / 494 MB, free: 7.945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.558, allocations: 72.3 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.676, allocations: 100.8 MB / 0.6514 GB, free: 9.219 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.6764, allocations: 107.9 kB / 0.6515 GB, free: 9.113 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001982/0.6784, allocations: 0.6842 MB / 0.6522 GB, free: 8.398 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6784, allocations: 9.625 kB / 0.6522 GB, free: 8.391 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.6785, allocations: 5.156 kB / 0.6522 GB, free: 8.387 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6786, allocations: 171.1 kB / 0.6524 GB, free: 8.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.6786, allocations: 0.9688 kB / 0.6524 GB, free: 8.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.6786, allocations: 3.984 kB / 0.6524 GB, free: 8.176 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.237e-05/0.6786, allocations: 4.812 kB / 0.6524 GB, free: 8.172 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.112e-05/0.6787, allocations: 25.7 kB / 0.6524 GB, free: 8.141 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.6787, allocations: 1.438 kB / 0.6524 GB, free: 8.141 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.6787, allocations: 4 kB / 0.6524 GB, free: 8.137 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.6787, allocations: 2.344 kB / 0.6524 GB, free: 8.137 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.6791, allocations: 357.4 kB / 0.6528 GB, free: 7.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.931e-05/0.6792, allocations: 173.9 kB / 0.6529 GB, free: 7.57 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.6792, allocations: 85.11 kB / 0.653 GB, free: 7.484 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.6792, allocations: 76.06 kB / 0.6531 GB, free: 7.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.6793, allocations: 110.7 kB / 0.6532 GB, free: 7.293 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.6793, allocations: 0.7812 kB / 0.6532 GB, free: 7.293 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 7.383e-05/0.6794, allocations: 25.7 kB / 0.6532 GB, free: 7.262 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.6794, allocations: 52.03 kB / 0.6533 GB, free: 7.199 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.539e-05/0.6795, allocations: 93.88 kB / 0.6534 GB, free: 7.102 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.6795, allocations: 25.7 kB / 0.6534 GB, free: 7.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.6795, allocations: 80.83 kB / 0.6535 GB, free: 6.988 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-06/0.6796, allocations: 4.906 kB / 0.6535 GB, free: 6.984 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.6796, allocations: 0 / 0.6535 GB, free: 6.984 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.6797, allocations: 312 kB / 0.6538 GB, free: 6.672 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.6797, allocations: 0 / 0.6538 GB, free: 6.672 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.6797, allocations: 8.656 kB / 0.6538 GB, free: 6.664 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.656e-05/0.6797, allocations: 4.609 kB / 0.6538 GB, free: 6.66 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6797, allocations: 0 / 0.6538 GB, free: 6.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.72e-05/0.6798, allocations: 34.23 kB / 0.6538 GB, free: 6.621 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6799, allocations: 5.438 kB / 0.6538 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6799, allocations: 1.938 kB / 0.6538 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.6799, allocations: 4 kB / 0.6538 GB, free: 6.613 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.766e-05/0.6799, allocations: 3.906 kB / 0.6538 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.6799, allocations: 0.7188 kB / 0.6538 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.121e-05/0.68, allocations: 3.375 kB / 0.6538 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.68, allocations: 0 / 0.6538 GB, free: 6.609 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: 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 8.899e-05/0.6801, allocations: 180.8 kB / 0.654 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/0.6801, allocations: 105.5 kB / 0.6541 GB, free: 6.316 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.6802, allocations: 110.3 kB / 0.6542 GB, free: 6.203 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.059e-05/0.6803, allocations: 180.3 kB / 0.6544 GB, free: 6.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-05/0.6804, allocations: 184.2 kB / 0.6546 GB, free: 5.832 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.666e-05/0.6804, allocations: 181.3 kB / 0.6547 GB, free: 5.648 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.6807, allocations: 378.4 kB / 0.6551 GB, free: 5.234 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-05/0.6807, allocations: 102.1 kB / 0.6552 GB, free: 5.129 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.6808, allocations: 108.9 kB / 0.6553 GB, free: 5.016 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.411e-05/0.6808, allocations: 177.1 kB / 0.6555 GB, free: 4.836 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-05/0.6809, allocations: 180 kB / 0.6556 GB, free: 4.656 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.514e-05/0.681, allocations: 185.1 kB / 0.6558 GB, free: 4.469 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-05/0.6811, allocations: 184.8 kB / 0.656 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001629/0.6813, allocations: 307.8 kB / 0.6563 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002684/0.6815, allocations: 0.6671 MB / 0.6569 GB, free: 3.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.706e-05/0.6816, allocations: 189.9 kB / 0.6571 GB, free: 3.059 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.6817, allocations: 181 kB / 0.6573 GB, free: 2.875 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.6818, allocations: 101.8 kB / 0.6574 GB, free: 2.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.6819, allocations: 184.9 kB / 0.6576 GB, free: 2.582 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.6819, allocations: 104.1 kB / 0.6577 GB, free: 2.477 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.587e-05/0.6819, allocations: 79.28 kB / 0.6577 GB, free: 2.398 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008285/0.6828, allocations: 0 / 0.6577 GB, free: 2.398 MB / 474.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 (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.0001466/0.6829, allocations: 174.5 kB / 0.6579 GB, free: 2.215 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.766e-05/0.683, allocations: 15.67 kB / 0.6579 GB, free: 2.203 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.683, allocations: 0.5938 kB / 0.6579 GB, free: 2.203 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.026e-06/0.683, allocations: 3.938 kB / 0.6579 GB, free: 2.199 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.6833, allocations: 0.5166 MB / 0.6584 GB, free: 1.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001591/0.6835, allocations: 123.9 kB / 0.6585 GB, free: 1.535 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.6838, allocations: 0.6808 MB / 0.6592 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6838, allocations: 4.656 kB / 0.6592 GB, free: 0.8242 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)