Code Generation Error - Why?

2 views (last 30 days)
Steve Benz
Steve Benz on 1 Aug 2018
Commented: Steve Benz on 7 Aug 2018
Code generation assertion 'replacerDim->getNumDims() >= replaceeDim->getNumDims()' failed in 'b:\matlab\src\simulink\sl_engin\rtwcg_buffer_reuse.cpp:4589' [ 0] 0x000000013cd5cc81 bin\win64\libmwsimulink.dll+10013825 PartitionSort::Partition::sort+00035297 [ 1] 0x000000013cf8e665 bin\win64\libmwsimulink.dll+12314213 SleCompModelAPI::requestBlockReduction+00580709 [ 2] 0x000000013d00778d bin\win64\libmwsimulink.dll+12810125 PartitionSort::BlockPartition::getFcnCallPortGroupIndex+00123901 [ 3] 0x000000013d00fd26 bin\win64\libmwsimulink.dll+12844326 PartitionSort::BlockPartition::getFcnCallPortGroupIndex+00158102 [ 4] 0x000000013cc2c4ee bin\win64\libmwsimulink.dll+08766702 QueryMLFcnTable_libmwsimulink+00085006 [ 5] 0x0000000008c9a9f4 bin\win64\pgo\m_dispatcher.dll+00043508 mdFindFunctionFromUserSpecifiedName+00012500 [ 6] 0x0000000008c94610 bin\win64\pgo\m_dispatcher.dll+00017936 Mfunction_handle::dispatch+00000320 [ 7] 0x0000000009b70189 bin\win64\pgo\m_lxe.dll+00393609 [ 8] 0x0000000009bfa808 bin\win64\pgo\m_lxe.dll+00960520 mwboost::serialization::singleton<mwboost::archive::detail::pointer_iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00121832 [ 9] 0x0000000009bfb403 bin\win64\pgo\m_lxe.dll+00963587 mwboost::serialization::singleton<mwboost::archive::detail::pointer_iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00124899 [ 10] 0x0000000009bfc836 bin\win64\pgo\m_lxe.dll+00968758 mwboost::serialization::singleton<mwboost::archive::detail::pointer_iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00130070 [ 11] 0x0000000009bfd3f0 bin\win64\pgo\m_lxe.dll+00971760 mwboost::serialization::singleton<mwboost::archive::detail::pointer_iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00133072 [ 12] 0x0000000009bfc97f bin\win64\pgo\m_lxe.dll+00969087 mwboost::serialization::singleton<mwboost::archive::detail::pointer_iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00130399 [ 13] 0x0000000009bfca7e bin\win64\pgo\m_lxe.dll+00969342 mwboost::serialization::singleton<mwboost::archive::detail::pointer_iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00130654 [ 14] 0x0000000009b7e8a5 bin\win64\pgo\m_lxe.dll+00452773 [ 15] 0x0000000009b7b335 bin\win64\pgo\m_lxe.dll+00439093 ### Build procedure for model: 'Triggering2018a' aborted due to an error. Code generation assertion 'replacerDim->getNumDims() >= replaceeDim->getNumDims()' failed in 'b:\matlab\src\simulink\sl_engin\rtwcg_buffer_reuse.cpp:4589'.
  1 Comment
Steve Benz
Steve Benz on 1 Aug 2018
It should be noted that this model compiled fine with 2016a

Sign in to comment.

Answers (1)

Nick Sarnie
Nick Sarnie on 4 Aug 2018
Edited: Nick Sarnie on 4 Aug 2018
Hi Steve,
This appears to be a bug. Please report this to Technical Support using the below link for further assitance.
Thanks, Nick

Categories

Find more on General Applications in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!