Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7343/0.7343, allocations: 141.8 MB / 149.1 MB, free: 3.648 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 187.2 kB / 181.9 MB, free: 15.41 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.3 MB / 436 MB, free: 8.508 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.00096, allocations: 103.2 kB / 0.507 GB, free: 24.25 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001744/0.001744, allocations: 265.6 kB / 0.5884 GB, free: 11.59 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.208/0.2098, allocations: 89.68 MB / 0.676 GB, free: 1.824 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.6181, allocations: 82.76 MB / 0.7568 GB, free: 112.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.728, allocations: 107.9 MB / 0.8622 GB, free: 4.062 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.7283, allocations: 107.7 kB / 0.8623 GB, free: 3.965 MB / 0.5263 GB 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.001556/0.7299, allocations: 0.6902 MB / 0.863 GB, free: 3.238 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.7299, allocations: 8 kB / 0.863 GB, free: 3.23 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.7299, allocations: 0.8125 kB / 0.863 GB, free: 3.23 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.733e-05/0.73, allocations: 163.1 kB / 0.8632 GB, free: 3.031 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.73, allocations: 0 / 0.8632 GB, free: 3.031 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.73, allocations: 0.5 kB / 0.8632 GB, free: 3.031 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.064e-05/0.7301, allocations: 0.5938 kB / 0.8632 GB, free: 3.031 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.136e-05/0.7301, allocations: 34.11 kB / 0.8632 GB, free: 2.992 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.7301, allocations: 4.562 kB / 0.8632 GB, free: 2.988 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.7302, allocations: 0 / 0.8632 GB, free: 2.988 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.7302, allocations: 0.8125 kB / 0.8632 GB, free: 2.988 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.7304, allocations: 361.5 kB / 0.8635 GB, free: 2.598 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.7304, allocations: 165.8 kB / 0.8637 GB, free: 2.426 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.7304, allocations: 91.98 kB / 0.8638 GB, free: 2.336 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.7305, allocations: 75.28 kB / 0.8639 GB, free: 2.262 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.7305, allocations: 115 kB / 0.864 GB, free: 2.141 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.7305, allocations: 4.438 kB / 0.864 GB, free: 2.137 MB / 0.5263 GB Notification: Performance of matching and sorting (n=0): time 6.132e-05/0.7306, allocations: 29.69 kB / 0.864 GB, free: 2.102 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.713e-05/0.7306, allocations: 51.97 kB / 0.8641 GB, free: 2.039 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.422e-05/0.7306, allocations: 90.38 kB / 0.8641 GB, free: 1.945 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-06/0.7306, allocations: 25.7 kB / 0.8642 GB, free: 1.914 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.563e-05/0.7307, allocations: 81.05 kB / 0.8642 GB, free: 1.832 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-06/0.7307, allocations: 0 / 0.8642 GB, free: 1.832 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/0.7307, allocations: 0.5938 kB / 0.8642 GB, free: 1.832 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.19e-05/0.7307, allocations: 312.1 kB / 0.8645 GB, free: 1.52 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-06/0.7307, allocations: 4 kB / 0.8645 GB, free: 1.516 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-06/0.7307, allocations: 4.719 kB / 0.8646 GB, free: 1.512 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.327e-05/0.7308, allocations: 3.906 kB / 0.8646 GB, free: 1.508 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.7308, allocations: 0.75 kB / 0.8646 GB, free: 1.508 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.522e-05/0.7309, allocations: 35.36 kB / 0.8646 GB, free: 1.469 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.7309, allocations: 7.984 kB / 0.8646 GB, free: 1.461 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7309, allocations: 0 / 0.8646 GB, free: 1.461 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.7309, allocations: 4 kB / 0.8646 GB, free: 1.457 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.776e-05/0.7309, allocations: 4 kB / 0.8646 GB, free: 1.453 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.7309, allocations: 0.5938 kB / 0.8646 GB, free: 1.453 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.019e-05/0.731, allocations: 0.6562 kB / 0.8646 GB, free: 1.453 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.731, allocations: 0 / 0.8646 GB, free: 1.453 MB / 0.5263 GB 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 4.873e-05/0.731, allocations: 185.4 kB / 0.8648 GB, free: 1.266 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.7311, allocations: 101.8 kB / 0.8649 GB, free: 1.16 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.7311, allocations: 112.4 kB / 0.865 GB, free: 1.043 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.7311, allocations: 181.9 kB / 0.8652 GB, free: 0.8594 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.803e-05/0.7312, allocations: 180.9 kB / 0.8653 GB, free: 0.6758 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/0.7312, allocations: 181.5 kB / 0.8655 GB, free: 0.4922 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.7313, allocations: 379 kB / 0.8659 GB, free: 80 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.081e-05/0.7314, allocations: 105 kB / 0.866 GB, free: 15.97 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.7315, allocations: 110.6 kB / 0.8661 GB, free: 15.86 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-05/0.7315, allocations: 180.2 kB / 0.8662 GB, free: 15.67 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.7316, allocations: 181.5 kB / 0.8664 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-05/0.7317, allocations: 181.1 kB / 0.8666 GB, free: 15.3 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-05/0.7317, allocations: 180.3 kB / 0.8668 GB, free: 15.12 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001294/0.7319, allocations: 311.6 kB / 0.8671 GB, free: 14.79 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002216/0.7321, allocations: 0.6697 MB / 0.8677 GB, free: 14.1 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.7322, allocations: 187.1 kB / 0.8679 GB, free: 13.89 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.7323, allocations: 177.5 kB / 0.8681 GB, free: 13.71 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.7323, allocations: 101.2 kB / 0.8682 GB, free: 13.61 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.7324, allocations: 188.2 kB / 0.8683 GB, free: 13.41 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.7325, allocations: 105.3 kB / 0.8684 GB, free: 13.29 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.192e-05/0.7325, allocations: 75.28 kB / 0.8685 GB, free: 13.21 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008974/0.7334, allocations: 3.906 kB / 0.8685 GB, free: 13.21 MB / 0.5419 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 (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.7336, allocations: 178.5 kB / 0.8687 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 4.598e-05/0.7336, allocations: 8.094 kB / 0.8687 GB, free: 13.01 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.7336, allocations: 0 / 0.8687 GB, free: 13.01 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.7336, allocations: 3.938 kB / 0.8687 GB, free: 13 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.734, allocations: 0.5226 MB / 0.8692 GB, free: 12.48 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001435/0.7341, allocations: 115.3 kB / 0.8693 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.7344, allocations: 0.6842 MB / 0.87 GB, free: 11.63 MB / 0.5419 GB Notification: Performance of SimCode: time 2.41e-07/0.7344, allocations: 0 / 0.87 GB, free: 11.63 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)