Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FlipFlop,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_FlipFlop",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.636/1.636, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2243/1.86, allocations: 46.83 MB / 249.3 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/1.953, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2818/2.235, allocations: 77.53 MB / 371.4 MB, free: 7.066 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/2.235, allocations: 66.77 kB / 371.4 MB, free: 7.066 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.1356/2.371, allocations: 42.58 MB / 414 MB, free: 7.473 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/2.371, allocations: 8 kB / 414 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/2.371, allocations: 51.42 kB / 414.1 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007691/2.372, allocations: 346.1 kB / 414.4 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/2.372, allocations: 16 kB / 414.4 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/2.372, allocations: 20 kB / 414.4 MB, free: 7.008 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001088/2.373, allocations: 341.1 kB / 414.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/2.374, allocations: 428.5 kB / 415.2 MB, free: 6.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/2.374, allocations: 0 / 415.2 MB, free: 6.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-05/2.374, allocations: 8 kB / 415.2 MB, free: 6.242 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/2.374, allocations: 8 kB / 415.2 MB, free: 6.234 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/2.377, allocations: 1.004 MB / 416.2 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/2.379, allocations: 392.9 kB / 416.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/2.379, allocations: 148.8 kB / 416.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.643e-05/2.379, allocations: 7.906 kB / 416.8 MB, free: 4.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006823/2.38, allocations: 305.1 kB / 417.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.065e-06/2.38, allocations: 0 / 417.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001299/2.381, allocations: 431 kB / 417.5 MB, free: 3.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/2.381, allocations: 118.8 kB / 417.6 MB, free: 3.781 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/2.382, allocations: 252.9 kB / 417.8 MB, free: 3.527 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/2.382, allocations: 41.62 kB / 417.9 MB, free: 3.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/2.382, allocations: 148.7 kB / 418 MB, free: 3.332 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/2.382, allocations: 70.53 kB / 418.1 MB, free: 3.266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/2.382, allocations: 3.984 kB / 418.1 MB, free: 3.262 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/2.382, allocations: 342.8 kB / 418.4 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/2.383, allocations: 152.6 kB / 418.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/2.383, allocations: 201 kB / 418.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/2.384, allocations: 170.9 kB / 418.9 MB, free: 2.391 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/2.384, allocations: 4 kB / 418.9 MB, free: 2.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001434/2.385, allocations: 492.5 kB / 419.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/2.385, allocations: 6.188 kB / 419.4 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/2.385, allocations: 4 kB / 419.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/2.385, allocations: 0 / 419.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/2.386, allocations: 55.91 kB / 419.5 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/2.386, allocations: 7.938 kB / 419.5 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/2.386, allocations: 47.77 kB / 419.5 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004209/2.387, allocations: 283.7 kB / 419.8 MB, free: 1.508 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition1,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,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,CLK.y,$PRE.CLK.t_i,CLK.t_i,J.y,K.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * 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.0003381/2.387, allocations: 200.1 kB / 420 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/2.387, allocations: 31.62 kB / 420 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/2.387, allocations: 34.89 kB / 420.1 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/2.388, allocations: 8 kB / 420.1 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/2.388, allocations: 3.938 kB / 420.1 MB, free: 1.215 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/2.388, allocations: 0 / 420.1 MB, free: 1.215 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009018/2.388, allocations: 407.9 kB / 420.5 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/2.388, allocations: 0 / 420.5 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/2.389, allocations: 47.97 kB / 420.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/2.389, allocations: 4 kB / 420.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/2.389, allocations: 39.97 kB / 420.6 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/2.389, allocations: 4 kB / 420.6 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/2.389, allocations: 0 / 420.6 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001455/2.39, allocations: 472.4 kB / 421 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001382/2.392, allocations: 0.8295 MB / 421.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/2.392, allocations: 196.7 kB / 422.1 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/2.392, allocations: 8 kB / 422.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/2.393, allocations: 43.81 kB / 422.1 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/2.393, allocations: 75.86 kB / 422.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004206/2.394, allocations: 279.7 kB / 422.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003219/2.394, allocations: 193.2 kB / 422.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001563/2.396, allocations: 79.91 kB / 422.7 MB, free: 14.48 MB / 330.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: 33 ($whenCondition1,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,CLK.y,CLK.t_i,J.y,K.y) * Number of discrete states: 13 (K.y,J.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 2 * 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.0003298/2.396, allocations: 133.8 kB / 422.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001233/2.397, allocations: 447.1 kB / 423.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/2.397, allocations: 0 / 423.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006564/2.398, allocations: 271.2 kB / 423.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/2.4, allocations: 264.6 kB / 423.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/2.402, allocations: 0.5138 MB / 424.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002998/2.405, allocations: 1.471 MB / 425.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of SimCode: time 3.336e-06/2.406, allocations: 0 / 425.8 MB, free: 11.33 MB / 330.7 MB