You are a Diabetic on OHA's.
Any drug may have non specific side effect like head ache and irritability.
But this is not specific to Glimepiride
The symptom which you are presenting may be due to hypoglycemia
regularly monitor your blood sugar.
Diabetics are prone for Urinary tract
infections due to excretion of sugar in their urine.