This appears to be a simulator problem, so I'll move this thread to the CCS forum, where such issues are typically handled. Before I do that, I'll pass on a possible workaround.
Rather than calling clock, read the TSCL register in the same manner used by the example in this wiki article. Because this is a much simpler mechanism than calling clock, it is more likely to work.
Thanks and regards,
-George