Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 289.8 MB / 297.1 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 185.2 kB / 366.3 MB, free: 2.012 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 0.6256 GB, free: 5.844 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009474/0.0009473, allocations: 81.02 kB / 0.7395 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2867/0.2876, allocations: 122.5 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7028/0.9904, allocations: 116.3 MB / 0.9727 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/1.162, allocations: 139.2 MB / 1.109 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.162, allocations: 104.4 kB / 1.109 GB, free: 9.27 MB / 0.7136 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.003961/1.166, allocations: 1.308 MB / 1.11 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.166, allocations: 12 kB / 1.11 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/1.166, allocations: 4 kB / 1.11 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/1.166, allocations: 174.9 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/1.166, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/1.166, allocations: 4 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.566e-05/1.166, allocations: 4 kB / 1.11 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.339e-05/1.166, allocations: 43.41 kB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/1.166, allocations: 0 / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/1.166, allocations: 3.938 kB / 1.11 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/1.166, allocations: 4 kB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/1.166, allocations: 159 kB / 1.11 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/1.167, allocations: 38.84 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/1.167, allocations: 21.77 kB / 1.11 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/1.167, allocations: 4 kB / 1.11 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/1.167, allocations: 34.56 kB / 1.111 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/1.167, allocations: 0 / 1.111 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001194/1.167, allocations: 45.53 kB / 1.111 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/1.167, allocations: 81.11 kB / 1.111 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/1.167, allocations: 120.9 kB / 1.111 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/1.167, allocations: 25.7 kB / 1.111 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/1.167, allocations: 92.19 kB / 1.111 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/1.167, allocations: 3.906 kB / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/1.167, allocations: 0 / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.167, allocations: 321.4 kB / 1.111 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/1.167, allocations: 23.98 kB / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.43e-05/1.167, allocations: 24 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.5e-05/1.167, allocations: 36.52 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/1.167, allocations: 0 / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000137/1.167, allocations: 111.2 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.167, allocations: 5.875 kB / 1.111 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/1.167, allocations: 4 kB / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.167, allocations: 3.906 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.051e-05/1.168, allocations: 4 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/1.168, allocations: 0 / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/1.168, allocations: 15.83 kB / 1.111 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/1.168, allocations: 0 / 1.111 GB, free: 6.359 MB / 0.7136 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.631e-05/1.168, allocations: 101 kB / 1.111 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/1.168, allocations: 7.906 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/1.168, allocations: 3.469 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/1.168, allocations: 4 kB / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/1.168, allocations: 0 / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.168, allocations: 0 / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/1.168, allocations: 142.1 kB / 1.112 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.168, allocations: 0 / 1.112 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/1.168, allocations: 11.94 kB / 1.112 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/1.168, allocations: 0 / 1.112 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/1.168, allocations: 4 kB / 1.112 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.168, allocations: 0 / 1.112 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/1.168, allocations: 7.922 kB / 1.112 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.338e-05/1.168, allocations: 84.84 kB / 1.112 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001736/1.168, allocations: 468 kB / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/1.168, allocations: 81.09 kB / 1.112 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/1.168, allocations: 0 / 1.112 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/1.168, allocations: 7.906 kB / 1.112 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/1.168, allocations: 3.938 kB / 1.112 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/1.168, allocations: 0 / 1.112 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.735e-05/1.168, allocations: 103.3 kB / 1.112 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007683/1.169, allocations: 23.94 kB / 1.112 GB, free: 5.199 MB / 0.7136 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.0001745/1.169, allocations: 119.2 kB / 1.112 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000131/1.169, allocations: 81.67 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.169, allocations: 0 / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/1.169, allocations: 4 kB / 1.113 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/1.17, allocations: 10.19 kB / 1.113 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/1.17, allocations: 83.94 kB / 1.113 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/1.17, allocations: 0.7037 MB / 1.113 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/1.17, allocations: 0 / 1.113 GB, free: 4.141 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)