Main Content

Code Coverage Test Generation

This example shows how to use Simulink® Design Verifier™ to generate test cases to obtain complete code coverage.

You first collect code coverage for an example model configured for software-in-the-loop (SIL) simulation mode. Then you use Simulink® Design Verifier™ to create a test suite that generates tests cases to achieve the missing coverage. Finally, you execute the generated test cases in SIL simulation mode to verify the complete coverage.

Check Product Availability

Make sure that you have Simulink® Coder™ and Embedded Coder™ software installed on your machine.

if ~(license('test', 'Real-Time_Workshop') && ...
    license('test','RTW_Embedded_Coder'))
    return
end

Initial Setup

Make sure that an unedited version of the model is open.

model = 'sldvdemo_cruise_control';
close_system(model, 0)
open_system(model)

Configure the Model to Measure Code Coverage

Before running the simulation, set the model parameters to run in SIL mode and to collect code coverage metrics by using Simulink® Coverage™.

set_param(model,...
    'SimulationMode', 'Software-in-the-Loop (SIL)',...
    'SystemTargetFile', 'ert.tlc',...
    'LaunchReport', 'off',...
    'PortableWordSizes', 'on',...
    'CovEnable', 'on');

% Remove any existing build folders.
buildFolder = RTW.getBuildDir(model);
if exist(buildFolder.BuildDirectory, 'dir')
    rmdir(buildFolder.BuildDirectory, 's');
end

Run Simulations in SIL Mode

Collect code coverage results by using the cvsim command and producing a coverage report. The cvhtml function produces a coverage report that indicates the initial coverage of the sldvdemo_cruise_control model.

initialCov = cvsim(model);

cvhtml('sil_initial_coverage', initialCov);
### Starting build procedure for: sldvdemo_cruise_control
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: /tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw
### Invoking Target Language Compiler on sldvdemo_cruise_control.rtw
### Using System Target File: /mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert/ert.tlc
### Loading TLC function libraries
......
### Initial pass through model to cache user defined code
.
### Caching model source code
...............................
    ### Writing header file sldvdemo_cruise_control_types.h
.
    ### Writing header file sldvdemo_cruise_control.h
    ### Writing header file rtwtypes.h
    ### Writing source file sldvdemo_cruise_control.c
    ### Writing header file sldvdemo_cruise_control_private.h
    ### Writing source file ert_main.c
.
  ### TLC code generation complete.
