[DynareDev] [Trac] #183: mex file for the static model