The Congress (2013) is a better Gilliam film (and he didn't work on it)
The Zero Theorem (2013) has its moments, but The Congress (2013) is a full blown Terry Gilliam movie and he had nothing to do with it.
Loosely based on a Stanislaw Lem's story It's a heavily satirical futuristic Sci-Fi drama that cynically deals with the future of films and entertainment industry in general as well as drugs and has many similarities with Brazil. About half-way through, the film switches to animation similar to later Ralph Bakshi's work.
The story is set in a very near future and follows an aging actress (Robin Wright) who sells her 3D body scan and full mind scan to a movie studio, so it can continue to make movies "with her", but in fact without her, by using photo-realistic CGI and AI simulation. The contract lasts for 20 years that she uses to take care of her sick son. During these 20 years, the entertainment industry evolves into unbelievable ways technologically and she must sign a new contract. That's when things get complicated (although, keep in mind that this is not a thriller, or an action movie). Even the ending is very Gilliam-ish.
However, the film can get a bit dull at times, so be warned, but see it anyway, since this is one of the most original futuristic Sci-Fi dramas in the last couple of decades.