Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.LogicalNetwork1,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_LogicalNetwork1",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.76/1.76, allocations: 171.2 MB / 178.1 MB, free: 6.746 MB / 147.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1215/1.881, allocations: 41.08 MB / 219.2 MB, free: 13.59 MB / 195.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/2.13, allocations: 38.77 MB / 258 MB, free: 5.234 MB / 211.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/2.275, allocations: 65.49 MB / 323.5 MB, free: 3.645 MB / 275.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/2.276, allocations: 63.97 kB / 323.6 MB, free: 3.582 MB / 275.1 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.01829/2.294, allocations: 2.313 MB / 325.9 MB, free: 1.199 MB / 275.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/2.294, allocations: 8 kB / 325.9 MB, free: 1.191 MB / 275.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/2.294, allocations: 11.91 kB / 325.9 MB, free: 1.18 MB / 275.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/2.294, allocations: 174.9 kB / 326.1 MB, free: 0.9688 MB / 275.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/2.295, allocations: 4 kB / 326.1 MB, free: 0.9648 MB / 275.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/2.295, allocations: 8 kB / 326.1 MB, free: 0.957 MB / 275.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000275/2.295, allocations: 39.98 kB / 326.1 MB, free: 0.918 MB / 275.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/2.295, allocations: 97.55 kB / 326.2 MB, free: 0.8164 MB / 275.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/2.295, allocations: 0 / 326.2 MB, free: 0.8164 MB / 275.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/2.295, allocations: 0 / 326.2 MB, free: 0.8164 MB / 275.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/2.295, allocations: 3.906 kB / 326.2 MB, free: 0.8125 MB / 275.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000915/2.296, allocations: 317.3 kB / 326.5 MB, free: 476 kB / 275.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/2.297, allocations: 66.52 kB / 326.6 MB, free: 400 kB / 275.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/2.297, allocations: 52.84 kB / 326.6 MB, free: 344 kB / 275.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/2.297, allocations: 0 / 326.6 MB, free: 344 kB / 275.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/2.297, allocations: 138.8 kB / 326.8 MB, free: 180 kB / 275.1 MB Notification: Performance of pre-optimization done (n=11): time 3.546e-06/2.297, allocations: 0 / 326.8 MB, free: 180 kB / 275.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005252/2.298, allocations: 121.5 kB / 326.9 MB, free: 52 kB / 275.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/2.298, allocations: 166.1 kB / 327 MB, free: 15.85 MB / 291.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/2.298, allocations: 125.2 kB / 327.2 MB, free: 15.72 MB / 291.1 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/2.298, allocations: 29.7 kB / 327.2 MB, free: 15.68 MB / 291.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/2.298, allocations: 104 kB / 327.3 MB, free: 15.58 MB / 291.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/2.298, allocations: 19.72 kB / 327.3 MB, free: 15.56 MB / 291.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/2.299, allocations: 0 / 327.3 MB, free: 15.56 MB / 291.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/2.299, allocations: 322.8 kB / 327.6 MB, free: 15.23 MB / 291.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/2.299, allocations: 35.98 kB / 327.7 MB, free: 15.2 MB / 291.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/2.299, allocations: 35.98 kB / 327.7 MB, free: 15.16 MB / 291.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/2.299, allocations: 39.11 kB / 327.7 MB, free: 15.13 MB / 291.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.3, allocations: 0 / 327.7 MB, free: 15.13 MB / 291.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006091/2.3, allocations: 125.5 kB / 327.9 MB, free: 15 MB / 291.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/2.3, allocations: 4 kB / 327.9 MB, free: 15 MB / 291.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.3, allocations: 4 kB / 327.9 MB, free: 14.99 MB / 291.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/2.3, allocations: 0 / 327.9 MB, free: 14.99 MB / 291.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/2.3, allocations: 3.938 kB / 327.9 MB, free: 14.99 MB / 291.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/2.3, allocations: 3.906 kB / 327.9 MB, free: 14.98 MB / 291.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/2.301, allocations: 7.984 kB / 327.9 MB, free: 14.98 MB / 291.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/2.301, allocations: 8 kB / 327.9 MB, free: 14.97 MB / 291.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$PRE.table2.y,table2.y,$PRE.table2.nextTime,table2.nextTime,$PRE.table2.index,table2.index,$PRE.table1.y,table1.y,$PRE.table1.nextTime,table1.nextTime,$PRE.table1.index,table1.index,And1.u2,And1.y,$PRE.Pre1.u,Pre1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * 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.0002901/2.301, allocations: 176.4 kB / 328.1 MB, free: 14.78 MB / 291.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/2.301, allocations: 11.91 kB / 328.1 MB, free: 14.77 MB / 291.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.49e-05/2.301, allocations: 8.375 kB / 328.1 MB, free: 14.75 MB / 291.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/2.301, allocations: 3.906 kB / 328.1 MB, free: 14.75 MB / 291.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/2.301, allocations: 0 / 328.1 MB, free: 14.75 MB / 291.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/2.301, allocations: 64 / 328.1 MB, free: 14.75 MB / 291.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/2.302, allocations: 186.1 kB / 328.3 MB, free: 14.53 MB / 291.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/2.302, allocations: 4 kB / 328.3 MB, free: 14.52 MB / 291.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/2.302, allocations: 3.984 kB / 328.3 MB, free: 14.52 MB / 291.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/2.302, allocations: 0 / 328.3 MB, free: 14.52 MB / 291.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/2.302, allocations: 7.984 kB / 328.3 MB, free: 14.51 MB / 291.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/2.302, allocations: 0 / 328.3 MB, free: 14.51 MB / 291.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/2.302, allocations: 3.906 kB / 328.3 MB, free: 14.51 MB / 291.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005324/2.302, allocations: 156.9 kB / 328.4 MB, free: 14.34 MB / 291.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007047/2.303, allocations: 0.5287 MB / 329 MB, free: 13.79 MB / 291.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/2.303, allocations: 89.06 kB / 329.1 MB, free: 13.68 MB / 291.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/2.303, allocations: 4 kB / 329.1 MB, free: 13.68 MB / 291.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/2.303, allocations: 11.98 kB / 329.1 MB, free: 13.66 MB / 291.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/2.304, allocations: 15.92 kB / 329.1 MB, free: 13.65 MB / 291.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/2.304, allocations: 4 kB / 329.1 MB, free: 13.64 MB / 291.1 MB Notification: Performance of sort global known variables: time 0.0001328/2.304, allocations: 108 kB / 329.2 MB, free: 13.54 MB / 291.1 MB Notification: Performance of remove unused functions: time 0.003674/2.308, allocations: 47.94 kB / 329.3 MB, free: 13.49 MB / 291.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$whenCondition2,table2.y,table2.nextTime,table2.index,table1.y,table1.nextTime,table1.index,And1.u2,And1.y,Pre1.u) * Number of discrete states: 9 (Pre1.u,table1.y,table1.nextTime,table1.index,$whenCondition1,table2.y,table2.nextTime,table2.index,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005164/2.308, allocations: 151.1 kB / 329.4 MB, free: 13.34 MB / 291.1 MB Notification: Performance of simCode: created initialization part: time 0.000402/2.309, allocations: 194.8 kB / 329.6 MB, free: 13.12 MB / 291.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/2.309, allocations: 0 / 329.6 MB, free: 13.12 MB / 291.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/2.309, allocations: 131.4 kB / 329.7 MB, free: 12.98 MB / 291.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/2.309, allocations: 15.94 kB / 329.7 MB, free: 12.96 MB / 291.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/2.31, allocations: 159.2 kB / 329.9 MB, free: 12.79 MB / 291.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/2.31, allocations: 0.7192 MB / 330.6 MB, free: 12.04 MB / 291.1 MB Notification: Performance of SimCode: time 9.82e-07/2.31, allocations: 0 / 330.6 MB, free: 12.04 MB / 291.1 MB