Hi!
There are probably not long term consequences unless you drive or fall down the stairs because you are so fatigued. In the short term, however, you will likely not be doing quality work on projects, nor will you likely perform well on exams if you are this tired. You will find that you can study much more efficiently if you are less sleep deprived.
Getting even 3-4 hours of sleep will help you be more efficient with your remaining studies.
Here is a general article on sleep deprivation: http://www.sleep-deprivation.com/articles/causes-of-sleep-deprivation/students-and-sleep.php
Remember - finals are designed to make you think. If you are sleep deprived, you will not be thinking well.
Good luck!
Let me know if you have any additional questions.
Dr. Eric
Thank you for allowing me to help you. If you feel I have fully answered your question please hit Accept so I receive credit for my work. Feedback is always welcome.