What does this mean?: avrdude:stk500_getsync(): not in sync:resp=0x00

Get the message after upload done.

I suspect that you are getting the message because the upload has failed, not because it is complete. Check that the board type and port match your hardware in the tools menu of the IDE.