Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_3_2_2_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.735/1.735, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2564/1.991, allocations: 46.83 MB / 249.3 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/2.1, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3099/2.41, allocations: 76.82 MB / 370.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/2.41, allocations: 66.81 kB / 370.7 MB, free: 7.176 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.08493/2.495, allocations: 27.72 MB / 398.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/2.495, allocations: 8.781 kB / 398.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/2.495, allocations: 40.81 kB / 398.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/2.496, allocations: 281 kB / 398.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/2.496, allocations: 5.719 kB / 398.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/2.496, allocations: 8.719 kB / 398.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002465/2.496, allocations: 81.97 kB / 398.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/2.496, allocations: 158.2 kB / 399 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/2.496, allocations: 0 / 399 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/2.496, allocations: 3.844 kB / 399 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/2.496, allocations: 5.031 kB / 399 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/2.498, allocations: 0.4886 MB / 399.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/2.498, allocations: 115.2 kB / 399.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/2.498, allocations: 105 kB / 399.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/2.498, allocations: 3.984 kB / 399.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003843/2.499, allocations: 223.5 kB / 400 MB, free: 14.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 3.196e-06/2.499, allocations: 0 / 400 MB, free: 14.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007412/2.499, allocations: 246.4 kB / 400.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/2.5, allocations: 196.3 kB / 400.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/2.501, allocations: 487.1 kB / 400.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/2.501, allocations: 31.14 kB / 400.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/2.501, allocations: 99.41 kB / 401 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/2.501, allocations: 29.7 kB / 401 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/2.501, allocations: 4.094 kB / 401 MB, free: 14.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/2.501, allocations: 330.1 kB / 401.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/2.501, allocations: 78.2 kB / 401.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/2.502, allocations: 80.39 kB / 401.5 MB, free: 13.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/2.502, allocations: 59.41 kB / 401.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/2.502, allocations: 0 / 401.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006257/2.502, allocations: 234.1 kB / 401.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/2.502, allocations: 5.375 kB / 401.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/2.502, allocations: 0 / 401.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/2.503, allocations: 0 / 401.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.475e-05/2.503, allocations: 1.188 kB / 401.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/2.503, allocations: 1 kB / 401.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/2.503, allocations: 22.86 kB / 401.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/2.503, allocations: 98.83 kB / 401.9 MB, free: 13.68 MB / 314.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.0002781/2.503, allocations: 270.7 kB / 402.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/2.504, allocations: 41.88 kB / 402.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/2.504, allocations: 73.47 kB / 402.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/2.504, allocations: 0.9688 kB / 402.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/2.504, allocations: 0 / 402.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/2.504, allocations: 1.281 kB / 402.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/2.505, allocations: 0.6447 MB / 402.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/2.505, allocations: 1.156 kB / 402.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.329e-05/2.505, allocations: 4 kB / 402.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/2.505, allocations: 4.938 kB / 402.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/2.505, allocations: 22.67 kB / 403 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/2.505, allocations: 0 / 403 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/2.505, allocations: 1.031 kB / 403 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007611/2.506, allocations: 379.3 kB / 403.3 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008658/2.507, allocations: 0.7406 MB / 404.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007556/2.508, allocations: 271 kB / 404.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/2.508, allocations: 9.688 kB / 404.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/2.508, allocations: 16.98 kB / 404.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/2.508, allocations: 52.53 kB / 404.4 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/2.509, allocations: 101.6 kB / 404.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0008839/2.51, allocations: 401.2 kB / 404.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001488/2.511, allocations: 43.16 kB / 405 MB, free: 11.8 MB / 314.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.0002348/2.511, allocations: 118.4 kB / 405.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007773/2.512, allocations: 336.6 kB / 405.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/2.512, allocations: 0.5625 kB / 405.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000527/2.513, allocations: 329.3 kB / 405.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/2.514, allocations: 148.7 kB / 405.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/2.516, allocations: 0.5948 MB / 406.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/2.517, allocations: 0.8392 MB / 407.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.223e-06/2.517, allocations: 5.219 kB / 407.3 MB, free: 10.25 MB / 314.7 MB