Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_8_0_0_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_8_0_0_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller",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.0.0/package.mo): time 2.292/2.292, allocations: 284.8 MB / 292.1 MB, free: 10.82 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.001631/0.00163, allocations: 185.2 kB / 360.3 MB, free: 7.547 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.72/1.72, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.00116/0.001159, allocations: 92.44 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2603/0.2615, allocations: 121.4 MB / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5779/0.8394, allocations: 115.2 MB / 0.9628 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.882, allocations: 478.7 MB / 1.43 GB, free: 88.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004189/1.882, allocations: 115.2 kB / 1.43 GB, free: 88.14 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 11.67/13.56, allocations: 2.55 GB / 3.98 GB, free: 54.93 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/13.56, allocations: 9.062 kB / 3.98 GB, free: 54.93 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/13.57, allocations: 1.403 MB / 3.981 GB, free: 54.55 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0561/13.62, allocations: 14.46 MB / 3.995 GB, free: 53.29 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005104/13.63, allocations: 231.9 kB / 3.996 GB, free: 53.22 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/13.63, allocations: 243.5 kB / 3.996 GB, free: 53.22 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01216/13.64, allocations: 3.263 MB / 3.999 GB, free: 53.2 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/13.65, allocations: 3.772 MB / 4.003 GB, free: 52.73 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/13.65, allocations: 8.906 kB / 4.003 GB, free: 52.73 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006142/13.65, allocations: 13.22 kB / 4.003 GB, free: 52.73 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/13.65, allocations: 101.8 kB / 4.003 GB, free: 52.73 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05031/13.7, allocations: 24.18 MB / 4.026 GB, free: 41.04 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003961/13.71, allocations: 1.554 MB / 4.028 GB, free: 41.01 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003529/13.71, allocations: 1.362 MB / 4.029 GB, free: 40.99 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0202/13.73, allocations: 8.008 MB / 4.037 GB, free: 37.02 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003641/13.73, allocations: 1.398 MB / 4.038 GB, free: 36.88 MB / 1.073 GB Notification: Performance of pre-optimization done (n=219): time 6.873e-06/13.73, allocations: 1.625 kB / 4.038 GB, free: 36.88 MB / 1.073 GB Notification: Performance of matching and sorting (n=219): time 0.01536/13.75, allocations: 3.33 MB / 4.042 GB, free: 36.5 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/13.75, allocations: 185.8 kB / 4.042 GB, free: 36.3 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/13.76, allocations: 3.93 MB / 4.046 GB, free: 35.93 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0008995/13.76, allocations: 32.2 kB / 4.046 GB, free: 35.9 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00231/13.76, allocations: 1.646 MB / 4.047 GB, free: 35.09 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001971/13.76, allocations: 0.7034 MB / 4.048 GB, free: 34.62 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/13.77, allocations: 3.375 kB / 4.048 GB, free: 34.62 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002163/13.77, allocations: 416.2 kB / 4.048 GB, free: 34.32 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/13.77, allocations: 1.105 MB / 4.05 GB, free: 34.31 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003815/13.77, allocations: 2.143 MB / 4.052 GB, free: 33.11 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007308/13.78, allocations: 1.719 MB / 4.053 GB, free: 33.06 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.774e-05/13.78, allocations: 3.156 kB / 4.053 GB, free: 33.06 MB / 1.073 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.02103/13.8, allocations: 4.106 MB / 4.057 GB, free: 32.64 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00283/13.8, allocations: 10.58 MB / 4.068 GB, free: 21.76 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/13.8, allocations: 21.53 kB / 4.068 GB, free: 21.76 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/13.81, allocations: 266.7 kB / 4.068 GB, free: 21.73 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008045/13.82, allocations: 0.6953 MB / 4.069 GB, free: 21.73 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007644/13.82, allocations: 4.225 MB / 4.073 GB, free: 34.23 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008387/13.83, allocations: 0.5184 MB / 4.073 GB, free: 34.08 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/13.83, allocations: 167.2 kB / 4.073 GB, free: 34.08 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/13.83, allocations: 6.031 kB / 4.073 GB, free: 34.08 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0136/13.85, allocations: 3.381 MB / 4.077 GB, free: 33.96 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.994e-05/13.85, allocations: 26.88 kB / 4.077 GB, free: 33.96 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/13.85, allocations: 261.6 kB / 4.077 GB, free: 33.93 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005446/13.85, allocations: 0.6771 MB / 4.078 GB, free: 33.93 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/13.86, allocations: 5.954 MB / 4.083 GB, free: 28.94 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007846/13.87, allocations: 468.4 kB / 4.084 GB, free: 28.83 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/13.87, allocations: 161.8 kB / 4.084 GB, free: 28.83 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,chi.booToRea.u,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,$PRE.THeaWatRet.nextEvent,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,$PRE.TChiWatRet.nextEvent,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (342): * Single equations (assignments): 334 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001282/13.87, allocations: 258.9 kB / 4.084 GB, free: 28.65 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/13.88, allocations: 0.5167 MB / 4.085 GB, free: 28.37 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/13.89, allocations: 4.066 MB / 4.089 GB, free: 28.14 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/13.89, allocations: 33.09 kB / 4.089 GB, free: 28.14 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/13.89, allocations: 0 / 4.089 GB, free: 28.14 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01089/13.9, allocations: 2.823 MB / 4.092 GB, free: 27.96 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02845/13.93, allocations: 8.239 MB / 4.1 GB, free: 27.24 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/13.93, allocations: 0 / 4.1 GB, free: 27.24 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004874/13.94, allocations: 489.8 kB / 4.1 GB, free: 27.24 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000928/13.94, allocations: 151.9 kB / 4.1 GB, free: 27.21 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005282/13.94, allocations: 52.91 kB / 4.1 GB, free: 27.21 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004567/13.94, allocations: 3.746 MB / 4.104 GB, free: 23.78 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/13.94, allocations: 7.719 kB / 4.104 GB, free: 23.78 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01574/13.96, allocations: 5.37 MB / 4.109 GB, free: 22.97 MB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02143/13.98, allocations: 7.73 MB / 4.117 GB, free: 21.76 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004485/13.99, allocations: 1.345 MB / 4.118 GB, free: 21.05 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/13.99, allocations: 16.28 kB / 4.118 GB, free: 21.05 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007359/13.99, allocations: 324.7 kB / 4.118 GB, free: 21.04 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006337/14, allocations: 134.8 kB / 4.118 GB, free: 21.04 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005133/14, allocations: 122.5 kB / 4.119 GB, free: 21.04 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.008268/14, allocations: 2.935 MB / 4.121 GB, free: 20.82 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02615/14.03, allocations: 4.252 MB / 4.126 GB, free: 20.35 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.con.conValEva.conPID.I.y,chi.con.conValCon.conPID.I.y,chi.senTConLvg.T,chi.senTConEnt.T,chi.senTEvaEnt.T,chi.senTEvaLvg.T,chi.valEva.vol.dynBal.U,chi.valCon.vol.dynBal.U,senTHeaWatSup.T,senTChiWatSup.T,senTHeaWatRet.T,senTChiWatRet.T) * Number of discrete variables: 16 (chi.booToRea.u,$whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 12 (THeaWatRet.nextEvent,THeaWatRet.last,THeaWatRet.nextEventScaled,THeaWatRet.b,THeaWatRet.a,$whenCondition2,TChiWatRet.nextEvent,TChiWatRet.last,TChiWatRet.nextEventScaled,TChiWatRet.b,TChiWatRet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007782/14.04, allocations: 3.368 MB / 4.129 GB, free: 19.16 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01431/14.05, allocations: 5.362 MB / 4.134 GB, free: 18.34 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/14.05, allocations: 3.125 kB / 4.134 GB, free: 18.34 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.004068/14.06, allocations: 1.683 MB / 4.136 GB, free: 18.07 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01956/14.08, allocations: 2.28 MB / 4.138 GB, free: 18.04 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07391/14.15, allocations: 10.27 MB / 4.148 GB, free: 16.16 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00712/14.16, allocations: 3.603 MB / 4.152 GB, free: 15.34 MB / 1.089 GB Notification: Performance of SimCode: time 1.553e-06/14.16, allocations: 0 / 4.152 GB, free: 15.34 MB / 1.089 GB (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller.fmu > Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)