Problem in receiving message using GSM
If you want to use the Console monitor and the GSM at the same time, you need to use different pins to separate the communication streams.

Typically the console serial monitor is attached to Serial.*, while GSM modules are attached using SoftwareSerial to other pins.  See https://arduino.stackexchange.com/a/1195/6628 for an example.