Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.LogicalNetwork1,fileNamePrefix="Modelica_3_2_2_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.874/1.874, allocations: 194.9 MB / 202.5 MB, free: 13.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1505/2.025, allocations: 46.81 MB / 249.3 MB, free: 15.01 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/2.274, allocations: 44.49 MB / 293.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/2.409, allocations: 70.8 MB / 364.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/2.409, allocations: 63.97 kB / 364.7 MB, free: 11.11 MB / 314.7 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.01109/2.42, allocations: 2.303 MB / 367 MB, free: 8.742 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/2.42, allocations: 8 kB / 367 MB, free: 8.734 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/2.42, allocations: 15.81 kB / 367 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/2.421, allocations: 171 kB / 367.2 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/2.421, allocations: 8 kB / 367.2 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/2.421, allocations: 11.91 kB / 367.2 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001862/2.421, allocations: 39.98 kB / 367.2 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/2.421, allocations: 89.66 kB / 367.3 MB, free: 8.359 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/2.421, allocations: 4 kB / 367.3 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/2.421, allocations: 0 / 367.3 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/2.421, allocations: 0 / 367.3 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006152/2.422, allocations: 317.2 kB / 367.6 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/2.422, allocations: 66.58 kB / 367.7 MB, free: 7.934 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/2.422, allocations: 48.84 kB / 367.8 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/2.422, allocations: 7.906 kB / 367.8 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/2.422, allocations: 138.9 kB / 367.9 MB, free: 7.715 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 2.946e-06/2.422, allocations: 3.938 kB / 367.9 MB, free: 7.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003733/2.423, allocations: 117.5 kB / 368 MB, free: 7.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/2.423, allocations: 166.2 kB / 368.2 MB, free: 7.391 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/2.423, allocations: 126.1 kB / 368.3 MB, free: 7.258 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/2.423, allocations: 29.7 kB / 368.3 MB, free: 7.223 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/2.423, allocations: 92.12 kB / 368.4 MB, free: 7.129 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/2.423, allocations: 23.7 kB / 368.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/2.423, allocations: 0 / 368.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/2.423, allocations: 322.8 kB / 368.8 MB, free: 6.781 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/2.424, allocations: 35.98 kB / 368.8 MB, free: 6.746 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.991e-05/2.424, allocations: 31.98 kB / 368.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/2.424, allocations: 43.89 kB / 368.9 MB, free: 6.672 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.424, allocations: 0 / 368.9 MB, free: 6.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003664/2.424, allocations: 129.9 kB / 369 MB, free: 6.539 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/2.424, allocations: 4 kB / 369 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/2.424, allocations: 0 / 369 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/2.424, allocations: 4 kB / 369 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.344e-05/2.424, allocations: 0 / 369 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/2.424, allocations: 0 / 369 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/2.424, allocations: 11.92 kB / 369 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/2.425, allocations: 4 kB / 369 MB, free: 6.516 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: 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.0001724/2.425, allocations: 184.1 kB / 369.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/2.425, allocations: 11.91 kB / 369.2 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/2.425, allocations: 12.38 kB / 369.2 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/2.425, allocations: 3.984 kB / 369.2 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/2.425, allocations: 0 / 369.2 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/2.425, allocations: 3.938 kB / 369.2 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/2.425, allocations: 182.1 kB / 369.4 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/2.425, allocations: 8.062 kB / 369.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-06/2.425, allocations: 0 / 369.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/2.425, allocations: 0 / 369.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/2.425, allocations: 8 kB / 369.4 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/2.425, allocations: 0 / 369.4 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/2.425, allocations: 0 / 369.4 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003428/2.426, allocations: 156.9 kB / 369.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000471/2.426, allocations: 0.5325 MB / 370.1 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/2.426, allocations: 85.16 kB / 370.2 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/2.426, allocations: 7.984 kB / 370.2 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/2.426, allocations: 8 kB / 370.2 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/2.426, allocations: 15.92 kB / 370.2 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/2.426, allocations: 4 kB / 370.2 MB, free: 5.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.552e-05/2.426, allocations: 104 kB / 370.3 MB, free: 5.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001286/2.428, allocations: 55.83 kB / 370.4 MB, free: 5.039 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: 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.0003313/2.428, allocations: 147 kB / 370.5 MB, free: 4.887 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003837/2.429, allocations: 202.7 kB / 370.7 MB, free: 4.664 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/2.429, allocations: 0 / 370.7 MB, free: 4.664 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/2.429, allocations: 135.4 kB / 370.9 MB, free: 4.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/2.429, allocations: 4 kB / 370.9 MB, free: 4.516 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/2.429, allocations: 160.9 kB / 371 MB, free: 4.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/2.43, allocations: 0.7231 MB / 371.7 MB, free: 3.59 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/2.43, allocations: 0 / 371.7 MB, free: 3.59 MB / 314.7 MB