I am using Dymola [Ran as Administrator]
I have installed OPC Core Components: D:\\Program Files\\MATLAB\\R2020a\\toolbox\\opc\\opc\\private\\win64\\OPCCoreComponen
You have to use an older version of Visual Studio.
Here are the limitations of the OPC functionality according to Dymola User Manual Volume 2 in Dymola 2019 FD01: