You can't just clear it. You need to call a dealer and book it in.
This is a new feature that most mechanics wouldn't know where to start with.
The pop up bonnet, a pedestrian safety feature, has been activated from your frontal collision.
If the small pyrotechnical devices under the bonnet have been activated, which go off in a front impact, then they may need replacing. Along with the grill that you've broken.
Does your car have parking sensors?
Really hate it when a wall just jumps out in front of you. :)