I have not been able to reproduce this error using the given model file. When I look at the file using a hex editor, there are no characters between sum{i in oil} and octanegasoline[j] -- neither a space nor the strange characters that you see reported in the error messages:
Maybe the characters were deleted by some handling of the file before it was sent. But in any case, it appears that previous spaces were recorded correctly, even in the same statement:
So the next test I would try (if you haven't done it already) is for the student to delete and retype the lines where the strange characters appeared, to see whether the error is reproducible.
Bob Fourer
am...@googlegroups.com