Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.625/1.625, allocations: 171.2 MB / 178.1 MB, free: 8.301 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2247/1.85, allocations: 41.11 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08692/1.937, allocations: 38.77 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2733/2.21, allocations: 71.28 MB / 329.3 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/2.211, allocations: 70.81 kB / 329.4 MB, free: 0.6836 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.05754/2.268, allocations: 16.51 MB / 345.9 MB, free: 3.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/2.268, allocations: 16 kB / 345.9 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/2.268, allocations: 35.53 kB / 345.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/2.269, allocations: 260.4 kB / 346.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/2.269, allocations: 4 kB / 346.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/2.269, allocations: 8 kB / 346.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002009/2.269, allocations: 52.89 kB / 346.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/2.269, allocations: 121.4 kB / 346.4 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/2.269, allocations: 0 / 346.4 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/2.27, allocations: 4 kB / 346.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/2.27, allocations: 0 / 346.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/2.271, allocations: 456.1 kB / 346.8 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/2.271, allocations: 94.8 kB / 346.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/2.271, allocations: 73.41 kB / 347 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/2.271, allocations: 0 / 347 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003237/2.271, allocations: 192.5 kB / 347.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/2.271, allocations: 0 / 347.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005724/2.272, allocations: 193.7 kB / 347.4 MB, free: 1.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/2.272, allocations: 165.5 kB / 347.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009107/2.273, allocations: 447.3 kB / 348 MB, free: 1.262 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/2.273, allocations: 29.7 kB / 348 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/2.273, allocations: 92.88 kB / 348.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/2.273, allocations: 35.28 kB / 348.1 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/2.273, allocations: 4 kB / 348.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/2.274, allocations: 322.1 kB / 348.4 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/2.274, allocations: 53.73 kB / 348.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/2.274, allocations: 53.3 kB / 348.5 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/2.274, allocations: 42.8 kB / 348.6 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/2.274, allocations: 0 / 348.6 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004769/2.275, allocations: 174 kB / 348.7 MB, free: 0.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/2.275, allocations: 8 kB / 348.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/2.275, allocations: 4 kB / 348.8 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/2.275, allocations: 0 / 348.8 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.682e-05/2.275, allocations: 0 / 348.8 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/2.275, allocations: 160 / 348.8 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/2.275, allocations: 19.83 kB / 348.8 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/2.275, allocations: 63.98 kB / 348.8 MB, free: 460 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002646/2.275, allocations: 249.3 kB / 349.1 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/2.275, allocations: 35.53 kB / 349.1 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/2.276, allocations: 71.28 kB / 349.2 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/2.276, allocations: 0 / 349.2 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/2.276, allocations: 0 / 349.2 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/2.276, allocations: 0 / 349.2 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/2.277, allocations: 0.5611 MB / 349.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/2.277, allocations: 0 / 349.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/2.277, allocations: 4 kB / 349.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/2.277, allocations: 3.938 kB / 349.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/2.277, allocations: 8 kB / 349.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/2.277, allocations: 8 kB / 349.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/2.277, allocations: 0 / 349.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005871/2.278, allocations: 321.1 kB / 350.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007648/2.278, allocations: 0.6778 MB / 350.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006831/2.279, allocations: 259.3 kB / 351 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/2.279, allocations: 14.81 kB / 351 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/2.279, allocations: 15.92 kB / 351 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/2.28, allocations: 27.84 kB / 351.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/2.28, allocations: 58.94 kB / 351.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0008046/2.281, allocations: 364.4 kB / 351.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001381/2.282, allocations: 43.62 kB / 351.5 MB, free: 13.92 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002237/2.282, allocations: 119.2 kB / 351.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000607/2.283, allocations: 260.1 kB / 351.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/2.283, allocations: 0 / 351.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003879/2.283, allocations: 270.5 kB / 352.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009022/2.284, allocations: 90.25 kB / 352.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/2.286, allocations: 0.5094 MB / 352.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009663/2.287, allocations: 0.832 MB / 353.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of SimCode: time 1.483e-06/2.287, allocations: 0 / 353.6 MB, free: 11.96 MB / 298.7 MB