simulink build error with canoe

5 views (last 30 days)
Nagaraju boya
Nagaraju boya on 15 Aug 2017
Answered: Alessio Canepa on 27 Sep 2018
HI,
Please find below build error when i try to build simulink model. It was working last week and now i am getting below error C:\Nagaraju\Projects\TCU\02-TF2\V04.00\Vehicle_Simulator_for_Mobile_Testing_V_4.0\Plant_Model_cn_rtw>call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\..\\VC\vcvarsall.bat" x86 The system cannot find the file specified. The system cannot find the file specified. The system cannot find the file specified. The system cannot find the file specified. The system cannot find the file specified. The system cannot find the file specified. The system cannot find the file specified. 'nmake' is not recognized as an internal or external command, operable program or batch file. The make command returned an error of 9009 'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command, operable program or batch file. Error: Error(s) encountered while building "Plant_Model"
Please find below build log.
=== Build (Elapsed: 2:42 min) === Checking block usage.
### Generate CANoe Model Viewer information for model: Plant_Model
### Generate model description file: Plant_Model.ini
77 file(s) in 31.6 sec generated.
### Starting Real-Time Workshop build procedure for model: Plant_Model
### Generating code into build folder: C:\Nagaraju\Projects\TCU\02-TF2\V04.00\Vehicle_Simulator_for_Mobile_Testing_V_4.0\Plant_Model_cn_rtw
Warning: Output port 1 of 'Plant_Model/TF1/CCF_Logic' is not connected.
Warning: Output port 2 of 'Plant_Model/TF1/CCF_Logic' is not connected.
Warning: Output port 16 of 'Plant_Model/TF1/CCF_Logic/Bus Selector' is not connected.
Warning: Output port 17 of 'Plant_Model/TF1/CCF_Logic/Bus Selector' is not connected.
Warning: Input port 18 of 'Plant_Model/TF1/CCF_Logic/TCU3_CCF_Logic' is not connected.
Warning: Input port 11 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 18 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 19 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 20 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 21 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 22 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 24 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 25 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 26 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 27 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 28 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 29 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 30 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 31 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 32 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 33 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 34 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 35 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 36 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 37 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 38 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 39 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 40 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 41 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 42 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 43 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 44 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 45 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 46 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 47 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 48 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 49 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 50 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 51 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 52 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 53 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 54 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 55 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 56 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 57 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 58 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 59 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 60 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 61 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 62 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 63 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 64 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 66 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 67 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 68 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 69 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 70 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 71 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 72 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 73 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 74 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 76 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 81 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 82 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 83 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 84 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Input port 85 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 3 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 19 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 20 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 25 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 26 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 27 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 28 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 29 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 30 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 31 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 32 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 33 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 34 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 35 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 36 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 37 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 38 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 39 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 40 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 41 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 42 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 43 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 44 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 45 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 46 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 47 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 48 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 49 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 50 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 51 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 52 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 53 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 54 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 55 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 56 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 57 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 58 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 59 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 62 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 63 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 64 of 'Plant_Model/TF1/TF2 ' is not connected.
Warning: Output port 65 of 'Plant_Model/TF1/TF2 /BCM' is not connected.
Warning: Input port 11 of 'Plant_Model/TF1/Warning' is not connected.
Warning: Input port 12 of 'Plant_Model/TF1/Warning' is not connected.
Warning: #916 has an unconditional transition #898 that shadows the following transitions:
#897
You can also configure the diagnostic by clicking here.
Warning: Junction #2082 does not have an unconditional path to a state or a terminal junction AND it has multiple paths leading to it. This might lead to confusing run-time behavior because of the backtracking semantics of Stateflow. In particular:
1. The transitions downstream of this junction might get executed multiple times (depending on the number of incident paths to this junction).
2. Execution might backtrack all the way to another transition upstream of this junction leading to execution of undesired transitions.
To avoid this potentially confusing behavior, consider adding an unconditional transition to a terminal junction from this junction #2082. This will ensure that execution never backtracks from this junction.
Type "sfhelp('backup_warning_error')" for more examples of undesirable backtracking semantics. You can also configure the diagnostic by clicking here.
Warning: Junction #1550 does not have an unconditional path to a state or a terminal junction AND it has multiple paths leading to it. This might lead to confusing run-time behavior because of the backtracking semantics of Stateflow. In particular:
1. The transitions downstream of this junction might get executed multiple times (depending on the number of incident paths to this junction).
2. Execution might backtrack all the way to another transition upstream of this junction leading to execution of undesired transitions.
To avoid this potentially confusing behavior, consider adding an unconditional transition to a terminal junction from this junction #1550. This will ensure that execution never backtracks from this junction.
Type "sfhelp('backup_warning_error')" for more examples of undesirable backtracking semantics. You can also configure the diagnostic by clicking here. Warning: #1086 has an unconditional transition #1048 that shadows the following transitions: #1049
You can also configure the diagnostic by clicking here.
Warning: #2175 has an unconditional transition #2136 that shadows the following transitions:
#2132
You can also configure the diagnostic by clicking here.
Warning: #2175 has an unconditional transition #2136 that shadows the following transitions:
#2132
You can also configure the diagnostic by clicking here.
Warning: Transition #244 in chart 'TF1/TF2
/BCM' has no destination.
Warning: 'TCU_BCM_Authentication' has an unconditional transition '//[(TC...NABLE)]' that shadows the following transitions:
'//[BCM...ail==1]'
You can also configure the diagnostic by clicking here.
Warning: #320 has an unconditional transition '//[(en...s = 1;}' that shadows the following transitions:
'[(Star...s = 1;}'
You can also configure the diagnostic by clicking here.
Warning: #320 has an unconditional transition '//[(en...s = 1;}' that shadows the following transitions:
'[(Star...s = 1;}'
You can also configure the diagnostic by clicking here.
Warning: Junction #1206 does not have an unconditional path to a state or a terminal junction AND it has multiple paths leading to it. This might lead to confusing run-time behavior because of the backtracking semantics of Stateflow. In particular:
1. The transitions downstream of this junction might get executed multiple times (depending on the number of incident paths to this junction).
2. Execution might backtrack all the way to another transition upstream of this junction leading to execution of undesired transitions.
To avoid this potentially confusing behavior, consider adding an unconditional transition to a terminal junction from this junction #1206. This will ensure that execution never backtracks from this junction.
Type "sfhelp('backup_warning_error')" for more examples of undesirable backtracking semantics. You can also configure the diagnostic by clicking here. Warning: Junction #1204 does not have an unconditional path to a state or a terminal junction AND it has multiple paths leading to it. This might lead to confusing run-time behavior because of the backtracking semantics of Stateflow. In particular:
1. The transitions downstream of this junction might get executed multiple times (depending on the number of incident paths to this junction).
2. Execution might backtrack all the way to another transition upstream of this junction leading to execution of undesired transitions.
To avoid this potentially confusing behavior, consider adding an unconditional transition to a terminal junction from this junction #1204. This will ensure that execution never backtracks from this junction.
Type "sfhelp('backup_warning_error')" for more examples of undesirable backtracking semantics. You can also configure the diagnostic by clicking here. Warning: Junction #1200 does not have an unconditional path to a state or a terminal junction AND it has multiple paths leading to it. This might lead to confusing run-time behavior because of the backtracking semantics of Stateflow. In particular:
1. The transitions downstream of this junction might get executed multiple times (depending on the number of incident paths to this junction).
2. Execution might backtrack all the way to another transition upstream of this junction leading to execution of undesired transitions.
To avoid this potentially confusing behavior, consider adding an unconditional transition to a terminal junction from this junction #1200. This will ensure that execution never backtracks from this junction.
Type "sfhelp('backup_warning_error')" for more examples of undesirable backtracking semantics. You can also configure the diagnostic by clicking here. Warning: Junction #1196 does not have an unconditional path to a state or a terminal junction AND it has multiple paths leading to it. This might lead to confusing run-time behavior because of the backtracking semantics of Stateflow. In particular:
1. The transitions downstream of this junction might get executed multiple times (depending on the number of incident paths to this junction).
2. Execution might backtrack all the way to another transition upstream of this junction leading to execution of undesired transitions.
To avoid this potentially confusing behavior, consider adding an unconditional transition to a terminal junction from this junction #1196. This will ensure that execution never backtracks from this junction.
Type "sfhelp('backup_warning_error')" for more examples of undesirable backtracking semantics. You can also configure the diagnostic by clicking here. Warning: {DPFAlert_out == DPFAlert_in;} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ '{DPFAl...rt_in;}' has an action with no side effect.
Occurred in chart 'TF1/Warning', '{DPFAl...rt_in;}'.
### Invoking Target Language Compiler on Plant_Model.rtw
### Using System Target File: C:\caeapps\matlab\R2015b_win64\rtw\c\canoe\cn.tlc
### Loading TLC function libraries
### Initial pass through model to cache user defined code
...............................................................................
......................
### Caching model source code
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
..........................
### Generating TLC interface API.
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
................................................................
### Writing source file Plant_Model_capi.c
...............................................................................
...............................................................................
...............................................................................
...............................................................................
.......................
### Writing header file Plant_Model_capi.h
### Writing source file Plant_Model.c
.
### Writing header file Plant_Model_private.h
### Writing header file Plant_Model.h
### Writing header file Plant_Model_types.h
### Writing header file rtwtypes.h
### Writing header file builtin_typeid_types.h
### Writing header file multiword_types.h
.
### Writing header file zero_crossing_types.h
### Writing header file rt_zcfcn.h
### Writing source file rt_zcfcn.c
### Writing header file rtmodel.h
### Writing source file Plant_Model_data.c
### Writing header file rt_nonfinite.h
.
### Writing source file rt_nonfinite.c
### Writing header file rt_defines.h
### Writing header file rtGetInf.h
### Writing source file rtGetInf.c
### Writing header file rtGetNaN.h
### Writing source file rtGetNaN.c
.
### TLC code generation complete.
.
### Processing Template Makefile: C:\caeapps\matlab\R2015b_win64\rtw\c\canoe\cn_msdll.tmf
### Plant_Model.mk which is generated from C:\caeapps\matlab\R2015b_win64\rtw\c\canoe\cn_msdll.tmf is up to date
### Building Plant_Model: .\\Plant_Model.bat
........
C:\Nagaraju\Projects\TCU\02-TF2\V04.00\Vehicle_Simulator_for_Mobile_Testing_V_4.0\Plant_Model_cn_rtw>set WINSDK_71A=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\
C:\Nagaraju\Projects\TCU\02-TF2\V04.00\Vehicle_Simulator_for_Mobile_Testing_V_4.0\Plant_Model_cn_rtw>cd .
C:\Nagaraju\Projects\TCU\02-TF2\V04.00\Vehicle_Simulator_for_Mobile_Testing_V_4.0\Plant_Model_cn_rtw>call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\..\\VC\vcvarsall.bat" x86
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
'nmake' is not recognized as an internal or external command,
operable program or batch file.
The make command returned an error of 9009
'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command,
operable program or batch file.
Error: Error(s) encountered while building "Plant_Model"
Thanks, Nagaraju

Answers (1)

Alessio Canepa
Alessio Canepa on 27 Sep 2018
Di you find the solution? I've the same problem =(

Community Treasure Hunt

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

Start Hunting!