Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7304/0.7304, allocations: 141.8 MB / 149.1 MB, free: 4.562 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.001111/0.001111, allocations: 180.1 kB / 181.9 MB, free: 212 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.292/1.292, allocations: 221.3 MB / 436 MB, free: 9.348 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.0009941/0.0009941, allocations: 100.4 kB / 0.507 GB, free: 24.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001923/0.001923, allocations: 269.8 kB / 0.5884 GB, free: 12.39 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1954/0.1974, allocations: 89.69 MB / 0.676 GB, free: 2.625 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.5937, allocations: 82.76 MB / 0.7569 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.7153, allocations: 110 MB / 0.8643 GB, free: 2.746 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.7157, allocations: 107.8 kB / 0.8644 GB, free: 2.645 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.011/0.7267, allocations: 3.906 MB / 0.8682 GB, free: 14.73 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.7267, allocations: 9.219 kB / 0.8682 GB, free: 14.73 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.7268, allocations: 7.906 kB / 0.8682 GB, free: 14.72 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.7269, allocations: 171.6 kB / 0.8684 GB, free: 14.51 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.7269, allocations: 3.906 kB / 0.8684 GB, free: 14.51 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.7269, allocations: 0.5312 kB / 0.8684 GB, free: 14.51 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.423e-05/0.727, allocations: 32.52 kB / 0.8684 GB, free: 14.48 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.599e-05/0.7271, allocations: 69.08 kB / 0.8685 GB, free: 14.41 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.7271, allocations: 0 / 0.8685 GB, free: 14.41 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.7271, allocations: 0 / 0.8685 GB, free: 14.41 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.7272, allocations: 7.984 kB / 0.8685 GB, free: 14.4 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.7274, allocations: 150.7 kB / 0.8686 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.378e-05/0.7274, allocations: 55.41 kB / 0.8687 GB, free: 14.15 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.37e-05/0.7275, allocations: 53.05 kB / 0.8687 GB, free: 14.1 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.7275, allocations: 3.938 kB / 0.8687 GB, free: 14.09 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.7276, allocations: 30.56 kB / 0.8688 GB, free: 14.05 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=10): time 2.355e-06/0.7276, allocations: 3.984 kB / 0.8688 GB, free: 14.05 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10): time 0.000214/0.7278, allocations: 117.6 kB / 0.8689 GB, free: 13.93 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.7278, allocations: 51.41 kB / 0.8689 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.728, allocations: 121.1 kB / 0.869 GB, free: 13.75 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.728, allocations: 25.7 kB / 0.8691 GB, free: 13.71 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.728, allocations: 92.16 kB / 0.8692 GB, free: 13.62 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.7281, allocations: 27.56 kB / 0.8692 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.7281, allocations: 3.938 kB / 0.8692 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.7282, allocations: 326.7 kB / 0.8695 GB, free: 13.26 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.7283, allocations: 35.92 kB / 0.8695 GB, free: 13.23 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.249e-05/0.7283, allocations: 27.98 kB / 0.8696 GB, free: 13.2 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.7284, allocations: 39.97 kB / 0.8696 GB, free: 13.16 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.7284, allocations: 0 / 0.8696 GB, free: 13.16 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001564/0.7285, allocations: 125.5 kB / 0.8697 GB, free: 13.03 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.7286, allocations: 8.062 kB / 0.8697 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7286, allocations: 0 / 0.8697 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.7286, allocations: 0 / 0.8697 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.7286, allocations: 0 / 0.8697 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.7286, allocations: 0 / 0.8697 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.7286, allocations: 11.89 kB / 0.8697 GB, free: 13.01 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.7287, allocations: 6.344 kB / 0.8697 GB, free: 13.01 MB / 0.5419 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 (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 6.237e-05/0.7287, allocations: 101 kB / 0.8698 GB, free: 12.9 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.7287, allocations: 7.906 kB / 0.8698 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.7288, allocations: 8.375 kB / 0.8698 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.7288, allocations: 4 kB / 0.8699 GB, free: 12.88 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7288, allocations: 0 / 0.8699 GB, free: 12.88 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7288, allocations: 0 / 0.8699 GB, free: 12.88 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.729, allocations: 162 kB / 0.87 GB, free: 12.69 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.729, allocations: 0 / 0.87 GB, free: 12.69 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.729, allocations: 0 / 0.87 GB, free: 12.69 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.729, allocations: 4 kB / 0.87 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.729, allocations: 0 / 0.87 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.729, allocations: 4 kB / 0.87 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.729, allocations: 0 / 0.87 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001704/0.7292, allocations: 160.8 kB / 0.8702 GB, free: 12.5 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002731/0.7295, allocations: 0.5141 MB / 0.8707 GB, free: 11.97 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.7295, allocations: 89 kB / 0.8708 GB, free: 11.86 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.7295, allocations: 0 / 0.8708 GB, free: 11.86 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.435e-05/0.7296, allocations: 4.062 kB / 0.8708 GB, free: 11.86 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.7296, allocations: 0 / 0.8708 GB, free: 11.86 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-06/0.7296, allocations: 4 kB / 0.8708 GB, free: 11.86 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.294e-05/0.7297, allocations: 100.2 kB / 0.8709 GB, free: 11.76 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008688/0.7305, allocations: 91.77 kB / 0.8709 GB, free: 11.67 MB / 0.5419 GB 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.0002958/0.7308, allocations: 181 kB / 0.8711 GB, free: 11.48 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.731, allocations: 63.98 kB / 0.8712 GB, free: 11.42 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.731, allocations: 0 / 0.8712 GB, free: 11.42 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.731, allocations: 43.98 kB / 0.8712 GB, free: 11.38 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.382e-05/0.7311, allocations: 0 / 0.8712 GB, free: 11.38 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.7314, allocations: 135.6 kB / 0.8714 GB, free: 11.22 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.7317, allocations: 0.7154 MB / 0.872 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of SimCode: time 2.7e-07/0.7317, allocations: 0 / 0.872 GB, free: 10.48 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)