Program: 72732
Project: 72732
Buggy source:
/** 
 * If functions needed for co-simulation are absent, then thrown an exception with an informative message.  The .fmu file may not have a shared library for the current platform.
 * @exception IllegalActionException If functions needed for co-simulationare missing.
 */
private void _checkFmiCoSimulation() throws IllegalActionException {
  String missingFunction=null;
  if (_fmiDoStepFunction == null) {
    missingFunction="String_Node_Str";
  }
  if (_fmiInstantiateSlaveFunction == null) {
    missingFunction="String_Node_Str";
  }
  if (_fmiTerminateSlaveFunction == null) {
    missingFunction="String_Node_Str";
  }
  if (_fmiFreeSlaveInstanceFunction == null) {
    missingFunction="String_Node_Str";
  }
  if (missingFunction != null) {
    String sharedLibrary="String_Node_Str";
    try {
      sharedLibrary="String_Node_Str" + FMUFile.fmuSharedLibrary(_fmiModelDescription) + "String_Node_Str";
    }
 catch (    IOException ex) {
      sharedLibrary="String_Node_Str" + ex;
    }
    List<String> binariesFiles=new LinkedList<String>();
    for (    File file : _fmiModelDescription.files) {
      if (file.toString().indexOf("String_Node_Str") != -1) {
        binariesFiles.add(file.toString() + "String_Node_Str");
      }
    }
    throw new IllegalActionException(this,"String_Node_Str" + _fmiModelDescription.modelIdentifier + missingFunction+ "String_Node_Str"+ fmuFile.asFile()+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ sharedLibrary+ "String_Node_Str"+ "String_Node_Str"+ binariesFiles);
  }
}

Fixed version (ground truth):
/** 
 * If functions needed for co-simulation are absent, then thrown an exception with an informative message.  The .fmu file may not have a shared library for the current platform.
 * @exception IllegalActionException If functions needed for co-simulationare missing.
 */
private void _checkFmiCoSimulation() throws IllegalActionException {
  String missingFunction=null;
  if (_fmiDoStepFunction == null) {
    missingFunction="String_Node_Str";
  }
  if (_fmiVersion < 2.0) {
    if (_fmiInstantiateSlaveFunction == null) {
      missingFunction="String_Node_Str";
    }
    if (_fmiTerminateSlaveFunction == null) {
      missingFunction="String_Node_Str";
    }
    if (_fmiFreeSlaveInstanceFunction == null) {
      missingFunction="String_Node_Str";
    }
  }
 else {
    if (_fmiInstantiateFunction == null) {
      missingFunction="String_Node_Str";
    }
    if (_fmiTerminateFunction == null) {
      missingFunction="String_Node_Str";
    }
    if (_fmiFreeInstanceFunction == null) {
      missingFunction="String_Node_Str";
    }
  }
  if (missingFunction != null) {
    String sharedLibrary="String_Node_Str";
    try {
      sharedLibrary="String_Node_Str" + FMUFile.fmuSharedLibrary(_fmiModelDescription) + "String_Node_Str";
    }
 catch (    IOException ex) {
      sharedLibrary="String_Node_Str" + ex;
    }
    List<String> binariesFiles=new LinkedList<String>();
    for (    File file : _fmiModelDescription.files) {
      if (file.toString().indexOf("String_Node_Str") != -1) {
        binariesFiles.add(file.toString() + "String_Node_Str");
      }
    }
    throw new IllegalActionException(this,"String_Node_Str" + _fmiModelDescription.modelIdentifier + missingFunction+ "String_Node_Str"+ fmuFile.asFile()+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ sharedLibrary+ "String_Node_Str"+ "String_Node_Str"+ binariesFiles);
  }
}