Medium package used in the Source. Make sure it is the same as the one the inlet the source is connected to.
package Medium = Media.myMedia.Interfaces.PartialMedium;