Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",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.134/2.134, 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.001648/0.001648, allocations: 189.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.713/1.713, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001246/0.001246, allocations: 92.81 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.245/0.2462, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.7862, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2092/0.9955, allocations: 140 MB / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.9959, allocations: 92.44 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.01961/1.015, allocations: 4.843 MB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.016, allocations: 11.94 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.689e-05/1.016, allocations: 31.62 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/1.016, allocations: 271.8 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/1.016, allocations: 12 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/1.016, allocations: 20 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006741/1.017, allocations: 199 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007068/1.018, allocations: 270.3 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/1.018, allocations: 0 / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/1.018, allocations: 4.656 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/1.018, allocations: 9.594 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/1.02, allocations: 0.8885 MB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/1.021, allocations: 216.2 kB / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/1.021, allocations: 97.31 kB / 1.106 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/1.021, allocations: 8.219 kB / 1.106 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003532/1.022, allocations: 143.5 kB / 1.106 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 3.106e-06/1.022, allocations: 0.7031 kB / 1.106 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.000598/1.022, allocations: 193.4 kB / 1.107 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/1.022, allocations: 55.41 kB / 1.107 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/1.022, allocations: 162.3 kB / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/1.023, allocations: 33.7 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/1.023, allocations: 144.5 kB / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.541e-05/1.023, allocations: 71.06 kB / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/1.023, allocations: 4 kB / 1.107 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.023, allocations: 330.8 kB / 1.107 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/1.023, allocations: 76 kB / 1.107 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/1.024, allocations: 121.1 kB / 1.108 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/1.024, allocations: 76.38 kB / 1.108 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.024, allocations: 0 / 1.108 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006653/1.024, allocations: 256.7 kB / 1.108 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.024, allocations: 4 kB / 1.108 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.024, allocations: 7.906 kB / 1.108 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/1.025, allocations: 5.25 kB / 1.108 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/1.025, allocations: 40.08 kB / 1.108 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.025, allocations: 8.641 kB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/1.025, allocations: 51.69 kB / 1.108 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/1.025, allocations: 12 kB / 1.108 GB, free: 8.031 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * 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 0.0001544/1.026, allocations: 130.1 kB / 1.108 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/1.026, allocations: 19.72 kB / 1.108 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007524/1.026, allocations: 228.2 kB / 1.108 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.026, allocations: 7.984 kB / 1.108 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.026, allocations: 3.75 kB / 1.108 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.026, allocations: 0 / 1.108 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/1.028, allocations: 0.6248 MB / 1.109 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.028, allocations: 5.875 kB / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/1.028, allocations: 31.92 kB / 1.109 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.028, allocations: 0 / 1.109 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/1.028, allocations: 0.6094 kB / 1.109 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/1.028, allocations: 7.984 kB / 1.109 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.028, allocations: 0 / 1.109 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005918/1.029, allocations: 303.7 kB / 1.109 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007213/1.03, allocations: 0.6716 MB / 1.11 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/1.03, allocations: 96.86 kB / 1.11 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/1.03, allocations: 7.984 kB / 1.11 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/1.03, allocations: 35.97 kB / 1.11 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.03, allocations: 39.84 kB / 1.11 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/1.03, allocations: 8 kB / 1.11 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001227/1.03, allocations: 119.3 kB / 1.11 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001193/1.032, allocations: 44 kB / 1.11 GB, free: 5.566 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002108/1.032, allocations: 127.3 kB / 1.11 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005897/1.033, allocations: 208.9 kB / 1.111 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.033, allocations: 4 kB / 1.111 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000298/1.033, allocations: 108.2 kB / 1.111 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/1.033, allocations: 32.08 kB / 1.111 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/1.034, allocations: 302.9 kB / 1.111 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005946/1.035, allocations: 0.8059 MB / 1.112 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/1.035, allocations: 0 / 1.112 GB, free: 3.945 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)