Strange output, but why and how to solve it

There is nothing wrong, it only warns that the sketch uses most of the memory so there is little room for runtime allocation of memory (especially function calls) and local variables.