Northern Ireland shot themselves in the foot in Bulgaria as growing pains were exposed in the searing heat of Plovdiv.