The tricky point is that you absolutely need a config_file.xml
In this file the name of the jobs should be the same as the one written in the command line "nameJob1" and "nameJob2". I suggest you take the one generated by abaqus when you run the cosimulation from the cae, then you just modify the name of the job and submit the whole by command line in a shell console.