Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Multiplexer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_Multiplexer",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.662/1.662, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2457/1.908, allocations: 46.83 MB / 249.3 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08687/1.995, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2724/2.268, allocations: 78.22 MB / 372.1 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/2.268, allocations: 70.47 kB / 372.1 MB, free: 7.148 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.181/2.449, allocations: 55.07 MB / 427.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/2.449, allocations: 8 kB / 427.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/2.449, allocations: 75.16 kB / 427.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/2.45, allocations: 464.3 kB / 427.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.072e-05/2.45, allocations: 24 kB / 427.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/2.451, allocations: 36 kB / 427.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001934/2.453, allocations: 0.5883 MB / 428.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/2.455, allocations: 0.7416 MB / 429.1 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/2.455, allocations: 3.906 kB / 429.1 MB, free: 8.984 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/2.455, allocations: 11.94 kB / 429.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/2.455, allocations: 12 kB / 429.2 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005128/2.46, allocations: 1.58 MB / 430.7 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/2.462, allocations: 0.517 MB / 431.2 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/2.463, allocations: 274.2 kB / 431.5 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/2.464, allocations: 8.5 kB / 431.5 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/2.465, allocations: 0.5203 MB / 432 MB, free: 6.031 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 3.296e-06/2.465, allocations: 4 kB / 432 MB, free: 6.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.002236/2.467, allocations: 0.7498 MB / 432.8 MB, free: 5.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/2.467, allocations: 203.8 kB / 433 MB, free: 5.027 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/2.468, allocations: 353.6 kB / 433.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001614/2.468, allocations: 37.7 kB / 433.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/2.468, allocations: 200.8 kB / 433.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/2.469, allocations: 114.6 kB / 433.7 MB, free: 4.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/2.469, allocations: 4 kB / 433.7 MB, free: 4.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/2.469, allocations: 358.8 kB / 434 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/2.47, allocations: 273.2 kB / 434.3 MB, free: 3.688 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009349/2.471, allocations: 355.1 kB / 434.7 MB, free: 3.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008804/2.472, allocations: 295.8 kB / 434.9 MB, free: 3.031 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/2.472, allocations: 0 / 434.9 MB, free: 3.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002521/2.474, allocations: 0.8633 MB / 435.8 MB, free: 2.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/2.474, allocations: 8 kB / 435.8 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/2.474, allocations: 0 / 435.8 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/2.474, allocations: 11.97 kB / 435.8 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/2.475, allocations: 99.88 kB / 435.9 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/2.475, allocations: 11.88 kB / 435.9 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008855/2.476, allocations: 79.62 kB / 436 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008314/2.477, allocations: 0.5658 MB / 436.6 MB, free: 1.391 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition1,MUX.d,$PRE.MUX.Or1.auxiliary_n,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,$PRE.MUX.And1.auxiliary_n,$PRE.MUX.And2.auxiliary_n,$PRE.MUX.And3.auxiliary_n,$PRE.MUX.And4.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,$PRE.FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And2.y,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,$PRE.FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.And4.y,$PRE.FF.And4.auxiliary_n,FF.RS2.Nor1.auxiliary[2],$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.And1.y,$PRE.FF.And1.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.auxiliary_n,FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,CLK.y,$PRE.CLK.t_i,CLK.t_i,D0.y,D1.y,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,$PRE.MUX.Not1.auxiliary,MUX.Not1.auxiliary,$PRE.MUX.Not2.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.y,$PRE.FF.And3.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 5 * 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.000585/2.477, allocations: 305.1 kB / 436.9 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/2.477, allocations: 55.42 kB / 436.9 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/2.478, allocations: 48.53 kB / 437 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/2.478, allocations: 8 kB / 437 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/2.478, allocations: 4 kB / 437 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/2.478, allocations: 0 / 437 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/2.479, allocations: 0.572 MB / 437.6 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/2.479, allocations: 0 / 437.6 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/2.48, allocations: 91.88 kB / 437.7 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/2.48, allocations: 4 kB / 437.7 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/2.48, allocations: 83.95 kB / 437.7 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/2.48, allocations: 7.984 kB / 437.7 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/2.48, allocations: 4 kB / 437.7 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002244/2.482, allocations: 0.8104 MB / 438.6 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002294/2.484, allocations: 1.182 MB / 439.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007407/2.485, allocations: 252.5 kB / 440 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/2.485, allocations: 12 kB / 440 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006945/2.486, allocations: 75.69 kB / 440.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005303/2.487, allocations: 144.3 kB / 440.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008104/2.488, allocations: 0.558 MB / 440.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000415/2.488, allocations: 232.6 kB / 441 MB, free: 12.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001854/2.49, allocations: 120 kB / 441.1 MB, free: 12.73 MB / 346.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: 56 ($whenCondition1,CLK.y,CLK.t_i,D0.y,D1.y,MUX.d,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,MUX.Not1.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.RS2.Nor1.auxiliary[2],FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.y,FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.y,FF.And4.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 23 (Enable.y,FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And3.auxiliary_n,FF.And2.auxiliary_n,FF.And1.auxiliary_n,FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,D3.y,D2.y,MUX.Not2.auxiliary,MUX.Not1.auxiliary,MUX.And4.auxiliary_n,MUX.And3.auxiliary_n,MUX.And2.auxiliary_n,MUX.And1.auxiliary_n,MUX.Or1.auxiliary_n,D1.y,D0.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 1 * 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.0003712/2.49, allocations: 156.9 kB / 441.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002065/2.492, allocations: 0.8421 MB / 442.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/2.492, allocations: 4.125 kB / 442.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/2.493, allocations: 0.5373 MB / 442.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/2.497, allocations: 456.7 kB / 443.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/2.501, allocations: 0.8656 MB / 444 MB, free: 9.785 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005471/2.506, allocations: 2.18 MB / 446.1 MB, free: 7.574 MB / 346.7 MB Notification: Performance of SimCode: time 1.583e-06/2.506, allocations: 0 / 446.1 MB, free: 7.574 MB / 346.7 MB