Off the bat, have you added "#include<stdio.h>" at the top of your file? Check if that solves your issue.
I read in a few posts the lib is too big for a small memory.
I found some code that works.
When the power fails...