### Using toolchain: GNU gcc/g++ | gmake (64-bit Linux)
### Creating '/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/hostobj/instrumented/sldvdemo_cruise_control.mk' ...
### Building 'sldvdemo_cruise_control': "/mathworks/devel/bat/Bdoc21a/build/matlab/bin/glnxa64/gmake"  -f sldvdemo_cruise_control.mk buildobj
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -o "sldvdemo_cruise_control.o" "/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sldvdemo_cruise_control.c"
### Successfully generated all binary outputs.
gmake: Nothing to be done for `buildobj'.
### Successful completion of build procedure for: sldvdemo_cruise_control
### Simulink cache artifacts for 'sldvdemo_cruise_control' were created in '/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control.slxc'.

Build Summary

Top model targets built:

Model                    Action                       Rebuild Reason                                    
========================================================================================================
sldvdemo_cruise_control  Code generated and compiled  Code generation information file does not exist.  

1 of 1 models built (0 models already up to date)
Build duration: 0h 0m 20.869s
### Preparing to start SIL simulation ...
Building with 'gcc'.
MEX completed successfully.
### Using toolchain: GNU gcc/g++ | gmake (64-bit Linux)
### Creating '/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions/pwslib/sldvdemo_cruise_control_ca.mk' ...
### Building 'sldvdemo_cruise_control_ca': "/mathworks/devel/bat/Bdoc21a/build/matlab/bin/glnxa64/gmake"  -f sldvdemo_cruise_control_ca.mk all
gcc -c -fwrapv -fPIC -O0 -DINTEGER_CODE=0  -DCA_CHECK_FLOATING_POINT_ENABLED=1 -DPORTABLE_WORDSIZES -DCA_CHECK_LONG_LONG_ENABLED=0 -DCA_CHECK_DYNAMIC_MEMORY=0 -DCA_CHECK_DAZ_ENABLED=1 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -o "coder_assumptions_hwimpl.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/coder_assumptions_hwimpl.c"
gcc -c -fwrapv -fPIC -O0 -DINTEGER_CODE=0  -DCA_CHECK_FLOATING_POINT_ENABLED=1 -DPORTABLE_WORDSIZES -DCA_CHECK_LONG_LONG_ENABLED=0 -DCA_CHECK_DYNAMIC_MEMORY=0 -DCA_CHECK_DAZ_ENABLED=1 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -o "coder_assumptions_flt.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/coder_assumptions_flt.c"
gcc -c -fwrapv -fPIC -O0 -DINTEGER_CODE=0  -DCA_CHECK_FLOATING_POINT_ENABLED=1 -DPORTABLE_WORDSIZES -DCA_CHECK_LONG_LONG_ENABLED=0 -DCA_CHECK_DYNAMIC_MEMORY=0 -DCA_CHECK_DAZ_ENABLED=1 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -o "sldvdemo_cruise_control_ca.o" "/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions/sldvdemo_cruise_control_ca.c"
### Creating static library ./sldvdemo_cruise_control_ca.a ...
ar ruvs  ./sldvdemo_cruise_control_ca.a coder_assumptions_hwimpl.o coder_assumptions_flt.o sldvdemo_cruise_control_ca.o
ar: creating ./sldvdemo_cruise_control_ca.a
a - coder_assumptions_hwimpl.o
a - coder_assumptions_flt.o
a - sldvdemo_cruise_control_ca.o
### Created: ./sldvdemo_cruise_control_ca.a
### Successfully generated all binary outputs.
### Using toolchain: GNU gcc/g++ | gmake (64-bit Linux)
### Creating '/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/sldvdemo_cruise_control.mk' ...
### Building 'sldvdemo_cruise_control': "/mathworks/devel/bat/Bdoc21a/build/matlab/bin/glnxa64/gmake"  -f sldvdemo_cruise_control.mk all
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xil_interface_lib.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/xil_interface_lib.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xil_data_stream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/xil_data_stream.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xil_services.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/xil_services.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xil_interface.o" "/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/xil_interface.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xilcomms_rtiostream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/xilcomms_rtiostream.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xil_rtiostream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/xil_rtiostream.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "rtiostream_utils.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils/rtiostream_utils.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "coder_assumptions_app.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/coder_assumptions_app.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "coder_assumptions_data_stream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/coder_assumptions_data_stream.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "coder_assumptions_rtiostream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/coder_assumptions_rtiostream.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "sil_main.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/sil_main.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "target_io.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/target_io.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "rtiostream_tcpip.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/rtiostreamtcpip/rtiostream_tcpip.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xil_instrumentation.o" "/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/xil_instrumentation.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "codeinstr_data_stream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/codeinstr_data_stream.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "codeinstr_rtiostream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/codeinstr_rtiostream.c"
### Creating standalone executable ./sldvdemo_cruise_control ...
g++  -o ./sldvdemo_cruise_control xil_interface_lib.o xil_data_stream.o xil_services.o xil_interface.o xilcomms_rtiostream.o xil_rtiostream.o rtiostream_utils.o coder_assumptions_app.o coder_assumptions_data_stream.o coder_assumptions_rtiostream.o sil_main.o target_io.o rtiostream_tcpip.o xil_instrumentation.o codeinstr_data_stream.o codeinstr_rtiostream.o -Wl,--start-group hostobj/instrumented/sldvdemo_cruise_control.o -Wl,--end-group -Wl,--start-group /tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions/pwslib/sldvdemo_cruise_control_ca.a -Wl,--end-group  
### Created: ./sldvdemo_cruise_control
### Successfully generated all binary outputs.
### Starting SIL simulation for component: sldvdemo_cruise_control
rtw.connectivity.HostLauncher: started executable with host process identifier 189100
rtw.connectivity.HostLauncher: stopped executable with host process identifier 189100
### Stopping SIL simulation for component: sldvdemo_cruise_control
### Completed code coverage analysis

Find Test Cases for Missing Coverage

Analyze the sldvdemo_cruise_control model by using Simulink® Design Verifier™ to generate a test suite that achieves increased code coverage. Set the Simulink® Design Verifier™ options to generate test cases to achieve MCDC coverage for the top model.

opts = sldvoptions;
opts.TestgenTarget = 'GenCodeTopModel';
opts.Mode = 'TestGeneration';
opts.ModelCoverageObjectives = 'MCDC';
opts.SaveHarnessModel = 'off';
opts.SaveReport = 'off';
[~, files] = sldvrun(model, opts, true, initialCov);

Verify Complete Coverage

The sldvruntest function simulates the model by using the generated test suite. The cvhtml function produces a coverage report that indicates the final coverage of the sldvdemo_cruise_control model.

[~, finalCov] = sldvruntest(model, files.DataFile, [], true);
cvhtml('sil_final_coverage', finalCov);
close_system(model, 0);
### Starting build procedure for: sldvdemo_cruise_control
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: /tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw
### Invoking Target Language Compiler on sldvdemo_cruise_control.rtw
### Using System Target File: /mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert/ert.tlc
### Loading TLC function libraries
......
### Initial pass through model to cache user defined code
.
### Caching model source code
................................
    ### Writing header file sldvdemo_cruise_control_types.h
.
    ### Writing header file sldvdemo_cruise_control.h
    ### Writing header file rtwtypes.h
    ### Writing source file sldvdemo_cruise_control.c
    ### Writing header file sldvdemo_cruise_control_private.h
    ### Writing source file ert_main.c
.
  ### TLC code generation complete.
### Using toolchain: GNU gcc/g++ | gmake (64-bit Linux)
### Creating '/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/hostobj/instrumented/sldvdemo_cruise_control.mk' ...
### Building 'sldvdemo_cruise_control': "/mathworks/devel/bat/Bdoc21a/build/matlab/bin/glnxa64/gmake"  -f sldvdemo_cruise_control.mk buildobj
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -o "sldvdemo_cruise_control.o" "/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sldvdemo_cruise_control.c"
### Successfully generated all binary outputs.
gmake: Nothing to be done for `buildobj'.
### Successful completion of build procedure for: sldvdemo_cruise_control
### Simulink cache artifacts for 'sldvdemo_cruise_control' were created in '/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control.slxc'.

