code: def test_incompatible_interface_api_errors():
      """Ensures an error is thrown if not using the C interface API"""
      mod, params = tvm.relay.testing.synthetic.get_workload()
      target = "c"
      runtime = Runtime("crt")
      executor = Executor(
          "aot",
          {
              "interface-api": "packed",
          },
      )
  
      with pytest.raises(
          tvm.TVMError,
          match=re.escape(
              "tir.usmp.use_workspace_io option is only compatible with interface_api c.\n"
              "Please use interface_api c to be able to enable tir.usmp.use_workspace_io"
          ),
      ):
          with tvm.transform.PassContext(
              opt_level=3,
              config={
                  "tir.usmp.enable": True,
                  "tir.usmp.use_workspace_io": True,
              },
          ):
              tvm.relay.build(
                  mod,
                  target,
                  executor=executor,
                  runtime=runtime,
                  params=params,
              )
  
imports: from collections import OrderedDict
  import re
  import random
  import numpy
  import pytest
  import tvm
  from tvm import relay
  from tvm.relay import testing
  from tvm.relay import transform
  from tvm.relay.op.annotation import compiler_begin, compiler_end
  from tvm.relay.backend import Executor, Runtime
  from tvm import WorkspaceMemoryPools, ConstantMemoryPools, WorkspacePoolInfo, ConstantPoolInfo, PoolInfoProperties
  from tvm.micro import model_library_format
  from tvm.micro.testing.aot_test_utils import parametrize_aot_options
  from tvm.testing.aot import AOTTestModel, AOTTestRunner, generate_ref_data, compile_and_run, compile_models, run_and_check, create_relay_module_and_inputs_from_tflite_file
  from tvm.testing.usmp import is_tvm_backendallocworkspace_calls
label_desc: Use image node_id 18 for calling a global function with example usage: test_incompatible_interface_api_errors() without return types