I’m getting this error. Why and how to solve?
=== Simulation (Elapsed: 4 sec) ===
### Generating code and artifacts to ‘Model specific’ folder structure
### Generating code into build folder: C:UsersFasihThird_Experiment_Controller_Javad_sldrt_win64
### Invoking Target Language Compiler on Third_Experiment_Controller_Javad.rtw
### Using System Target File: C:Program FilesMATLABR2018btoolboxsldrtrtwsldrt.tlc
### Loading TLC function libraries
……
### Initial pass through model to cache user defined code
…..
### Caching model source code
…………………………………………………………………….
..
### Writing source file Third_Experiment_Controller_Javad_tgtconn.c
……………………………………………..
### Writing header file Third_Experiment_Controller_Javad_types.h
.
### Writing header file Third_Experiment_Controller_Javad.h
### Writing source file Third_Experiment_Controller_Javad.c
### Writing header file rtwtypes.h
### Writing header file multiword_types.h
### Writing header file zero_crossing_types.h
### Writing header file Third_Experiment_Controller_Javad_private.h
### Writing header file rtmodel.h
.
### Writing source file Third_Experiment_Controller_Javad_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.
### Generating TLC interface API.
…………………………………………………………………..
### Creating data type transition file Third_Experiment_Controller_Javad_dt.h
.
### Processing Template Makefile: C:Program FilesMATLABR2018btoolboxsldrtrtwsldrt.tmf
### Third_Experiment_Controller_Javad.mk which is generated from C:Program FilesMATLABR2018btoolboxsldrtrtwsldrt.tmf is up to date
### Building Third_Experiment_Controller_Javad: .Third_Experiment_Controller_Javad.bat
.
C:UsersFasihThird_Experiment_Controller_Javad_sldrt_win64>set MATLAB=C:Program FilesMATLABR2018b
C:UsersFasihThird_Experiment_Controller_Javad_sldrt_win64>"C:PROGRA~1MATLABR2018bbinwin64gmake" -f Third_Experiment_Controller_Javad.mk EXTMODE_STATIC_ALLOC=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 TMW_EXTMODE_TESTING=0 COMBINE_OUTPUT_UPDATE_FCNS=0 INCLUDE_MDL_TERMINATE_FCN=1 MULTI_INSTANCE_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING OPTS="-DTGTCONN -DEXT_MODE -DON_TARGET_WAIT_FOR_START=1"
gmake: Third_Experiment_Controller_Javad.mk: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: Third_Experiment_Controller_Javad.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: Third_Experiment_Controller_Javad_data.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: Third_Experiment_Controller_Javad_tgtconn.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: rtGetInf.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: rtGetNaN.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: rt_nonfinite.c: Timestamp out of range; substituting 1970-01-01 08:00:00
### Compiling C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src/sldrt_main.c
C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/clang/win64/clang -emit-llvm -c -m64 -O4 -DINT64_T="long long" -DUINT64_T="unsigned long long" -fno-ms-compatibility -U_MSC_VER -U__STDC_HOSTED__ -Wno-switch-enum -Wno-empty-body -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/lib/include -I. -I.. -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src -IC:/Users/Fasih -IC:/Users/Fasih/Third_Experiment_Controller_Javad_sldrt_win64 -IC:/Has/3RDEXP~1/WITHCO~1/DZVJAV~1 -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -DTGTCONN -DEXT_MODE -DON_TARGET_WAIT_FOR_START=1 -DEXT_MODE -DUSE_RTMODEL -DMODEL=Third_Experiment_Controller_Javad -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=4 -DMT=0 -o "sldrt_main.obj" "C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src/sldrt_main.c"
gmake: sldrt_main.obj: Timestamp out of range; substituting 1970-01-01 08:00:00
### Compiling C:/PROGRA~1/MATLAB/R2018b/rtw/c/src/rt_sim.c
C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/clang/win64/clang -emit-llvm -c -m64 -O4 -DINT64_T="long long" -DUINT64_T="unsigned long long" -fno-ms-compatibility -U_MSC_VER -U__STDC_HOSTED__ -Wno-switch-enum -Wno-empty-body -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/lib/include -I. -I.. -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src -IC:/Users/Fasih -IC:/Users/Fasih/Third_Experiment_Controller_Javad_sldrt_win64 -IC:/Has/3RDEXP~1/WITHCO~1/DZVJAV~1 -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -DTGTCONN -DEXT_MODE -DON_TARGET_WAIT_FOR_START=1 -DEXT_MODE -DUSE_RTMODEL -DMODEL=Third_Experiment_Controller_Javad -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=4 -DMT=0 -o "rt_sim.obj" "C:/PROGRA~1/MATLAB/R2018b/rtw/c/src/rt_sim.c"
gmake: rt_sim.obj: Timestamp out of range; substituting 1970-01-01 08:00:00
Error:### Unable to find build success text: "### Created" in build log.=== Simulation (Elapsed: 4 sec) ===
### Generating code and artifacts to ‘Model specific’ folder structure
### Generating code into build folder: C:UsersFasihThird_Experiment_Controller_Javad_sldrt_win64
### Invoking Target Language Compiler on Third_Experiment_Controller_Javad.rtw
### Using System Target File: C:Program FilesMATLABR2018btoolboxsldrtrtwsldrt.tlc
### Loading TLC function libraries
……
### Initial pass through model to cache user defined code
…..
### Caching model source code
…………………………………………………………………….
..
### Writing source file Third_Experiment_Controller_Javad_tgtconn.c
……………………………………………..
### Writing header file Third_Experiment_Controller_Javad_types.h
.
### Writing header file Third_Experiment_Controller_Javad.h
### Writing source file Third_Experiment_Controller_Javad.c
### Writing header file rtwtypes.h
### Writing header file multiword_types.h
### Writing header file zero_crossing_types.h
### Writing header file Third_Experiment_Controller_Javad_private.h
### Writing header file rtmodel.h
.
### Writing source file Third_Experiment_Controller_Javad_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.
### Generating TLC interface API.
…………………………………………………………………..
### Creating data type transition file Third_Experiment_Controller_Javad_dt.h
.
### Processing Template Makefile: C:Program FilesMATLABR2018btoolboxsldrtrtwsldrt.tmf
### Third_Experiment_Controller_Javad.mk which is generated from C:Program FilesMATLABR2018btoolboxsldrtrtwsldrt.tmf is up to date
### Building Third_Experiment_Controller_Javad: .Third_Experiment_Controller_Javad.bat
.
C:UsersFasihThird_Experiment_Controller_Javad_sldrt_win64>set MATLAB=C:Program FilesMATLABR2018b
C:UsersFasihThird_Experiment_Controller_Javad_sldrt_win64>"C:PROGRA~1MATLABR2018bbinwin64gmake" -f Third_Experiment_Controller_Javad.mk EXTMODE_STATIC_ALLOC=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 TMW_EXTMODE_TESTING=0 COMBINE_OUTPUT_UPDATE_FCNS=0 INCLUDE_MDL_TERMINATE_FCN=1 MULTI_INSTANCE_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING OPTS="-DTGTCONN -DEXT_MODE -DON_TARGET_WAIT_FOR_START=1"
gmake: Third_Experiment_Controller_Javad.mk: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: Third_Experiment_Controller_Javad.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: Third_Experiment_Controller_Javad_data.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: Third_Experiment_Controller_Javad_tgtconn.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: rtGetInf.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: rtGetNaN.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: rt_nonfinite.c: Timestamp out of range; substituting 1970-01-01 08:00:00
### Compiling C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src/sldrt_main.c
C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/clang/win64/clang -emit-llvm -c -m64 -O4 -DINT64_T="long long" -DUINT64_T="unsigned long long" -fno-ms-compatibility -U_MSC_VER -U__STDC_HOSTED__ -Wno-switch-enum -Wno-empty-body -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/lib/include -I. -I.. -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src -IC:/Users/Fasih -IC:/Users/Fasih/Third_Experiment_Controller_Javad_sldrt_win64 -IC:/Has/3RDEXP~1/WITHCO~1/DZVJAV~1 -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -DTGTCONN -DEXT_MODE -DON_TARGET_WAIT_FOR_START=1 -DEXT_MODE -DUSE_RTMODEL -DMODEL=Third_Experiment_Controller_Javad -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=4 -DMT=0 -o "sldrt_main.obj" "C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src/sldrt_main.c"
gmake: sldrt_main.obj: Timestamp out of range; substituting 1970-01-01 08:00:00
### Compiling C:/PROGRA~1/MATLAB/R2018b/rtw/c/src/rt_sim.c
C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/clang/win64/clang -emit-llvm -c -m64 -O4 -DINT64_T="long long" -DUINT64_T="unsigned long long" -fno-ms-compatibility -U_MSC_VER -U__STDC_HOSTED__ -Wno-switch-enum -Wno-empty-body -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/lib/include -I. -I.. -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src -IC:/Users/Fasih -IC:/Users/Fasih/Third_Experiment_Controller_Javad_sldrt_win64 -IC:/Has/3RDEXP~1/WITHCO~1/DZVJAV~1 -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -DTGTCONN -DEXT_MODE -DON_TARGET_WAIT_FOR_START=1 -DEXT_MODE -DUSE_RTMODEL -DMODEL=Third_Experiment_Controller_Javad -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=4 -DMT=0 -o "rt_sim.obj" "C:/PROGRA~1/MATLAB/R2018b/rtw/c/src/rt_sim.c"
gmake: rt_sim.obj: Timestamp out of range; substituting 1970-01-01 08:00:00
Error:### Unable to find build success text: "### Created" in build log. === Simulation (Elapsed: 4 sec) ===
### Generating code and artifacts to ‘Model specific’ folder structure
### Generating code into build folder: C:UsersFasihThird_Experiment_Controller_Javad_sldrt_win64
### Invoking Target Language Compiler on Third_Experiment_Controller_Javad.rtw
### Using System Target File: C:Program FilesMATLABR2018btoolboxsldrtrtwsldrt.tlc
### Loading TLC function libraries
……
### Initial pass through model to cache user defined code
…..
### Caching model source code
…………………………………………………………………….
..
### Writing source file Third_Experiment_Controller_Javad_tgtconn.c
……………………………………………..
### Writing header file Third_Experiment_Controller_Javad_types.h
.
### Writing header file Third_Experiment_Controller_Javad.h
### Writing source file Third_Experiment_Controller_Javad.c
### Writing header file rtwtypes.h
### Writing header file multiword_types.h
### Writing header file zero_crossing_types.h
### Writing header file Third_Experiment_Controller_Javad_private.h
### Writing header file rtmodel.h
.
### Writing source file Third_Experiment_Controller_Javad_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.
### Generating TLC interface API.
…………………………………………………………………..
### Creating data type transition file Third_Experiment_Controller_Javad_dt.h
.
### Processing Template Makefile: C:Program FilesMATLABR2018btoolboxsldrtrtwsldrt.tmf
### Third_Experiment_Controller_Javad.mk which is generated from C:Program FilesMATLABR2018btoolboxsldrtrtwsldrt.tmf is up to date
### Building Third_Experiment_Controller_Javad: .Third_Experiment_Controller_Javad.bat
.
C:UsersFasihThird_Experiment_Controller_Javad_sldrt_win64>set MATLAB=C:Program FilesMATLABR2018b
C:UsersFasihThird_Experiment_Controller_Javad_sldrt_win64>"C:PROGRA~1MATLABR2018bbinwin64gmake" -f Third_Experiment_Controller_Javad.mk EXTMODE_STATIC_ALLOC=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 TMW_EXTMODE_TESTING=0 COMBINE_OUTPUT_UPDATE_FCNS=0 INCLUDE_MDL_TERMINATE_FCN=1 MULTI_INSTANCE_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING OPTS="-DTGTCONN -DEXT_MODE -DON_TARGET_WAIT_FOR_START=1"
gmake: Third_Experiment_Controller_Javad.mk: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: Third_Experiment_Controller_Javad.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: Third_Experiment_Controller_Javad_data.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: Third_Experiment_Controller_Javad_tgtconn.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: rtGetInf.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: rtGetNaN.c: Timestamp out of range; substituting 1970-01-01 08:00:00
gmake: rt_nonfinite.c: Timestamp out of range; substituting 1970-01-01 08:00:00
### Compiling C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src/sldrt_main.c
C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/clang/win64/clang -emit-llvm -c -m64 -O4 -DINT64_T="long long" -DUINT64_T="unsigned long long" -fno-ms-compatibility -U_MSC_VER -U__STDC_HOSTED__ -Wno-switch-enum -Wno-empty-body -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/lib/include -I. -I.. -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src -IC:/Users/Fasih -IC:/Users/Fasih/Third_Experiment_Controller_Javad_sldrt_win64 -IC:/Has/3RDEXP~1/WITHCO~1/DZVJAV~1 -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -DTGTCONN -DEXT_MODE -DON_TARGET_WAIT_FOR_START=1 -DEXT_MODE -DUSE_RTMODEL -DMODEL=Third_Experiment_Controller_Javad -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=4 -DMT=0 -o "sldrt_main.obj" "C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src/sldrt_main.c"
gmake: sldrt_main.obj: Timestamp out of range; substituting 1970-01-01 08:00:00
### Compiling C:/PROGRA~1/MATLAB/R2018b/rtw/c/src/rt_sim.c
C:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/clang/win64/clang -emit-llvm -c -m64 -O4 -DINT64_T="long long" -DUINT64_T="unsigned long long" -fno-ms-compatibility -U_MSC_VER -U__STDC_HOSTED__ -Wno-switch-enum -Wno-empty-body -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/lib/include -I. -I.. -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~1/MATLAB/R2018b/toolbox/sldrt/src -IC:/Users/Fasih -IC:/Users/Fasih/Third_Experiment_Controller_Javad_sldrt_win64 -IC:/Has/3RDEXP~1/WITHCO~1/DZVJAV~1 -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -DTGTCONN -DEXT_MODE -DON_TARGET_WAIT_FOR_START=1 -DEXT_MODE -DUSE_RTMODEL -DMODEL=Third_Experiment_Controller_Javad -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=4 -DMT=0 -o "rt_sim.obj" "C:/PROGRA~1/MATLAB/R2018b/rtw/c/src/rt_sim.c"
gmake: rt_sim.obj: Timestamp out of range; substituting 1970-01-01 08:00:00
Error:### Unable to find build success text: "### Created" in build log. build, simulink, timestamp MATLAB Answers — New Questions