If you are getting this error "A TYPE was called in the TRNSYS input file but was either not linked into trndll.dll or was not found in an external dll. ...."
Then download the bcvtb.dll and libexpat.dll attached), copy them into into the Trnsys17\Exe folder and try again. Let me know whether this works. This fixed it for me recently (like in february of this year).
I am using win 64 and TRNSYS 17 full version.