Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8538/0.8538, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 185.2 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.1 MB / 399.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009193/0.0009193, allocations: 98.44 kB / 476.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3059/0.3069, allocations: 82.93 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.5129, allocations: 76.75 MB / 0.6211 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5916/1.105, allocations: 102.9 MB / 0.7216 GB, free: 9.348 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004413/1.105, allocations: 103.9 kB / 0.7217 GB, free: 9.246 MB / 490.7 MB 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.00523/1.11, allocations: 1.337 MB / 0.723 GB, free: 7.875 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.279e-05/1.11, allocations: 12 kB / 0.723 GB, free: 7.863 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/1.111, allocations: 3.906 kB / 0.723 GB, free: 7.859 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/1.111, allocations: 171 kB / 0.7232 GB, free: 7.652 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.111, allocations: 0 / 0.7232 GB, free: 7.652 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/1.111, allocations: 4 kB / 0.7232 GB, free: 7.648 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.336e-05/1.111, allocations: 11.92 kB / 0.7232 GB, free: 7.637 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/1.111, allocations: 43.42 kB / 0.7232 GB, free: 7.582 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/1.111, allocations: 4 kB / 0.7232 GB, free: 7.578 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/1.111, allocations: 0 / 0.7232 GB, free: 7.578 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/1.111, allocations: 0 / 0.7232 GB, free: 7.578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/1.111, allocations: 151 kB / 0.7234 GB, free: 7.391 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.278e-05/1.112, allocations: 45.12 kB / 0.7234 GB, free: 7.328 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/1.112, allocations: 25.78 kB / 0.7234 GB, free: 7.297 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/1.112, allocations: 0 / 0.7234 GB, free: 7.297 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/1.112, allocations: 30.56 kB / 0.7235 GB, free: 7.258 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/1.112, allocations: 0 / 0.7235 GB, free: 7.258 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001807/1.112, allocations: 45.53 kB / 0.7235 GB, free: 7.207 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/1.112, allocations: 81.11 kB / 0.7236 GB, free: 7.109 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/1.112, allocations: 123.5 kB / 0.7237 GB, free: 6.984 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/1.112, allocations: 33.77 kB / 0.7237 GB, free: 6.945 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/1.112, allocations: 84.12 kB / 0.7238 GB, free: 6.859 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/1.112, allocations: 7.906 kB / 0.7238 GB, free: 6.852 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.112, allocations: 0 / 0.7238 GB, free: 6.852 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/1.112, allocations: 317.4 kB / 0.7241 GB, free: 6.535 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-05/1.112, allocations: 27.98 kB / 0.7241 GB, free: 6.508 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/1.112, allocations: 23.98 kB / 0.7242 GB, free: 6.484 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.267e-05/1.113, allocations: 27.98 kB / 0.7242 GB, free: 6.457 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.113, allocations: 0 / 0.7242 GB, free: 6.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001552/1.113, allocations: 117.1 kB / 0.7243 GB, free: 6.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.113, allocations: 4 kB / 0.7243 GB, free: 6.336 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.113, allocations: 0 / 0.7243 GB, free: 6.336 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.113, allocations: 4.828 kB / 0.7243 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/1.113, allocations: 4 kB / 0.7243 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.113, allocations: 0 / 0.7243 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/1.113, allocations: 13.92 kB / 0.7243 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/1.113, allocations: 0 / 0.7243 GB, free: 6.316 MB / 490.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 (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 8.33e-05/1.113, allocations: 104.9 kB / 0.7244 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/1.113, allocations: 11.91 kB / 0.7244 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/1.113, allocations: 7.469 kB / 0.7245 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/1.113, allocations: 0 / 0.7245 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.113, allocations: 5.938 kB / 0.7245 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.113, allocations: 0 / 0.7245 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/1.113, allocations: 138.2 kB / 0.7246 GB, free: 6.016 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.113, allocations: 0 / 0.7246 GB, free: 6.016 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/1.113, allocations: 7.984 kB / 0.7246 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/1.113, allocations: 0 / 0.7246 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/1.113, allocations: 7.906 kB / 0.7246 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/1.113, allocations: 0 / 0.7246 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.113, allocations: 4 kB / 0.7246 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001168/1.113, allocations: 87.55 kB / 0.7247 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002731/1.114, allocations: 464 kB / 0.7251 GB, free: 5.398 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/1.114, allocations: 81.02 kB / 0.7252 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/1.114, allocations: 0 / 0.7252 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/1.114, allocations: 7.938 kB / 0.7252 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/1.114, allocations: 0 / 0.7252 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/1.114, allocations: 4.875 kB / 0.7252 GB, free: 5.289 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.314e-05/1.114, allocations: 99.3 kB / 0.7253 GB, free: 5.191 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008166/1.115, allocations: 31.84 kB / 0.7254 GB, free: 5.16 MB / 490.7 MB 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.0002781/1.115, allocations: 126.9 kB / 0.7255 GB, free: 5.023 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/1.115, allocations: 81.67 kB / 0.7256 GB, free: 4.938 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.115, allocations: 4 kB / 0.7256 GB, free: 4.934 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.114e-05/1.115, allocations: 4 kB / 0.7256 GB, free: 4.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/1.115, allocations: 3.984 kB / 0.7256 GB, free: 4.926 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/1.116, allocations: 92.69 kB / 0.7256 GB, free: 4.809 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/1.116, allocations: 0.699 MB / 0.7263 GB, free: 4.086 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/1.116, allocations: 0 / 0.7263 GB, free: 4.086 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)