Unfortunately there is recently no good way for mapping of such roof. You can of course use 9 elements: For longer parts four “gabled” roofs, 4 pyramidal in the corner and one flat in the middle, but it is dirty,tricky way and I don´t like it.
It would be better to implement more roofs liek described in my “OSM 4D definition”.
We need some helpful hands for this implementations.