Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.7181/0.7181, allocations: 141.8 MB / 149.1 MB, free: 4.355 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.001212/0.001212, allocations: 192.7 kB / 181.9 MB, free: 20 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.4 MB / 436 MB, free: 9.242 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.001135/0.001136, allocations: 91.22 kB / 0.507 GB, free: 24.13 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001767/0.001767, allocations: 275.1 kB / 0.5884 GB, free: 12.19 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1927/0.1945, allocations: 89.69 MB / 0.676 GB, free: 2.406 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.6305, allocations: 82.75 MB / 0.7568 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.7452, allocations: 108.9 MB / 0.8632 GB, free: 3.793 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.7454, allocations: 112.5 kB / 0.8633 GB, free: 3.688 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.003586/0.749, allocations: 1.352 MB / 0.8646 GB, free: 2.305 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.7491, allocations: 8 kB / 0.8646 GB, free: 2.297 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.7491, allocations: 3.906 kB / 0.8646 GB, free: 2.293 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.7493, allocations: 171.6 kB / 0.8648 GB, free: 2.086 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-06/0.7493, allocations: 0 / 0.8648 GB, free: 2.086 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.7493, allocations: 5.344 kB / 0.8648 GB, free: 2.082 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.904e-05/0.7493, allocations: 11.92 kB / 0.8648 GB, free: 2.07 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.343e-05/0.7494, allocations: 43.98 kB / 0.8648 GB, free: 2.016 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7494, allocations: 0.5 kB / 0.8648 GB, free: 2.016 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.7494, allocations: 0.5 kB / 0.8648 GB, free: 2.016 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7494, allocations: 3.938 kB / 0.8648 GB, free: 2.012 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.7496, allocations: 152.3 kB / 0.865 GB, free: 1.824 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 4.594e-05/0.7496, allocations: 42.48 kB / 0.865 GB, free: 1.766 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.7497, allocations: 23.19 kB / 0.8651 GB, free: 1.738 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.7497, allocations: 0 / 0.8651 GB, free: 1.738 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.7497, allocations: 31.78 kB / 0.8651 GB, free: 1.699 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/0.7497, allocations: 0.9375 kB / 0.8651 GB, free: 1.699 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.0001266/0.7499, allocations: 49.53 kB / 0.8651 GB, free: 1.645 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.7499, allocations: 77.64 kB / 0.8652 GB, free: 1.551 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.75, allocations: 129.9 kB / 0.8653 GB, free: 1.418 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.75, allocations: 25.7 kB / 0.8654 GB, free: 1.387 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.958e-05/0.75, allocations: 81.11 kB / 0.8654 GB, free: 1.305 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.75, allocations: 7.906 kB / 0.8654 GB, free: 1.297 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.7501, allocations: 0.5938 kB / 0.8654 GB, free: 1.297 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.7501, allocations: 319.4 kB / 0.8657 GB, free: 0.9766 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.7502, allocations: 24.66 kB / 0.8658 GB, free: 0.9531 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.7502, allocations: 26.73 kB / 0.8658 GB, free: 0.9297 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.706e-05/0.7503, allocations: 29.95 kB / 0.8658 GB, free: 0.9023 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7503, allocations: 0 / 0.8658 GB, free: 0.9023 MB / 0.5263 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001286/0.7504, allocations: 107.1 kB / 0.8659 GB, free: 0.793 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7504, allocations: 7.984 kB / 0.8659 GB, free: 0.7852 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.7505, allocations: 3.984 kB / 0.8659 GB, free: 0.7812 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.7505, allocations: 3.938 kB / 0.8659 GB, free: 0.7773 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.697e-05/0.7505, allocations: 4.562 kB / 0.8659 GB, free: 0.7734 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.7505, allocations: 0.7188 kB / 0.8659 GB, free: 0.7734 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.7506, allocations: 15.75 kB / 0.866 GB, free: 0.7578 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.7506, allocations: 0.875 kB / 0.866 GB, free: 0.7578 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.02e-05/0.7506, allocations: 102.3 kB / 0.8661 GB, free: 0.6523 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.7507, allocations: 11.91 kB / 0.8661 GB, free: 0.6406 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.7507, allocations: 8.156 kB / 0.8661 GB, free: 0.6289 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7507, allocations: 0.8125 kB / 0.8661 GB, free: 0.6289 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.7507, allocations: 0 / 0.8661 GB, free: 0.6289 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7507, allocations: 4.625 kB / 0.8661 GB, free: 0.625 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.479e-05/0.7508, allocations: 142.2 kB / 0.8662 GB, free: 460 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7508, allocations: 4.875 kB / 0.8662 GB, free: 456 kB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.7508, allocations: 4.938 kB / 0.8662 GB, free: 452 kB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7508, allocations: 8.438 kB / 0.8662 GB, free: 444 kB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.7509, allocations: 0 / 0.8662 GB, free: 444 kB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7509, allocations: 0.7188 kB / 0.8662 GB, free: 444 kB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7509, allocations: 0 / 0.8662 GB, free: 444 kB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.251e-05/0.7509, allocations: 89.95 kB / 0.8663 GB, free: 328 kB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002161/0.7512, allocations: 462.6 kB / 0.8668 GB, free: 15.84 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.7512, allocations: 82.2 kB / 0.8668 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.7512, allocations: 4 kB / 0.8668 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.7513, allocations: 0.625 kB / 0.8668 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.7513, allocations: 3.906 kB / 0.8669 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.7513, allocations: 2.375 kB / 0.8669 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of sort global known variables: time 6.693e-05/0.7514, allocations: 104 kB / 0.867 GB, free: 15.63 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008513/0.7522, allocations: 20 kB / 0.867 GB, free: 15.61 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002216/0.7525, allocations: 124.8 kB / 0.8671 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.7526, allocations: 85.67 kB / 0.8672 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7526, allocations: 0.7812 kB / 0.8672 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.7526, allocations: 5.406 kB / 0.8672 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.7528, allocations: 0 / 0.8672 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.753, allocations: 89.78 kB / 0.8673 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.7533, allocations: 0.6958 MB / 0.8679 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.7533, allocations: 1.562 kB / 0.8679 GB, free: 14.55 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)