[DynareDev] [Trac] #300: Implement 3rd derivatives of external functions