Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.331/1.331, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.00115/0.00115, allocations: 183.2 kB / 361.1 MB, free: 7.102 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.021/1.021, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007793/0.0007793, allocations: 90.67 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.172/0.1728, allocations: 121.5 MB / 0.8512 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.562, allocations: 115.3 MB / 0.9638 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6316/1.194, allocations: 479 MB / 1.432 GB, free: 84.36 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/1.194, allocations: 111.9 kB / 1.432 GB, free: 84.3 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 6.634/7.828, allocations: 2.55 GB / 3.981 GB, free: 51.88 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/7.828, allocations: 11.16 kB / 3.981 GB, free: 51.88 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006724/7.834, allocations: 1.404 MB / 3.983 GB, free: 51.5 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02894/7.863, allocations: 14.47 MB / 3.997 GB, free: 50.23 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/7.864, allocations: 229.5 kB / 3.997 GB, free: 50.16 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/7.865, allocations: 250.8 kB / 3.997 GB, free: 50.16 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006421/7.871, allocations: 3.256 MB / 4 GB, free: 50.14 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005972/7.877, allocations: 3.779 MB / 4.004 GB, free: 49.68 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.577e-05/7.877, allocations: 7.938 kB / 4.004 GB, free: 49.68 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003151/7.878, allocations: 9.406 kB / 4.004 GB, free: 49.68 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.624e-05/7.878, allocations: 94.97 kB / 4.004 GB, free: 49.68 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02522/7.903, allocations: 24.17 MB / 4.028 GB, free: 37.98 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/7.905, allocations: 1.556 MB / 4.029 GB, free: 37.95 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/7.907, allocations: 1.367 MB / 4.031 GB, free: 37.93 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/7.917, allocations: 8.012 MB / 4.038 GB, free: 33.95 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001677/7.918, allocations: 1.392 MB / 4.04 GB, free: 33.82 MB / 1.042 GB Notification: Performance of pre-optimization done (n=219): time 3.797e-06/7.918, allocations: 4.969 kB / 4.04 GB, free: 33.82 MB / 1.042 GB Notification: Performance of matching and sorting (n=219): time 0.007312/7.926, allocations: 3.332 MB / 4.043 GB, free: 33.43 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/7.926, allocations: 186.3 kB / 4.043 GB, free: 33.23 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005387/7.931, allocations: 3.935 MB / 4.047 GB, free: 32.86 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004411/7.932, allocations: 36.39 kB / 4.047 GB, free: 32.83 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001346/7.933, allocations: 1.626 MB / 4.049 GB, free: 32.03 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/7.934, allocations: 0.7068 MB / 4.049 GB, free: 31.56 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/7.934, allocations: 0 / 4.049 GB, free: 31.56 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001168/7.934, allocations: 417 kB / 4.05 GB, free: 31.26 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/7.936, allocations: 1.114 MB / 4.051 GB, free: 31.25 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/7.938, allocations: 2.134 MB / 4.053 GB, free: 30.05 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003885/7.942, allocations: 1.722 MB / 4.055 GB, free: 30 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/7.942, allocations: 3.75 kB / 4.055 GB, free: 30 MB / 1.042 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.008078/7.95, allocations: 4.104 MB / 4.059 GB, free: 29.58 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001873/7.952, allocations: 10.58 MB / 4.069 GB, free: 34.7 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/7.952, allocations: 21.09 kB / 4.069 GB, free: 34.7 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009295/7.953, allocations: 270.3 kB / 4.069 GB, free: 34.67 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/7.955, allocations: 0.693 MB / 4.07 GB, free: 34.66 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/7.96, allocations: 4.22 MB / 4.074 GB, free: 31.18 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004109/7.964, allocations: 0.5187 MB / 4.075 GB, free: 31.03 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/7.964, allocations: 165 kB / 4.075 GB, free: 31.03 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-06/7.964, allocations: 8.422 kB / 4.075 GB, free: 31.03 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006847/7.971, allocations: 3.389 MB / 4.078 GB, free: 30.91 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/7.971, allocations: 23.53 kB / 4.078 GB, free: 30.91 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008784/7.972, allocations: 264.9 kB / 4.078 GB, free: 30.88 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/7.974, allocations: 0.6707 MB / 4.079 GB, free: 30.88 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00588/7.98, allocations: 5.948 MB / 4.085 GB, free: 25.88 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/7.984, allocations: 465.9 kB / 4.085 GB, free: 25.77 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/7.984, allocations: 167.1 kB / 4.085 GB, free: 25.77 MB / 1.057 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.0006504/7.985, allocations: 251.6 kB / 4.086 GB, free: 25.59 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006459/7.986, allocations: 0.521 MB / 4.086 GB, free: 25.31 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007931/7.994, allocations: 4.082 MB / 4.09 GB, free: 25.08 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/7.994, allocations: 31.14 kB / 4.09 GB, free: 25.08 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/7.994, allocations: 0 / 4.09 GB, free: 25.08 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004928/7.999, allocations: 2.83 MB / 4.093 GB, free: 24.9 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/8.012, allocations: 8.24 MB / 4.101 GB, free: 24.18 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/8.012, allocations: 1.219 kB / 4.101 GB, free: 24.18 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002226/8.014, allocations: 492.3 kB / 4.101 GB, free: 24.18 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/8.015, allocations: 162.5 kB / 4.102 GB, free: 24.14 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/8.015, allocations: 50.41 kB / 4.102 GB, free: 24.14 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/8.018, allocations: 3.75 MB / 4.105 GB, free: 20.71 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/8.018, allocations: 2.062 kB / 4.105 GB, free: 20.71 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007477/8.025, allocations: 5.37 MB / 4.11 GB, free: 19.9 MB / 1.057 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01008/8.035, allocations: 7.734 MB / 4.118 GB, free: 18.69 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/8.038, allocations: 1.339 MB / 4.119 GB, free: 17.98 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000804/8.038, allocations: 13 kB / 4.119 GB, free: 17.98 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003113/8.041, allocations: 324.3 kB / 4.12 GB, free: 17.97 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/8.042, allocations: 130.8 kB / 4.12 GB, free: 17.97 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002294/8.042, allocations: 124.3 kB / 4.12 GB, free: 17.97 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.004094/8.046, allocations: 2.933 MB / 4.123 GB, free: 17.75 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01427/8.06, allocations: 4.248 MB / 4.127 GB, free: 17.29 MB / 1.057 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.003934/8.064, allocations: 3.38 MB / 4.13 GB, free: 16.07 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.007039/8.071, allocations: 5.351 MB / 4.135 GB, free: 15.25 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/8.071, allocations: 0.6562 kB / 4.135 GB, free: 15.25 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.001913/8.073, allocations: 1.683 MB / 4.137 GB, free: 30.99 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009415/8.083, allocations: 2.282 MB / 4.139 GB, free: 30.93 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/8.111, allocations: 10.28 MB / 4.149 GB, free: 28.86 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003639/8.115, allocations: 3.608 MB / 4.153 GB, free: 27.97 MB / 1.073 GB Notification: Performance of SimCode: time 6.11e-07/8.115, allocations: 4 kB / 4.153 GB, free: 27.97 MB / 1.073 GB (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller.fmu > Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)