Even Serial is having this problem. See this
The error occurs when the call Serial1.OpenSerial block is executed.
call Serial1.OpenSerial