Error by Test18 FASTv8: Build procedure for model: 'OpenLoo

Hello,

I have a problem by running FASTv8 using Test18. This error appears:

gmake: *** No rule to make target FAST_SFunc.obj', needed by …/OpenLoop.rxw64’. Stop.

Build procedure for model: ‘OpenLoop’ aborted due to an error.

Error(s) encountered while building model “OpenLoop”

Please, has someone an idea?
Thank you

As I mentioned in one of your other posts about this error, the normal procedure for running the FAST S-Function in Simulink does not involve gmake. Do you need to use external mode in Simulink?

For example, if you have extracted the FAST v8 archive in C:\FASTv8, open Matlab and type this in the command window:

[code]addpath(‘C:\FASTv8\bin’);
cd 'C:\FASTv8\Simulink\Samples';
Run_OpenLoop

[/code](If FAST is somewhere else on your computer, replace C:\FASTv8\ with the appropriate path).

Does this run the 26 cases? Note: If you are using 64-bit Matlab, tests 18-26 will end after complaining that they can’t load the DISCON dll; this is expected because the ServoDyn input files for those cases specify the 32-bit DLL. You can change those files to look for the x64 versions of the DLL instead of Win32 if you want them to run.

Yes, I need to use external mode in Simulink.

Siumlate by using normal mode in simulink: I have changed the 32-bit DLL to x64.dell from all ServoDyn input files. The cases1 to 22 run. After case 22 this error appears:

Error using Run_OpenLoop (line 30)
Error reported by S-function ‘FAST_SFunc’ in ‘OpenLoop/FAST Nonlinear Wind Turbine/S-Function’:
FAST_Solution0:CalcOutputs_And_SolveForInputs:SolveOption2:SrvD_CalcOutput:Running with torque and pitch control of the NREL offshore 5MW baseline wind
turbine from DISCON.dll as written by J. Jonkman of NREL/NWTC for use in the IEA Annex XXIII OC3 studies. Includes modifications for ITI Barge.
CalcOutputs_And_SolveForInputs:SolveOption1:ED_HD_InputOutputSolve:LAPACK_SGETRF: U( 12, 12)=0. Factor U is exactly singular.

Siumlate by using external mode in simulink:
gmake: *** No rule to make target FAST_SFunc.obj', needed by …/OpenLoop.rxw64’. Stop.
uild procedure for model: ‘OpenLoop’ aborted due to an error.