Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_ShowLogicalSources",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.745/1.745, allocations: 171.2 MB / 178.1 MB, free: 8.301 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2378/1.983, allocations: 41.1 MB / 219.2 MB, free: 11.21 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09218/2.075, allocations: 38.77 MB / 258 MB, free: 4.379 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2932/2.369, allocations: 66.08 MB / 324.1 MB, free: 5.973 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/2.369, allocations: 68.59 kB / 324.2 MB, free: 5.941 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.009285/2.378, allocations: 1.836 MB / 326 MB, free: 4.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/2.378, allocations: 8 kB / 326 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/2.378, allocations: 14.84 kB / 326 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/2.379, allocations: 174.1 kB / 326.2 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/2.379, allocations: 4 kB / 326.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/2.379, allocations: 8 kB / 326.2 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001465/2.379, allocations: 34.17 kB / 326.2 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/2.379, allocations: 83.42 kB / 326.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/2.379, allocations: 3.938 kB / 326.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/2.379, allocations: 0 / 326.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/2.379, allocations: 4 kB / 326.3 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/2.38, allocations: 361.3 kB / 326.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/2.38, allocations: 90.31 kB / 326.8 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/2.38, allocations: 42.39 kB / 326.8 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/2.38, allocations: 0 / 326.8 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/2.38, allocations: 133.2 kB / 326.9 MB, free: 3.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.953e-06/2.38, allocations: 0 / 326.9 MB, free: 3.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003274/2.38, allocations: 92.02 kB / 327 MB, free: 3.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/2.381, allocations: 174 kB / 327.2 MB, free: 2.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/2.381, allocations: 121.6 kB / 327.3 MB, free: 2.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/2.381, allocations: 29.08 kB / 327.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/2.381, allocations: 91.98 kB / 327.4 MB, free: 2.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/2.381, allocations: 15.25 kB / 327.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/2.381, allocations: 0 / 327.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/2.381, allocations: 326.3 kB / 327.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/2.381, allocations: 22.81 kB / 327.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.459e-05/2.381, allocations: 50.92 kB / 327.8 MB, free: 2.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/2.381, allocations: 25.36 kB / 327.9 MB, free: 2.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/2.381, allocations: 0 / 327.9 MB, free: 2.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003008/2.382, allocations: 107.2 kB / 328 MB, free: 2.199 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/2.382, allocations: 4 kB / 328 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/2.382, allocations: 64 / 328 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/2.382, allocations: 8 kB / 328 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/2.382, allocations: 11.88 kB / 328 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/2.382, allocations: 0 / 328 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/2.382, allocations: 20.45 kB / 328 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/2.382, allocations: 4 kB / 328 MB, free: 2.152 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,step.y,pulse.y,$PRE.pulse.pulsStart,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,$PRE.table.y,table.y,$PRE.table.nextTime,table.nextTime,$PRE.table.index,table.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001512/2.382, allocations: 149.9 kB / 328.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/2.382, allocations: 11.91 kB / 328.2 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/2.382, allocations: 7.812 kB / 328.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/2.382, allocations: 4 kB / 328.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/2.382, allocations: 192 / 328.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/2.382, allocations: 0 / 328.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/2.383, allocations: 177.6 kB / 328.3 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/2.383, allocations: 0 / 328.3 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/2.383, allocations: 7.938 kB / 328.4 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/2.383, allocations: 0 / 328.4 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/2.383, allocations: 8 kB / 328.4 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/2.383, allocations: 0 / 328.4 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/2.383, allocations: 0 / 328.4 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003794/2.383, allocations: 172.5 kB / 328.5 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004468/2.384, allocations: 0.5363 MB / 329.1 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/2.384, allocations: 85.02 kB / 329.2 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/2.384, allocations: 0 / 329.2 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/2.384, allocations: 27.05 kB / 329.2 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/2.384, allocations: 15.97 kB / 329.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/2.384, allocations: 7.875 kB / 329.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.86e-05/2.384, allocations: 92.78 kB / 329.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001224/2.385, allocations: 35.89 kB / 329.3 MB, free: 0.7578 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,step.y,pulse.y,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,table.y,table.nextTime,table.index) * Number of discrete states: 4 (table.y,table.nextTime,table.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0003054/2.386, allocations: 126.3 kB / 329.5 MB, free: 0.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003336/2.386, allocations: 118.7 kB / 329.6 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/2.386, allocations: 0 / 329.6 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/2.386, allocations: 88.69 kB / 329.7 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/2.387, allocations: 15.92 kB / 329.7 MB, free: 440 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/2.387, allocations: 149.9 kB / 329.8 MB, free: 280 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/2.388, allocations: 0.7152 MB / 330.5 MB, free: 15.53 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/2.388, allocations: 0 / 330.5 MB, free: 15.53 MB / 282.7 MB