Solution
To solve this problem disable BRAM power optimization in compilation properties:
You can access the Compilation properties by doing the following:
Right-click on an FPGA VI, and Create Build Specification (1), and/or edit an existing one under Build Specifications (2):

Right-click on a Build Specification and choose: Properties

Under the Category tab select Xilinx options and choose Custom from the Implementation strategy options.
In the Design optimization directive menu choose Disable BRAM power optimization

After performing the steps above, starting the compilation again will solve the issue.