Haskell interface: generate CasadiTree.hs, CasadiClasses.hs