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