Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-01960// Views: AA-01960// Created: 2020-10-12 11:41:46// Last Updated: 2020-10-12 11:47:01
RT-LAB
" Reference to non-existent field 'RootGotoHashMap' " Compilation Error (Code Seperation)

Problem

When trying to compile a model with RT-LAB and it gives the error message:

??? Reference to non-existent field 'RootGotoHashMap'.

Error in getrtlabinfo

Error n getrtlabinfo

Error in getArtemisInfo

Error in ArtemisEntryPoint

Error in opSeperatePackages (line 23)

   feval(functionPtr, 'Separate', modelName);

Error in opInitFunction>GenerateModel (line 216)

   opSeparatePackages(model)

Error in opInitFunction (line 97)

   GenerateModel(action, model, platform, preBuildCmd, postBuildCmd, listSub, StandAloneModel, SlxFormat, compilerVersionName);

??? Error in preparing original model for code separation.




Solution

This error occurs when trying to use 'ToGo' and 'From' Tags on the top level of Simulink. Replace the tags by wires and it should solve the issue. Using 'ToGo' and 'From' Tags might work (i.e. it compiles) when there is only one 'From' tag and only one real-time subsystem but it will not work in multi-subsystems models with multi-tags.

Please contact Technical Support if it does not solve the issue via: https://www.opal-rt.com/contact-technical-support/