Build Summary

Top model targets built:

Model                    Action                       Rebuild Reason                   
=======================================================================================
sldvdemo_cruise_control  Code generated and compiled  Generated code was out of date.  

1 of 1 models built (0 models already up to date)
Build duration: 0h 0m 10.615s
### Preparing to start SIL simulation ...
Building with 'gcc'.
MEX completed successfully.
### Using toolchain: GNU gcc/g++ | gmake (64-bit Linux)
### '/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions/pwslib/sldvdemo_cruise_control_ca.mk' is up to date
### Building 'sldvdemo_cruise_control_ca': "/mathworks/devel/bat/Bdoc21a/build/matlab/bin/glnxa64/gmake"  -f sldvdemo_cruise_control_ca.mk all
gcc -c -fwrapv -fPIC -O0 -DINTEGER_CODE=0  -DCA_CHECK_FLOATING_POINT_ENABLED=1 -DPORTABLE_WORDSIZES -DCA_CHECK_LONG_LONG_ENABLED=0 -DCA_CHECK_DYNAMIC_MEMORY=0 -DCA_CHECK_DAZ_ENABLED=1 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -o "sldvdemo_cruise_control_ca.o" "/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions/sldvdemo_cruise_control_ca.c"
### Creating static library ./sldvdemo_cruise_control_ca.a ...
ar ruvs  ./sldvdemo_cruise_control_ca.a coder_assumptions_hwimpl.o coder_assumptions_flt.o sldvdemo_cruise_control_ca.o
ar: creating ./sldvdemo_cruise_control_ca.a
a - coder_assumptions_hwimpl.o
a - coder_assumptions_flt.o
a - sldvdemo_cruise_control_ca.o
### Created: ./sldvdemo_cruise_control_ca.a
### Successfully generated all binary outputs.
### Using toolchain: GNU gcc/g++ | gmake (64-bit Linux)
### '/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/sldvdemo_cruise_control.mk' is up to date
### Building 'sldvdemo_cruise_control': "/mathworks/devel/bat/Bdoc21a/build/matlab/bin/glnxa64/gmake"  -f sldvdemo_cruise_control.mk all
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xil_interface_lib.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/xil_interface_lib.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xil_data_stream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/xil_data_stream.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xil_services.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/xil_services.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xil_interface.o" "/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/xil_interface.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xilcomms_rtiostream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/xilcomms_rtiostream.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xil_rtiostream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/xil_rtiostream.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "rtiostream_utils.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils/rtiostream_utils.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "coder_assumptions_app.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/coder_assumptions_app.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "coder_assumptions_data_stream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/coder_assumptions_data_stream.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "coder_assumptions_rtiostream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/coder_assumptions_rtiostream.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "sil_main.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/sil_main.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "target_io.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/target_io.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "rtiostream_tcpip.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/rtiostreamtcpip/rtiostream_tcpip.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "xil_instrumentation.o" "/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/xil_instrumentation.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "codeinstr_data_stream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/codeinstr_data_stream.c"
gcc -c -fwrapv -fPIC -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0  -DTID01EQ=0 -DPORTABLE_WORDSIZES -DXIL_SIGNAL_HANDLER=1 -DCODER_ASSUMPTIONS_ENABLED=1 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=50000 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=50000 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T -DMODEL=sldvdemo_cruise_control -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968 -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/simulink/include -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/src/ext_mode/common -I/mathworks/devel/bat/Bdoc21a/build/matlab/rtw/c/ert -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/XILTgtAppSvc -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src/utils -I/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/coder/rtiostream/src -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CoderAssumpTgtAppSvc -I/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions -I/mathworks/devel/bat/Bdoc21a/build/matlab/extern/include/coder/connectivity/CodeInstrTgtAppSvc -o "codeinstr_rtiostream.o" "/mathworks/devel/bat/Bdoc21a/build/matlab/toolbox/rtw/targets/pil/c/codeinstr_rtiostream.c"
### Creating standalone executable ./sldvdemo_cruise_control ...
g++  -o ./sldvdemo_cruise_control xil_interface_lib.o xil_data_stream.o xil_services.o xil_interface.o xilcomms_rtiostream.o xil_rtiostream.o rtiostream_utils.o coder_assumptions_app.o coder_assumptions_data_stream.o coder_assumptions_rtiostream.o sil_main.o target_io.o rtiostream_tcpip.o xil_instrumentation.o codeinstr_data_stream.o codeinstr_rtiostream.o -Wl,--start-group hostobj/instrumented/sldvdemo_cruise_control.o -Wl,--end-group -Wl,--start-group /tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/coderassumptions/pwslib/sldvdemo_cruise_control_ca.a -Wl,--end-group  
### Created: ./sldvdemo_cruise_control
### Successfully generated all binary outputs.
### Starting SIL simulation for component: sldvdemo_cruise_control
rtw.connectivity.HostLauncher: started executable with host process identifier 189467
rtw.connectivity.HostLauncher: stopped executable with host process identifier 189467
### Stopping SIL simulation for component: sldvdemo_cruise_control
### Completed code coverage analysis
### Starting build procedure for: sldvdemo_cruise_control
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: /tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw
### Generated code for 'sldvdemo_cruise_control' is up to date because no structural, parameter or code replacement library changes were found.
### Using toolchain: GNU gcc/g++ | gmake (64-bit Linux)
### '/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/hostobj/instrumented/sldvdemo_cruise_control.mk' is up to date
### Building 'sldvdemo_cruise_control': "/mathworks/devel/bat/Bdoc21a/build/matlab/bin/glnxa64/gmake"  -f sldvdemo_cruise_control.mk buildobj
### Successfully generated all binary outputs.
gmake: Nothing to be done for `buildobj'.
### Successful completion of build procedure for: sldvdemo_cruise_control

Build Summary

Top model targets built:

Model                    Action         Rebuild Reason                           
=================================================================================
sldvdemo_cruise_control  Code compiled  Compilation artifacts were out of date.  

1 of 1 models built (0 models already up to date)
Build duration: 0h 0m 3.0062s
### Preparing to start SIL simulation ...
### Skipping makefile generation and compilation because /tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/sldvdemo_cruise_control is up to date
### Starting SIL simulation for component: sldvdemo_cruise_control
rtw.connectivity.HostLauncher: started executable with host process identifier 189534
rtw.connectivity.HostLauncher: stopped executable with host process identifier 189534
### Stopping SIL simulation for component: sldvdemo_cruise_control
### Completed code coverage analysis
### Starting build procedure for: sldvdemo_cruise_control
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: /tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw
### Generated code for 'sldvdemo_cruise_control' is up to date because no structural, parameter or code replacement library changes were found.
### Using toolchain: GNU gcc/g++ | gmake (64-bit Linux)
### '/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/hostobj/instrumented/sldvdemo_cruise_control.mk' is up to date
### Building 'sldvdemo_cruise_control': "/mathworks/devel/bat/Bdoc21a/build/matlab/bin/glnxa64/gmake"  -f sldvdemo_cruise_control.mk buildobj
### Successfully generated all binary outputs.
gmake: Nothing to be done for `buildobj'.
### Successful completion of build procedure for: sldvdemo_cruise_control

