throw error if SOS fallback is called on continuous variable