Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.842/1.842, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 176.5 kB / 487 MB, free: 5.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 221.3 MB / 0.7819 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009414/0.0009412, allocations: 92.62 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4587/0.4597, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.6603, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5515/1.212, allocations: 151.3 MB / 1.353 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/1.212, allocations: 84.86 kB / 1.353 GB, free: 15.32 MB / 0.8073 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.01194/1.224, allocations: 4.964 MB / 1.358 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/1.224, allocations: 9.094 kB / 1.358 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/1.224, allocations: 31.86 kB / 1.358 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/1.224, allocations: 260.7 kB / 1.358 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/1.224, allocations: 14.03 kB / 1.358 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/1.225, allocations: 18.16 kB / 1.358 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004099/1.225, allocations: 202.4 kB / 1.359 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/1.225, allocations: 258.4 kB / 1.359 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.225, allocations: 0 / 1.359 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/1.225, allocations: 2.688 kB / 1.359 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/1.225, allocations: 6.469 kB / 1.359 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/1.227, allocations: 0.9009 MB / 1.36 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/1.227, allocations: 214.7 kB / 1.36 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/1.227, allocations: 100.2 kB / 1.36 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/1.228, allocations: 7.484 kB / 1.36 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/1.228, allocations: 138.9 kB / 1.36 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/1.228, allocations: 0 / 1.36 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30): time 0.0004007/1.228, allocations: 185.8 kB / 1.36 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/1.228, allocations: 56.48 kB / 1.36 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/1.228, allocations: 172.7 kB / 1.361 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/1.228, allocations: 34.53 kB / 1.361 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/1.228, allocations: 150.9 kB / 1.361 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/1.229, allocations: 67.69 kB / 1.361 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/1.229, allocations: 0 / 1.361 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.033e-05/1.229, allocations: 333.6 kB / 1.361 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/1.229, allocations: 74.89 kB / 1.361 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/1.229, allocations: 130.7 kB / 1.361 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/1.229, allocations: 75.67 kB / 1.361 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.229, allocations: 0 / 1.361 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003315/1.229, allocations: 253.7 kB / 1.362 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/1.229, allocations: 4.797 kB / 1.362 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.229, allocations: 160 / 1.362 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.229, allocations: 11.91 kB / 1.362 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/1.23, allocations: 39.34 kB / 1.362 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.23, allocations: 4 kB / 1.362 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/1.23, allocations: 40.8 kB / 1.362 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/1.23, allocations: 24.22 kB / 1.362 GB, free: 12.68 MB / 0.8073 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 7.53e-05/1.23, allocations: 128.8 kB / 1.362 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/1.23, allocations: 20.38 kB / 1.362 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/1.23, allocations: 225 kB / 1.362 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/1.23, allocations: 4.703 kB / 1.362 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.23, allocations: 0 / 1.362 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.23, allocations: 1.359 kB / 1.362 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007285/1.231, allocations: 0.632 MB / 1.363 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.231, allocations: 0 / 1.363 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/1.231, allocations: 32.64 kB / 1.363 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/1.231, allocations: 0 / 1.363 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/1.231, allocations: 5.266 kB / 1.363 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.231, allocations: 3.938 kB / 1.363 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.231, allocations: 0.7969 kB / 1.363 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002949/1.232, allocations: 303.2 kB / 1.363 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003176/1.232, allocations: 0.672 MB / 1.364 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/1.232, allocations: 93.58 kB / 1.364 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/1.232, allocations: 5.266 kB / 1.364 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/1.232, allocations: 40.81 kB / 1.364 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/1.232, allocations: 33.42 kB / 1.364 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/1.232, allocations: 17.3 kB / 1.364 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.753e-05/1.232, allocations: 115.9 kB / 1.364 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008295/1.233, allocations: 52.5 kB / 1.364 GB, free: 10.71 MB / 0.8073 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.0001324/1.233, allocations: 114.5 kB / 1.364 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002996/1.234, allocations: 213.3 kB / 1.364 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.234, allocations: 4.062 kB / 1.364 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/1.234, allocations: 114.2 kB / 1.364 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/1.234, allocations: 22.11 kB / 1.364 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/1.235, allocations: 310.6 kB / 1.365 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/1.235, allocations: 0.7969 MB / 1.366 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of SimCode: time 2.51e-07/1.235, allocations: 0 / 1.366 GB, free: 9.328 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)