Starting with omnet 4.2.2 using the MiXiM BaseModule causes an Error condition upon rebuilding the network. I am using MiXiM version 2.2.1.
The error is the following: "subscribe(): not a valid signal: signalID=%d" (in cComponent::subscribe).
The trace looks a bit like this:
MyModule::initialize --- BaseModule::initialize --- findhost()->subscribe(catHostStateSignal, this)
This is a recent change introduced with omnet-4.2.2, omnet-4.2.1 works fine.
What appears to be wrong is the use of a static variable to hold the catHostStateSignal (this is highly discouraged by omnet). MiXiM does seem to have a way to deal with this (simsignalwrap_t), but this does not seem to realize that it needs to re-acquire the signal.