Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_2_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.848/1.848, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2288/2.077, allocations: 46.82 MB / 249.3 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/2.202, allocations: 44.5 MB / 293.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2747/2.476, allocations: 71.08 MB / 364.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/2.477, allocations: 68.64 kB / 365 MB, free: 7.172 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.008002/2.485, allocations: 1.828 MB / 366.8 MB, free: 6.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/2.485, allocations: 7.688 kB / 366.8 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.723e-05/2.485, allocations: 7.781 kB / 366.8 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/2.485, allocations: 183.4 kB / 367 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/2.485, allocations: 0 / 367 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/2.485, allocations: 3.938 kB / 367 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002075/2.485, allocations: 28.41 kB / 367 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/2.486, allocations: 89.75 kB / 367.1 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/2.486, allocations: 5.453 kB / 367.1 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/2.486, allocations: 3.812 kB / 367.1 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/2.486, allocations: 3.906 kB / 367.1 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/2.486, allocations: 358.6 kB / 367.5 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/2.487, allocations: 86.03 kB / 367.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/2.487, allocations: 43.36 kB / 367.6 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/2.487, allocations: 5.422 kB / 367.6 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/2.487, allocations: 130.6 kB / 367.7 MB, free: 5.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 4.579e-06/2.487, allocations: 0 / 367.7 MB, free: 5.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004277/2.488, allocations: 106.5 kB / 367.8 MB, free: 5.805 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/2.488, allocations: 163 kB / 368 MB, free: 5.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/2.488, allocations: 116.9 kB / 368.1 MB, free: 5.527 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/2.488, allocations: 32.52 kB / 368.2 MB, free: 5.496 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/2.488, allocations: 85.72 kB / 368.2 MB, free: 5.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/2.488, allocations: 22.45 kB / 368.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/2.488, allocations: 0 / 368.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/2.488, allocations: 321.3 kB / 368.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/2.488, allocations: 24.16 kB / 368.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/2.489, allocations: 54.59 kB / 368.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/2.489, allocations: 21.98 kB / 368.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/2.489, allocations: 0 / 368.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005496/2.489, allocations: 110.5 kB / 368.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/2.489, allocations: 10.12 kB / 368.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/2.489, allocations: 7.781 kB / 368.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/2.49, allocations: 0.8125 kB / 368.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/2.49, allocations: 3.969 kB / 368.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/2.49, allocations: 1.688 kB / 368.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/2.49, allocations: 17.89 kB / 368.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/2.49, allocations: 3.875 kB / 368.8 MB, free: 21 MB / 314.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.0002272/2.49, allocations: 152 kB / 369 MB, free: 20.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/2.49, allocations: 11.72 kB / 369 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.39e-05/2.49, allocations: 12.34 kB / 369 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/2.49, allocations: 4.969 kB / 369 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/2.49, allocations: 192 / 369 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/2.491, allocations: 4 kB / 369 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/2.491, allocations: 166.9 kB / 369.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/2.491, allocations: 5.156 kB / 369.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/2.491, allocations: 7.969 kB / 369.2 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/2.491, allocations: 0 / 369.2 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/2.491, allocations: 9.031 kB / 369.2 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/2.491, allocations: 0 / 369.2 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/2.491, allocations: 3.938 kB / 369.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000424/2.491, allocations: 177.3 kB / 369.4 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005844/2.492, allocations: 0.5381 MB / 369.9 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.746e-05/2.492, allocations: 86.89 kB / 370 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/2.492, allocations: 7.781 kB / 370 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/2.493, allocations: 19.98 kB / 370 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/2.493, allocations: 8.234 kB / 370 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/2.493, allocations: 3.875 kB / 370 MB, free: 19.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001388/2.493, allocations: 100.8 kB / 370.1 MB, free: 19.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002118/2.495, allocations: 32.62 kB / 370.2 MB, free: 19.86 MB / 314.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.0004782/2.496, allocations: 121.3 kB / 370.3 MB, free: 19.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004785/2.496, allocations: 124.2 kB / 370.4 MB, free: 19.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/2.496, allocations: 0 / 370.4 MB, free: 19.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/2.496, allocations: 79.44 kB / 370.5 MB, free: 19.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/2.497, allocations: 18.14 kB / 370.5 MB, free: 19.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005933/2.497, allocations: 153.2 kB / 370.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/2.498, allocations: 0.7059 MB / 371.3 MB, free: 18.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/2.498, allocations: 0 / 371.3 MB, free: 18.86 MB / 314.7 MB