This might be issue with settings in Configuration Parameters. Try the following:
Configuration Parameters -> Simulation Target -> Undefined Function handling -> Use Interface Only
Set the undefined function handling option to “Use Interface only”.
Hope this helps!