I created a volumetric mass and then i tried to put a roof on a upper surface curvilinear very complex, it got error on application roof and i'm not able to resolve
It is difficult to understand the form by just one image, but it does not seem "very complex" as you said. Sometimes, "Roof by face" does not work on these forms, though. But you have the other alternative: "Wall by face" (a thin wall) which usually works well with these forms.
See attached illustration.
I resolve it in one part of the roof, in the other part I have cutted the mass and goes ok, but I think Autodesk will try to improve in the next Revit versions
hallo from Italy