Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_1_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.64/1.64, allocations: 171.2 MB / 178.1 MB, free: 8.289 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2024/1.842, allocations: 41.1 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/1.928, allocations: 38.76 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2739/2.202, allocations: 71.83 MB / 329.8 MB, free: 128 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/2.202, allocations: 67.14 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.09824/2.301, allocations: 27.29 MB / 357.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/2.301, allocations: 11.94 kB / 357.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/2.301, allocations: 35.53 kB / 357.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/2.301, allocations: 258 kB / 357.5 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/2.301, allocations: 4.812 kB / 357.5 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/2.301, allocations: 8 kB / 357.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002317/2.302, allocations: 63.47 kB / 357.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/2.302, allocations: 136.1 kB / 357.7 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/2.302, allocations: 7.906 kB / 357.7 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/2.302, allocations: 10.98 kB / 357.7 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/2.302, allocations: 4 kB / 357.7 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/2.303, allocations: 457.1 kB / 358.2 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/2.304, allocations: 104.3 kB / 358.3 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/2.304, allocations: 82.59 kB / 358.4 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/2.304, allocations: 0 / 358.4 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003726/2.304, allocations: 202.6 kB / 358.6 MB, free: 8.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/2.304, allocations: 3.938 kB / 358.6 MB, free: 8.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007998/2.305, allocations: 219.5 kB / 358.8 MB, free: 8.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/2.305, allocations: 166.5 kB / 358.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009862/2.306, allocations: 453.1 kB / 359.4 MB, free: 8.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/2.306, allocations: 29.7 kB / 359.4 MB, free: 7.984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/2.306, allocations: 92.98 kB / 359.5 MB, free: 7.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/2.306, allocations: 31.64 kB / 359.5 MB, free: 7.859 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/2.306, allocations: 4 kB / 359.5 MB, free: 7.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/2.307, allocations: 326.8 kB / 359.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/2.307, allocations: 59.98 kB / 359.9 MB, free: 7.469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/2.307, allocations: 55.97 kB / 360 MB, free: 7.414 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/2.307, allocations: 51.97 kB / 360 MB, free: 7.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/2.307, allocations: 4 kB / 360 MB, free: 7.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005663/2.308, allocations: 202.5 kB / 360.2 MB, free: 7.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/2.308, allocations: 8 kB / 360.2 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/2.308, allocations: 8.047 kB / 360.2 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/2.308, allocations: 3.984 kB / 360.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.317e-05/2.308, allocations: 0 / 360.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/2.308, allocations: 0 / 360.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/2.308, allocations: 12 kB / 360.2 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/2.308, allocations: 119.7 kB / 360.4 MB, free: 7.008 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: 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.0003215/2.309, allocations: 249.4 kB / 360.6 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/2.309, allocations: 39.53 kB / 360.6 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/2.309, allocations: 63.25 kB / 360.7 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/2.309, allocations: 4 kB / 360.7 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/2.309, allocations: 0 / 360.7 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/2.309, allocations: 0 / 360.7 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/2.31, allocations: 0.6041 MB / 361.3 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/2.31, allocations: 7.906 kB / 361.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-06/2.31, allocations: 0 / 361.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/2.31, allocations: 0 / 361.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/2.31, allocations: 23.98 kB / 361.3 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/2.31, allocations: 0 / 361.3 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/2.31, allocations: 0 / 361.3 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000691/2.311, allocations: 335 kB / 361.7 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008194/2.312, allocations: 0.7103 MB / 362.4 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/2.313, allocations: 260.3 kB / 362.6 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/2.313, allocations: 12 kB / 362.6 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/2.313, allocations: 15.98 kB / 362.7 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/2.313, allocations: 23.97 kB / 362.7 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/2.314, allocations: 123.8 kB / 362.8 MB, free: 4.418 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0007945/2.314, allocations: 374.9 kB / 363.2 MB, free: 4.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001382/2.316, allocations: 36 kB / 363.2 MB, free: 4.02 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: 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.0003529/2.316, allocations: 123.2 kB / 363.3 MB, free: 3.891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/2.318, allocations: 270.7 kB / 363.6 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/2.318, allocations: 0 / 363.6 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006003/2.318, allocations: 266.8 kB / 363.9 MB, free: 3.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009782/2.319, allocations: 109.4 kB / 364 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/2.321, allocations: 0.5189 MB / 364.5 MB, free: 2.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007044/2.322, allocations: 0.8251 MB / 365.3 MB, free: 1.816 MB / 298.7 MB Notification: Performance of SimCode: time 4.959e-06/2.322, allocations: 0 / 365.3 MB, free: 1.816 MB / 298.7 MB