Build Summary

Top model targets built:

Model                    Action         Rebuild Reason                           
=================================================================================
sldvdemo_cruise_control  Code compiled  Compilation artifacts were out of date.  

1 of 1 models built (0 models already up to date)
Build duration: 0h 0m 2.2437s
### Preparing to start SIL simulation ...
### Skipping makefile generation and compilation because /tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/sldvdemo_cruise_control is up to date
### Starting SIL simulation for component: sldvdemo_cruise_control
rtw.connectivity.HostLauncher: started executable with host process identifier 189545
rtw.connectivity.HostLauncher: stopped executable with host process identifier 189545
### Stopping SIL simulation for component: sldvdemo_cruise_control
### Completed code coverage analysis
### Starting build procedure for: sldvdemo_cruise_control
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: /tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw
### Generated code for 'sldvdemo_cruise_control' is up to date because no structural, parameter or code replacement library changes were found.
### Using toolchain: GNU gcc/g++ | gmake (64-bit Linux)
### '/tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/hostobj/instrumented/sldvdemo_cruise_control.mk' is up to date
### Building 'sldvdemo_cruise_control': "/mathworks/devel/bat/Bdoc21a/build/matlab/bin/glnxa64/gmake"  -f sldvdemo_cruise_control.mk buildobj
### Successfully generated all binary outputs.
gmake: Nothing to be done for `buildobj'.
### Successful completion of build procedure for: sldvdemo_cruise_control

Build Summary

Top model targets built:

Model                    Action         Rebuild Reason                           
=================================================================================
sldvdemo_cruise_control  Code compiled  Compilation artifacts were out of date.  

1 of 1 models built (0 models already up to date)
Build duration: 0h 0m 2.7535s
### Preparing to start SIL simulation ...
### Skipping makefile generation and compilation because /tmp/Bdoc21a_1606923_115755/tp5b6adfea/ex15502968/sldvdemo_cruise_control_ert_rtw/sil/sldvdemo_cruise_control is up to date
### Starting SIL simulation for component: sldvdemo_cruise_control
rtw.connectivity.HostLauncher: started executable with host process identifier 189575
rtw.connectivity.HostLauncher: stopped executable with host process identifier 189575
### Stopping SIL simulation for component: sldvdemo_cruise_control
### Completed code coverage analysis