Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_MUX2x1",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.651/1.651, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2169/1.868, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08688/1.955, allocations: 38.77 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2804/2.236, allocations: 71.81 MB / 329.8 MB, free: 128 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/2.236, allocations: 69.2 kB / 329.9 MB, free: 92 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.114/2.35, allocations: 28.18 MB / 358.1 MB, free: 9.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/2.35, allocations: 12 kB / 358.1 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/2.35, allocations: 43.44 kB / 358.1 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/2.351, allocations: 282.2 kB / 358.4 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/2.351, allocations: 4.812 kB / 358.4 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/2.351, allocations: 8.812 kB / 358.4 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002984/2.351, allocations: 79.59 kB / 358.5 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/2.352, allocations: 158 kB / 358.7 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/2.352, allocations: 0 / 358.7 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/2.352, allocations: 4 kB / 358.7 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/2.352, allocations: 0 / 358.7 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/2.353, allocations: 0.4892 MB / 359.1 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/2.353, allocations: 114.5 kB / 359.3 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/2.354, allocations: 96.91 kB / 359.4 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/2.354, allocations: 4 kB / 359.4 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003846/2.354, allocations: 218.7 kB / 359.6 MB, free: 7.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.434e-06/2.354, allocations: 4 kB / 359.6 MB, free: 7.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007508/2.355, allocations: 257.1 kB / 359.8 MB, free: 7.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/2.355, allocations: 199.8 kB / 360 MB, free: 7.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/2.356, allocations: 480.8 kB / 360.5 MB, free: 6.906 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.904e-05/2.356, allocations: 33.7 kB / 360.5 MB, free: 6.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/2.356, allocations: 97.03 kB / 360.6 MB, free: 6.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/2.356, allocations: 35.58 kB / 360.7 MB, free: 6.734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/2.356, allocations: 8 kB / 360.7 MB, free: 6.727 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/2.357, allocations: 326.8 kB / 361 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/2.357, allocations: 80.11 kB / 361.1 MB, free: 6.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/2.357, allocations: 75.92 kB / 361.1 MB, free: 6.246 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/2.357, allocations: 56.11 kB / 361.2 MB, free: 6.191 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/2.357, allocations: 4 kB / 361.2 MB, free: 6.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000634/2.358, allocations: 241.1 kB / 361.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/2.358, allocations: 8 kB / 361.4 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/2.358, allocations: 0 / 361.4 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/2.358, allocations: 4 kB / 361.4 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.307e-05/2.358, allocations: 64 / 361.4 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/2.358, allocations: 4 kB / 361.4 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/2.358, allocations: 15.98 kB / 361.5 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/2.359, allocations: 101.2 kB / 361.6 MB, free: 5.812 MB / 298.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: 16 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * 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.0003037/2.359, allocations: 267.1 kB / 361.8 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.915e-05/2.359, allocations: 39.53 kB / 361.9 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/2.359, allocations: 79.55 kB / 361.9 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/2.359, allocations: 0 / 361.9 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/2.359, allocations: 0 / 361.9 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/2.359, allocations: 7.984 kB / 361.9 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/2.361, allocations: 0.6315 MB / 362.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/2.361, allocations: 0 / 362.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.069e-05/2.361, allocations: 0 / 362.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/2.361, allocations: 0 / 362.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/2.361, allocations: 19.98 kB / 362.6 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/2.361, allocations: 3.938 kB / 362.6 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/2.361, allocations: 4 kB / 362.6 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007289/2.361, allocations: 378.9 kB / 363 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008896/2.362, allocations: 0.7415 MB / 363.7 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006529/2.363, allocations: 260.4 kB / 364 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/2.363, allocations: 19.98 kB / 364 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/2.364, allocations: 15.91 kB / 364 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/2.364, allocations: 55.88 kB / 364.1 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/2.364, allocations: 105.2 kB / 364.2 MB, free: 3.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0008338/2.365, allocations: 394.9 kB / 364.5 MB, free: 2.691 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001353/2.366, allocations: 44 kB / 364.6 MB, free: 2.648 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: 14 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 14 (Input1.y,Mux2x1.sel,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0002191/2.366, allocations: 119.4 kB / 364.7 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006828/2.367, allocations: 332.5 kB / 365 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.367, allocations: 0 / 365 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005266/2.368, allocations: 324.4 kB / 365.3 MB, free: 1.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/2.369, allocations: 153.8 kB / 365.5 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/2.371, allocations: 0.5916 MB / 366.1 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007345/2.372, allocations: 0.8489 MB / 366.9 MB, free: 180 kB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/2.372, allocations: 0 / 366.9 MB, free: 180 kB / 298.7 MB