Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.303/1.303, allocations: 249.4 MB / 256.7 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 181.2 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008379/0.0008382, allocations: 90.33 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3584/0.3593, allocations: 112.5 MB / 0.7808 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.547, allocations: 106.3 MB / 0.8847 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5638/1.111, allocations: 134.9 MB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/1.111, allocations: 91.06 kB / 1.016 GB, free: 3.691 MB / 0.6355 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.01207/1.123, allocations: 4.848 MB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.123, allocations: 12 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/1.123, allocations: 31.62 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/1.124, allocations: 261.1 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/1.124, allocations: 15.86 kB / 1.022 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/1.124, allocations: 27.91 kB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003826/1.124, allocations: 192.2 kB / 1.022 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/1.124, allocations: 262.2 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.124, allocations: 0 / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/1.125, allocations: 3.984 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.125, allocations: 8 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/1.126, allocations: 0.892 MB / 1.023 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/1.126, allocations: 221.9 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/1.126, allocations: 102.4 kB / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/1.126, allocations: 4.219 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/1.127, allocations: 141 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.512e-06/1.127, allocations: 0 / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0003529/1.127, allocations: 194.9 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/1.127, allocations: 59.34 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/1.127, allocations: 171.2 kB / 1.024 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/1.127, allocations: 37.14 kB / 1.024 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/1.127, allocations: 141.9 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/1.127, allocations: 68.97 kB / 1.024 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/1.127, allocations: 0 / 1.024 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.127, allocations: 336.7 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/1.128, allocations: 77.94 kB / 1.024 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/1.128, allocations: 132.3 kB / 1.024 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/1.128, allocations: 82.47 kB / 1.025 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.128, allocations: 0 / 1.025 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003881/1.128, allocations: 236.1 kB / 1.025 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/1.128, allocations: 8.156 kB / 1.025 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.128, allocations: 4 kB / 1.025 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.128, allocations: 4 kB / 1.025 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/1.129, allocations: 47.09 kB / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/1.129, allocations: 7.984 kB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/1.129, allocations: 43.81 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/1.129, allocations: 23.09 kB / 1.025 GB, free: 12.34 MB / 0.6511 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.0001005/1.129, allocations: 123.4 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/1.129, allocations: 23.72 kB / 1.025 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004065/1.129, allocations: 216.7 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.129, allocations: 4 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.129, allocations: 0 / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.129, allocations: 3.984 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007928/1.13, allocations: 0.6235 MB / 1.026 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.13, allocations: 0 / 1.026 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/1.13, allocations: 39.72 kB / 1.026 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.13, allocations: 0 / 1.026 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/1.13, allocations: 0 / 1.026 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.13, allocations: 4 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.13, allocations: 4 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003415/1.131, allocations: 311.9 kB / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004182/1.131, allocations: 0.6724 MB / 1.027 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/1.131, allocations: 96.77 kB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/1.131, allocations: 8 kB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/1.132, allocations: 35.95 kB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/1.132, allocations: 34.58 kB / 1.027 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/1.132, allocations: 11.3 kB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.86e-05/1.132, allocations: 122.8 kB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008486/1.133, allocations: 51.28 kB / 1.027 GB, free: 10.16 MB / 0.6511 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.0001777/1.133, allocations: 113 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003415/1.133, allocations: 216.5 kB / 1.028 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.133, allocations: 0 / 1.028 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/1.133, allocations: 109.2 kB / 1.028 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/1.134, allocations: 23.17 kB / 1.028 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006808/1.134, allocations: 308.3 kB / 1.028 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/1.135, allocations: 0.7938 MB / 1.029 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.135, allocations: 0 / 1.029 GB, free: 8.719 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)