model: stack-allocated vector should use ModelAlloc