Fixed a bug in Timing Partitioning. Left Debug options with ifdef.
Merged.