OK, I made a simple test file which only contains the faulty functions. I also enclosed the 360Plugins_Server.log
Maybe you can see, what goes wrong.
I work on Windows Server 2012 R2.
The password for admin is admin
SM-Test.zip
BTW: I realized, that the last command in the groovy script is wrong, but this is not the real fault