Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_BUF3S",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.798/1.798, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2357/2.034, allocations: 46.82 MB / 249.3 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/2.134, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3194/2.453, allocations: 76.84 MB / 370.7 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/2.454, allocations: 67.11 kB / 370.7 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.1087/2.562, allocations: 26.82 MB / 397.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/2.563, allocations: 12.31 kB / 397.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/2.563, allocations: 38.44 kB / 397.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/2.564, allocations: 271.4 kB / 397.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/2.564, allocations: 4.125 kB / 397.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/2.564, allocations: 9.812 kB / 397.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003564/2.564, allocations: 62.44 kB / 398 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005754/2.565, allocations: 133.5 kB / 398.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/2.565, allocations: 4 kB / 398.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/2.565, allocations: 4.469 kB / 398.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/2.565, allocations: 0 / 398.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/2.567, allocations: 473.1 kB / 398.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/2.567, allocations: 90.5 kB / 398.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/2.568, allocations: 91.17 kB / 398.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/2.568, allocations: 3.984 kB / 398.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005089/2.568, allocations: 204.1 kB / 398.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.887e-06/2.568, allocations: 1.781 kB / 398.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001162/2.569, allocations: 224 kB / 399.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/2.57, allocations: 164.6 kB / 399.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/2.571, allocations: 452 kB / 399.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001153/2.572, allocations: 29.48 kB / 399.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/2.572, allocations: 91.5 kB / 399.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/2.572, allocations: 28.75 kB / 399.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/2.572, allocations: 3.406 kB / 399.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/2.572, allocations: 325.4 kB / 400.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/2.572, allocations: 63.97 kB / 400.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/2.573, allocations: 56.83 kB / 400.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/2.573, allocations: 47.38 kB / 400.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/2.573, allocations: 7.938 kB / 400.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005678/2.573, allocations: 203.6 kB / 400.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/2.573, allocations: 10 kB / 400.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/2.573, allocations: 1.469 kB / 400.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/2.573, allocations: 0 / 400.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-05/2.573, allocations: 1.094 kB / 400.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/2.573, allocations: 0 / 400.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/2.574, allocations: 17.45 kB / 400.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/2.574, allocations: 112.7 kB / 400.7 MB, free: 14.07 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: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0002779/2.574, allocations: 245.3 kB / 401 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.874e-05/2.574, allocations: 39.53 kB / 401 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/2.575, allocations: 66.92 kB / 401.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/2.575, allocations: 0 / 401.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/2.575, allocations: 4.938 kB / 401.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/2.575, allocations: 3.938 kB / 401.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/2.576, allocations: 0.5907 MB / 401.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/2.576, allocations: 1.25 kB / 401.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/2.576, allocations: 8 kB / 401.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/2.576, allocations: 1.281 kB / 401.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/2.576, allocations: 18.17 kB / 401.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/2.576, allocations: 0.9688 kB / 401.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.576, allocations: 0 / 401.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006996/2.577, allocations: 355 kB / 402.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001123/2.578, allocations: 0.7067 MB / 402.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000651/2.578, allocations: 259.4 kB / 403 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/2.579, allocations: 9.875 kB / 403 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/2.579, allocations: 13.95 kB / 403 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/2.579, allocations: 33.31 kB / 403.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/2.579, allocations: 126 kB / 403.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0007372/2.58, allocations: 371.3 kB / 403.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001402/2.581, allocations: 40.72 kB / 403.6 MB, free: 12.23 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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.0002097/2.582, allocations: 109.3 kB / 403.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005941/2.582, allocations: 272.8 kB / 404 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/2.582, allocations: 1.25 kB / 404 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004057/2.583, allocations: 267.4 kB / 404.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/2.584, allocations: 99.28 kB / 404.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/2.585, allocations: 0.5238 MB / 404.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/2.586, allocations: 0.8153 MB / 405.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of SimCode: time 8.095e-06/2.586, allocations: 0 / 405.7 MB, free: 10.8 MB / 314.7 MB