Revised FMI interface for #313
Revised FMI interface for #313
Added mos script for #313.