A temporary variable in Modelica is called timeand available in any model or block (but not in packages, records, connectors or functions).
In addition, instead of using the attribute, startI suggest using the initial equations. So your complete model would look like this:
model FirstOrder
Real x;
initial equation
x = 1;
equation
der(x) = time;
end FirstOrder;
initial equation . , , , :
model FirstOrder_IC2
Real x;
initial equation
x*x*x = 3.0*time+7.0;
equation
der(x) = time;
end FirstOrder_IC2;
, , , . "" , , , (.. ).