msg = newContainer(task->name, INSTR_MSG_TASK, host_container);
type_t type = getType (task->category);
if (!type){
- type = newVariableType(task->category, TYPE_VARIABLE, NULL, msg->type);
+ type = getVariableType(task->category, NULL, msg->type);
}
pajeSetVariable(SIMIX_get_clock(), type->id, msg->id, "1");