How to use FMU export function?

I want to export my subsystem to a FMU file, but I find the button of “export FMU“ is disabled. What should I do? Thanks.