Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.62/1.62, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001163/0.001163, allocations: 169.3 kB / 366.3 MB, free: 2.012 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.683/1.683, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0009614/0.0009614, allocations: 93.61 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2975/0.2985, allocations: 122.5 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.9471, allocations: 116.3 MB / 0.9727 GB, free: 67.89 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8934/1.841, allocations: 479.9 MB / 1.441 GB, free: 6.969 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.841, allocations: 115.8 kB / 1.441 GB, free: 6.902 MB / 0.823 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 7.923/9.764, allocations: 2.55 GB / 3.991 GB, free: 64.71 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/9.764, allocations: 9.375 kB / 3.991 GB, free: 64.71 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006803/9.771, allocations: 1.412 MB / 3.992 GB, free: 64.33 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02984/9.801, allocations: 14.46 MB / 4.007 GB, free: 63.05 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/9.801, allocations: 240.9 kB / 4.007 GB, free: 62.98 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009189/9.802, allocations: 239.9 kB / 4.007 GB, free: 62.98 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006119/9.808, allocations: 3.261 MB / 4.01 GB, free: 62.96 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005895/9.814, allocations: 3.766 MB / 4.014 GB, free: 62.5 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.171e-05/9.814, allocations: 11.78 kB / 4.014 GB, free: 62.5 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003403/9.815, allocations: 6.219 kB / 4.014 GB, free: 62.5 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.938e-05/9.815, allocations: 103.8 kB / 4.014 GB, free: 62.5 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02853/9.843, allocations: 24.19 MB / 4.038 GB, free: 50.79 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/9.845, allocations: 1.551 MB / 4.039 GB, free: 50.76 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/9.847, allocations: 1.371 MB / 4.04 GB, free: 50.73 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/9.859, allocations: 8.006 MB / 4.048 GB, free: 46.75 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/9.86, allocations: 1.395 MB / 4.05 GB, free: 46.62 MB / 1.057 GB Notification: Performance of pre-optimization done (n=219): time 4.097e-06/9.86, allocations: 0 / 4.05 GB, free: 46.62 MB / 1.057 GB Notification: Performance of matching and sorting (n=219): time 0.007862/9.868, allocations: 3.331 MB / 4.053 GB, free: 46.23 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/9.868, allocations: 180.2 kB / 4.053 GB, free: 46.04 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/9.874, allocations: 3.934 MB / 4.057 GB, free: 45.67 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0002769/9.875, allocations: 33.08 kB / 4.057 GB, free: 45.64 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/9.876, allocations: 1.636 MB / 4.058 GB, free: 44.84 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/9.877, allocations: 0.7101 MB / 4.059 GB, free: 44.37 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/9.877, allocations: 3.312 kB / 4.059 GB, free: 44.37 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001366/9.877, allocations: 412.8 kB / 4.06 GB, free: 44.06 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/9.879, allocations: 1.106 MB / 4.061 GB, free: 44.05 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/9.881, allocations: 2.145 MB / 4.063 GB, free: 42.86 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004182/9.885, allocations: 1.721 MB / 4.064 GB, free: 42.8 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/9.885, allocations: 7.156 kB / 4.064 GB, free: 42.8 MB / 1.057 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.008893/9.894, allocations: 4.103 MB / 4.068 GB, free: 42.39 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001794/9.896, allocations: 10.58 MB / 4.079 GB, free: 31.51 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/9.896, allocations: 27.72 kB / 4.079 GB, free: 31.51 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/9.897, allocations: 269.2 kB / 4.079 GB, free: 31.48 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/9.9, allocations: 0.6917 MB / 4.08 GB, free: 31.48 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/9.904, allocations: 4.215 MB / 4.084 GB, free: 27.99 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004896/9.909, allocations: 0.5127 MB / 4.084 GB, free: 27.84 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/9.909, allocations: 170.2 kB / 4.085 GB, free: 27.84 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/9.909, allocations: 3.938 kB / 4.085 GB, free: 27.84 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007529/9.917, allocations: 3.391 MB / 4.088 GB, free: 27.72 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.62e-05/9.917, allocations: 24.92 kB / 4.088 GB, free: 27.72 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009609/9.918, allocations: 265.8 kB / 4.088 GB, free: 27.69 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/9.921, allocations: 0.6688 MB / 4.089 GB, free: 27.69 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006161/9.927, allocations: 5.951 MB / 4.095 GB, free: 38.69 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004709/9.931, allocations: 460.2 kB / 4.095 GB, free: 38.58 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004047/9.932, allocations: 157.2 kB / 4.095 GB, free: 38.58 MB / 1.073 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.0008754/9.933, allocations: 266.2 kB / 4.095 GB, free: 38.4 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/9.934, allocations: 0.5133 MB / 4.096 GB, free: 38.12 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009322/9.943, allocations: 4.076 MB / 4.1 GB, free: 37.89 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.708e-05/9.943, allocations: 27.95 kB / 4.1 GB, free: 37.89 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/9.943, allocations: 6.125 kB / 4.1 GB, free: 37.89 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005602/9.949, allocations: 2.827 MB / 4.103 GB, free: 37.71 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/9.967, allocations: 8.24 MB / 4.111 GB, free: 36.99 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/9.967, allocations: 7.109 kB / 4.111 GB, free: 36.99 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002356/9.969, allocations: 486.4 kB / 4.111 GB, free: 36.99 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/9.97, allocations: 159.2 kB / 4.111 GB, free: 36.96 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002212/9.97, allocations: 51.83 kB / 4.111 GB, free: 36.96 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003029/9.973, allocations: 3.75 MB / 4.115 GB, free: 33.54 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/9.973, allocations: 2.438 kB / 4.115 GB, free: 33.54 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009324/9.982, allocations: 5.368 MB / 4.12 GB, free: 32.73 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01187/9.994, allocations: 7.728 MB / 4.128 GB, free: 31.53 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003159/9.998, allocations: 1.34 MB / 4.129 GB, free: 30.82 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001537/9.999, allocations: 14.06 kB / 4.129 GB, free: 30.82 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004071/10, allocations: 323.7 kB / 4.129 GB, free: 30.8 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/10, allocations: 136.5 kB / 4.13 GB, free: 30.8 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002912/10, allocations: 124.5 kB / 4.13 GB, free: 30.8 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.005779/10.01, allocations: 2.939 MB / 4.133 GB, free: 30.59 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01775/10.03, allocations: 4.24 MB / 4.137 GB, free: 30.12 MB / 1.073 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.004786/10.03, allocations: 3.392 MB / 4.14 GB, free: 28.86 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.008023/10.04, allocations: 5.357 MB / 4.145 GB, free: 27.96 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/10.04, allocations: 3.062 kB / 4.145 GB, free: 27.96 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002233/10.04, allocations: 1.684 MB / 4.147 GB, free: 27.65 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/10.05, allocations: 2.283 MB / 4.149 GB, free: 27.6 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03158/10.08, allocations: 10.28 MB / 4.159 GB, free: 25.22 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003787/10.09, allocations: 3.609 MB / 4.163 GB, free: 24.33 MB / 1.073 GB Notification: Performance of SimCode: time 1.253e-06/10.09, allocations: 4 kB / 4.163 GB, free: 24.32 MB / 1.073 GB (rm -f Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller.fmu > Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)