Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.6979/0.6979, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001338/0.001337, allocations: 185.2 kB / 164.4 MB, free: 6.879 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.451/1.451, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.0009968/0.0009968, allocations: 92.53 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3249/0.326, allocations: 82.94 MB / 0.5461 GB, free: 42.6 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.5387, allocations: 76.75 MB / 0.6211 GB, free: 13.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5515/1.09, allocations: 101.8 MB / 0.7205 GB, free: 10.41 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003753/1.091, allocations: 99.91 kB / 0.7206 GB, free: 10.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002172/1.093, allocations: 0.694 MB / 0.7213 GB, free: 9.586 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.093, allocations: 11.98 kB / 0.7213 GB, free: 9.574 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/1.093, allocations: 4 kB / 0.7213 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/1.093, allocations: 163 kB / 0.7215 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/1.093, allocations: 0.6562 kB / 0.7215 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/1.093, allocations: 0 / 0.7215 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.183e-05/1.093, allocations: 7.938 kB / 0.7215 GB, free: 9.367 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.785e-05/1.093, allocations: 25.7 kB / 0.7215 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/1.093, allocations: 3.906 kB / 0.7215 GB, free: 9.332 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/1.093, allocations: 0 / 0.7215 GB, free: 9.332 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.093, allocations: 2.078 kB / 0.7215 GB, free: 9.332 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/1.094, allocations: 364.1 kB / 0.7218 GB, free: 8.938 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/1.094, allocations: 169.1 kB / 0.722 GB, free: 8.762 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/1.094, allocations: 80.14 kB / 0.7221 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/1.094, allocations: 75.28 kB / 0.7222 GB, free: 8.605 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.155e-05/1.094, allocations: 120.3 kB / 0.7223 GB, free: 8.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.094, allocations: 0 / 0.7223 GB, free: 8.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001002/1.094, allocations: 25.7 kB / 0.7223 GB, free: 8.449 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.094, allocations: 51.41 kB / 0.7223 GB, free: 8.387 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/1.094, allocations: 89 kB / 0.7224 GB, free: 8.293 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/1.094, allocations: 25.7 kB / 0.7224 GB, free: 8.262 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/1.094, allocations: 88.12 kB / 0.7225 GB, free: 8.172 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/1.094, allocations: 3.938 kB / 0.7225 GB, free: 8.168 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/1.094, allocations: 4.125 kB / 0.7225 GB, free: 8.164 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/1.095, allocations: 310.8 kB / 0.7228 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-06/1.095, allocations: 3.938 kB / 0.7228 GB, free: 7.848 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.279e-06/1.095, allocations: 0 / 0.7228 GB, free: 7.848 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.917e-05/1.095, allocations: 4 kB / 0.7228 GB, free: 7.844 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.095, allocations: 0 / 0.7228 GB, free: 7.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001035/1.095, allocations: 33.61 kB / 0.7229 GB, free: 7.805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/1.095, allocations: 4 kB / 0.7229 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.095, allocations: 4.094 kB / 0.7229 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.095, allocations: 0.8438 kB / 0.7229 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.298e-05/1.095, allocations: 4 kB / 0.7229 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.095, allocations: 0 / 0.7229 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/1.095, allocations: 0 / 0.7229 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/1.095, allocations: 3.984 kB / 0.7229 GB, free: 7.789 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: 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 0.0001214/1.095, allocations: 176.3 kB / 0.7231 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/1.095, allocations: 116.8 kB / 0.7232 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/1.095, allocations: 108 kB / 0.7233 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.841e-05/1.095, allocations: 176.3 kB / 0.7234 GB, free: 7.199 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.88e-05/1.095, allocations: 188.1 kB / 0.7236 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001193/1.095, allocations: 180.2 kB / 0.7238 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/1.096, allocations: 377.8 kB / 0.7242 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.905e-05/1.096, allocations: 104.9 kB / 0.7243 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/1.096, allocations: 105 kB / 0.7244 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.734e-05/1.096, allocations: 184.2 kB / 0.7245 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.72e-05/1.096, allocations: 184.7 kB / 0.7247 GB, free: 5.816 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.319e-05/1.096, allocations: 180.2 kB / 0.7249 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-05/1.096, allocations: 176.3 kB / 0.725 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001439/1.096, allocations: 315.8 kB / 0.7253 GB, free: 5.121 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003134/1.097, allocations: 0.6651 MB / 0.726 GB, free: 4.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/1.097, allocations: 186.1 kB / 0.7262 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/1.097, allocations: 184.3 kB / 0.7264 GB, free: 4.035 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/1.097, allocations: 104.9 kB / 0.7265 GB, free: 3.926 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/1.097, allocations: 176.3 kB / 0.7266 GB, free: 3.746 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/1.097, allocations: 102.2 kB / 0.7267 GB, free: 3.641 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.27e-05/1.097, allocations: 75.28 kB / 0.7268 GB, free: 3.566 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000905/1.098, allocations: 4 kB / 0.7268 GB, free: 3.562 MB / 490.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.0002282/1.098, allocations: 190.5 kB / 0.727 GB, free: 3.367 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.405e-05/1.098, allocations: 4 kB / 0.727 GB, free: 3.363 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.098, allocations: 0 / 0.727 GB, free: 3.363 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/1.098, allocations: 0 / 0.727 GB, free: 3.363 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/1.099, allocations: 0.5309 MB / 0.7275 GB, free: 2.828 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001987/1.099, allocations: 115.4 kB / 0.7276 GB, free: 2.691 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/1.099, allocations: 0.684 MB / 0.7283 GB, free: 1.98 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/1.099, allocations: 0 / 0.7283 GB, free: 1.98 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)