Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.AggregationWeightingFactors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",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.8184/0.8184, allocations: 127.4 MB / 134.6 MB, free: 4.059 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.001379/0.00138, allocations: 189.2 kB / 164.4 MB, free: 6.859 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.347/1.347, allocations: 205.1 MB / 399.1 MB, free: 6.07 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.0009419/0.0009419, allocations: 86.88 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.314/0.315, allocations: 82.94 MB / 0.5461 GB, free: 42.59 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.5092, allocations: 76.75 MB / 0.6211 GB, free: 13.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5347/1.044, allocations: 104.1 MB / 0.7228 GB, free: 8.109 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003783/1.044, allocations: 111.9 kB / 0.7229 GB, free: 8 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.01392/1.058, allocations: 3.971 MB / 0.7267 GB, free: 3.996 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.138e-05/1.059, allocations: 8 kB / 0.7268 GB, free: 3.988 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/1.059, allocations: 11.81 kB / 0.7268 GB, free: 3.977 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/1.059, allocations: 168.8 kB / 0.7269 GB, free: 3.773 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/1.059, allocations: 0 / 0.7269 GB, free: 3.773 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/1.059, allocations: 7.969 kB / 0.7269 GB, free: 3.766 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001328/1.059, allocations: 35.89 kB / 0.727 GB, free: 3.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/1.059, allocations: 65.67 kB / 0.727 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/1.059, allocations: 0 / 0.727 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/1.059, allocations: 0 / 0.727 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/1.059, allocations: 4 kB / 0.727 GB, free: 3.656 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/1.06, allocations: 158.1 kB / 0.7272 GB, free: 3.465 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/1.06, allocations: 50.75 kB / 0.7272 GB, free: 3.406 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.493e-05/1.06, allocations: 52.81 kB / 0.7273 GB, free: 3.352 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/1.06, allocations: 3.984 kB / 0.7273 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/1.06, allocations: 34.56 kB / 0.7273 GB, free: 3.305 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/1.06, allocations: 0.9375 kB / 0.7273 GB, free: 3.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003743/1.06, allocations: 113.6 kB / 0.7274 GB, free: 3.184 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/1.06, allocations: 51.41 kB / 0.7275 GB, free: 3.121 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/1.061, allocations: 124.9 kB / 0.7276 GB, free: 2.992 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/1.061, allocations: 25.7 kB / 0.7276 GB, free: 2.961 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/1.061, allocations: 88.11 kB / 0.7277 GB, free: 2.871 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/1.061, allocations: 31.55 kB / 0.7277 GB, free: 2.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/1.061, allocations: 0 / 0.7277 GB, free: 2.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/1.061, allocations: 326.7 kB / 0.728 GB, free: 2.512 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-05/1.061, allocations: 31.98 kB / 0.7281 GB, free: 2.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.423e-05/1.061, allocations: 27.98 kB / 0.7281 GB, free: 2.453 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.106e-05/1.061, allocations: 43.97 kB / 0.7281 GB, free: 2.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.061, allocations: 0 / 0.7281 GB, free: 2.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002099/1.062, allocations: 121.5 kB / 0.7283 GB, free: 2.285 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.062, allocations: 12 kB / 0.7283 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.062, allocations: 0 / 0.7283 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.062, allocations: 0 / 0.7283 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.452e-06/1.062, allocations: 4 kB / 0.7283 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.062, allocations: 0 / 0.7283 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/1.062, allocations: 0 / 0.7283 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/1.062, allocations: 4 kB / 0.7283 GB, free: 2.266 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 9.238e-05/1.062, allocations: 104.9 kB / 0.7284 GB, free: 2.156 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/1.062, allocations: 7.906 kB / 0.7284 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/1.062, allocations: 12.36 kB / 0.7284 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.062, allocations: 8 kB / 0.7284 GB, free: 2.129 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.062, allocations: 1.5 kB / 0.7284 GB, free: 2.129 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.062, allocations: 0 / 0.7284 GB, free: 2.129 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/1.062, allocations: 154.1 kB / 0.7286 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.062, allocations: 4 kB / 0.7286 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/1.062, allocations: 0 / 0.7286 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/1.062, allocations: 0 / 0.7286 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.062, allocations: 0 / 0.7286 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/1.062, allocations: 0 / 0.7286 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.062, allocations: 96 / 0.7286 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002634/1.062, allocations: 164.8 kB / 0.7287 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003543/1.063, allocations: 0.5169 MB / 0.7292 GB, free: 1.219 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/1.063, allocations: 85.89 kB / 0.7293 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/1.063, allocations: 0 / 0.7293 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.303e-05/1.063, allocations: 0 / 0.7293 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/1.063, allocations: 12.05 kB / 0.7293 GB, free: 1.105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/1.063, allocations: 4 kB / 0.7293 GB, free: 1.102 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.595e-05/1.063, allocations: 99.92 kB / 0.7294 GB, free: 1.004 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001031/1.064, allocations: 83.78 kB / 0.7295 GB, free: 0.9219 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0004564/1.065, allocations: 179.1 kB / 0.7297 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/1.065, allocations: 67.97 kB / 0.7297 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.065, allocations: 0 / 0.7297 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/1.065, allocations: 43.98 kB / 0.7298 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/1.065, allocations: 7.984 kB / 0.7298 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/1.065, allocations: 131.6 kB / 0.7299 GB, free: 480 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/1.066, allocations: 0.7154 MB / 0.7306 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/1.066, allocations: 0 / 0.7306 GB, free: 15.73 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)