Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ShowCompositeStep,fileNamePrefix="Modelica_3_2_2_Modelica_StateGraph_Examples_ShowCompositeStep",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.843/1.843, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2426/2.086, allocations: 46.83 MB / 249.3 MB, free: 5.379 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/2.193, allocations: 44.5 MB / 293.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.303/2.496, allocations: 71.67 MB / 365.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/2.496, allocations: 64.23 kB / 365.6 MB, free: 7.25 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.05468/2.551, allocations: 13.79 MB / 379.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/2.551, allocations: 7.812 kB / 379.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/2.551, allocations: 97.34 kB / 379.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009453/2.552, allocations: 494.2 kB / 380 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.29e-05/2.552, allocations: 42.62 kB / 380 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/2.553, allocations: 77.95 kB / 380.1 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002263/2.555, allocations: 0.76 MB / 380.8 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/2.557, allocations: 0.8826 MB / 381.7 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/2.557, allocations: 0 / 381.7 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/2.557, allocations: 7.859 kB / 381.7 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/2.557, allocations: 23.16 kB / 381.7 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005835/2.563, allocations: 2.705 MB / 384.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/2.565, allocations: 0.5949 MB / 385 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008671/2.566, allocations: 347.8 kB / 385.4 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.26e-05/2.566, allocations: 20.55 kB / 385.4 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000885/2.567, allocations: 376.1 kB / 385.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 5.069e-06/2.567, allocations: 0 / 385.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.001679/2.569, allocations: 0.5743 MB / 386.3 MB, free: 17.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/2.569, allocations: 74.59 kB / 386.4 MB, free: 17.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/2.569, allocations: 310 kB / 386.7 MB, free: 17.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/2.569, allocations: 58.91 kB / 386.8 MB, free: 17.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/2.57, allocations: 294.1 kB / 387.1 MB, free: 17.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/2.57, allocations: 242.4 kB / 387.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/2.57, allocations: 0 / 387.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/2.57, allocations: 361.8 kB / 387.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007949/2.571, allocations: 284.3 kB / 387.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008998/2.572, allocations: 0.4893 MB / 388.4 MB, free: 16.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/2.573, allocations: 286.3 kB / 388.7 MB, free: 16.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/2.573, allocations: 7.906 kB / 388.7 MB, free: 16.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002183/2.575, allocations: 0.8352 MB / 389.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/2.575, allocations: 5.844 kB / 389.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/2.575, allocations: 19.42 kB / 389.6 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/2.575, allocations: 11.5 kB / 389.6 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/2.576, allocations: 125.1 kB / 389.7 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.76e-05/2.576, allocations: 19.55 kB / 389.7 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006546/2.577, allocations: 54.53 kB / 389.8 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/2.577, allocations: 53.56 kB / 389.8 MB, free: 16.11 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 133 ($PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.compositeStep.transition5.enableFire,$PRE.compositeStep.transition6.enableFire,$PRE.compositeStep.transition4a.enableFire,$PRE.compositeStep.transition6a.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition7.enableFire,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,$PRE.compositeStep.newActive,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.enableFire,compositeStep.transition3.fire,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.t_start,compositeStep.transition4.enableFire,compositeStep.transition4.fire,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.t_start,$PRE.compositeStep.step3.localActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.oldActive,compositeStep.step3.active,$PRE.compositeStep.step4.localActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.enableFire,compositeStep.transition5.fire,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.t_start,compositeStep.transition6.enableFire,compositeStep.transition6.fire,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.t_start,compositeStep.transition4a.enableFire,compositeStep.transition4a.fire,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.t_start,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.enableFire,compositeStep.transition6a.fire,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.t_start,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.localActive,compositeStep.initStep.outPort[1].reset,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.localActive,compositeStep.exitStep.inPort[1].set,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps,compositeStep.stateGraphRoot.resume,compositeStep.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * 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.0003257/2.577, allocations: 203.5 kB / 390 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/2.577, allocations: 50.66 kB / 390.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/2.579, allocations: 0.6534 MB / 390.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/2.579, allocations: 11.59 kB / 390.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/2.579, allocations: 0 / 390.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/2.579, allocations: 7.953 kB / 390.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004375/2.584, allocations: 1.578 MB / 392.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/2.584, allocations: 0 / 392.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/2.584, allocations: 72.67 kB / 392.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/2.584, allocations: 7.906 kB / 392.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/2.584, allocations: 6.922 kB / 392.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/2.584, allocations: 7.891 kB / 392.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.584, allocations: 3.875 kB / 392.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001611/2.586, allocations: 0.6943 MB / 393.1 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001671/2.588, allocations: 1.084 MB / 394.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/2.588, allocations: 131.5 kB / 394.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/2.588, allocations: 3.984 kB / 394.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/2.589, allocations: 38.53 kB / 394.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004003/2.589, allocations: 123 kB / 394.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.03e-05/2.589, allocations: 37.11 kB / 394.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001973/2.59, allocations: 151.3 kB / 394.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001722/2.591, allocations: 149.4 kB / 394.8 MB, free: 13.94 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: 80 (compositeStep.transition4a.enableFire,compositeStep.transition4.enableFire,step6.localActive,transition2.enableFire,transition1.enableFire,step1.localActive,step0.localActive,compositeStep.exitStep.localActive,compositeStep.transition5.enableFire,compositeStep.transition6.enableFire,compositeStep.transition6a.enableFire,compositeStep.initStep.localActive,compositeStep.transition3.enableFire,compositeStep.step4a.localActive,compositeStep.step4.localActive,compositeStep.step3.localActive,$cse1,$cse2,$cse3,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.fire,compositeStep.transition3.t_start,compositeStep.transition4.fire,compositeStep.transition4.t_start,compositeStep.step3.newActive,compositeStep.step3.oldActive,compositeStep.step3.active,compositeStep.step4.newActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.fire,compositeStep.transition5.t_start,compositeStep.transition6.fire,compositeStep.transition6.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.t_start,compositeStep.step4a.newActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.fire,compositeStep.transition6a.t_start,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.newActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.newActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps) * Number of discrete states: 9 (compositeStep.step3.newActive,compositeStep.step4.newActive,compositeStep.step4a.newActive,compositeStep.initStep.newActive,compositeStep.exitStep.newActive,compositeStep.newActive,step0.newActive,step1.newActive,step6.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0003126/2.592, allocations: 159.8 kB / 395 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001847/2.594, allocations: 0.7693 MB / 395.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/2.594, allocations: 0 / 395.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007971/2.594, allocations: 377.1 kB / 396.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/2.595, allocations: 53.62 kB / 396.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/2.599, allocations: 1.032 MB / 397.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/2.601, allocations: 1.05 MB / 398.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of SimCode: time 1.323e-06/2.601, allocations: 5.344 kB / 398.3 MB, free: 12.49 MB / 314.7 MB