I believe you ;-) since you seem to work on a real screen, where you do/see all your stuff.
... but this does not help.
In the TeamCity environment you have to take care, that you get messages/exceptions down under from SikuliX.
Do a step by step try and error with basic features and create messages/exceptions yourself.
More I cannot do for you, due to lack of knowledge/experience with TeamCity.
I believe you ;-) since you seem to work on a real screen, where you do/see all your stuff.
... but this does not help.
In the TeamCity environment you have to take care, that you get messages/exceptions down under from SikuliX.
Do a step by step try and error with basic features and create messages/exceptions yourself.
More I cannot do for you, due to lack of knowledge/ experience with TeamCity.