Have you gotten a warning in the REPL about a name conflict? Try defining
connect = ModelingToolkit.connect