Export to OPENSTUDIO error "ModelCorePINVOKE"

If you want to use OpenStudio 3.0 with legacy honeybee, then your solution is here: