Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Multiplexer,fileNamePrefix="Modelica_3_2_1_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.669/1.669, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2263/1.896, allocations: 41.09 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/1.985, allocations: 38.77 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3016/2.286, allocations: 73.25 MB / 331.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/2.287, allocations: 66.78 kB / 331.3 MB, free: 14.69 MB / 282.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.2446/2.531, allocations: 55.08 MB / 386.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/2.531, allocations: 8 kB / 386.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005563/2.532, allocations: 79.09 kB / 386.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/2.534, allocations: 468.9 kB / 386.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/2.534, allocations: 20 kB / 387 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005141/2.535, allocations: 36 kB / 387 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003171/2.538, allocations: 0.5922 MB / 387.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003693/2.542, allocations: 0.7454 MB / 388.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/2.542, allocations: 0 / 388.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/2.542, allocations: 8 kB / 388.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/2.542, allocations: 12 kB / 388.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007622/2.55, allocations: 1.586 MB / 389.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/2.552, allocations: 0.5192 MB / 390.5 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/2.553, allocations: 266.3 kB / 390.7 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/2.553, allocations: 12.44 kB / 390.7 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001735/2.555, allocations: 0.5203 MB / 391.3 MB, free: 8.176 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 5.32e-06/2.555, allocations: 0 / 391.3 MB, free: 8.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.003364/2.558, allocations: 0.7537 MB / 392 MB, free: 7.414 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002191/2.558, allocations: 204.3 kB / 392.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/2.559, allocations: 353.5 kB / 392.6 MB, free: 6.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003487/2.56, allocations: 37.7 kB / 392.6 MB, free: 6.777 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/2.56, allocations: 197 kB / 392.8 MB, free: 6.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004401/2.561, allocations: 122.5 kB / 392.9 MB, free: 6.457 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/2.561, allocations: 4 kB / 392.9 MB, free: 6.453 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002874/2.561, allocations: 358.8 kB / 393.3 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/2.562, allocations: 273.2 kB / 393.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/2.564, allocations: 351.1 kB / 393.9 MB, free: 5.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/2.565, allocations: 303.6 kB / 394.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/2.565, allocations: 0 / 394.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003856/2.569, allocations: 0.8481 MB / 395 MB, free: 4.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/2.569, allocations: 4 kB / 395 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/2.569, allocations: 4 kB / 395 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/2.569, allocations: 8.062 kB / 395 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/2.57, allocations: 107.8 kB / 395.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/2.57, allocations: 4 kB / 395.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/2.571, allocations: 75.64 kB / 395.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/2.573, allocations: 0.5619 MB / 395.8 MB, free: 3.547 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.0009557/2.574, allocations: 313.2 kB / 396.1 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/2.574, allocations: 51.44 kB / 396.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/2.574, allocations: 44.55 kB / 396.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/2.574, allocations: 8 kB / 396.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/2.574, allocations: 0 / 396.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/2.574, allocations: 15.86 kB / 396.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/2.577, allocations: 0.5647 MB / 396.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/2.577, allocations: 4 kB / 396.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/2.577, allocations: 87.89 kB / 396.9 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.77e-05/2.577, allocations: 4 kB / 396.9 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003878/2.578, allocations: 87.94 kB / 396.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/2.578, allocations: 0 / 396.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/2.578, allocations: 11.91 kB / 397 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003457/2.581, allocations: 0.8102 MB / 397.8 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003537/2.585, allocations: 1.178 MB / 398.9 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/2.586, allocations: 260.5 kB / 399.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005163/2.587, allocations: 12 kB / 399.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/2.588, allocations: 67.8 kB / 399.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007502/2.589, allocations: 144.3 kB / 399.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00135/2.59, allocations: 0.5657 MB / 400 MB, free: 15.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0006621/2.591, allocations: 232.6 kB / 400.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003172/2.594, allocations: 124 kB / 400.3 MB, free: 14.85 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.0007723/2.595, allocations: 160.8 kB / 400.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00325/2.598, allocations: 0.8345 MB / 401.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/2.598, allocations: 4.125 kB / 401.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/2.6, allocations: 0.5334 MB / 401.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005414/2.605, allocations: 460.9 kB / 402.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/2.611, allocations: 0.8618 MB / 403.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008585/2.62, allocations: 2.183 MB / 405.4 MB, free: 9.695 MB / 346.7 MB Notification: Performance of SimCode: time 2.124e-06/2.62, allocations: 0 / 405.4 MB, free: 9.695 MB / 346.7 MB