in generateModelCode.sh rm .o file before compiling