Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_1_Modelica_StateGraph_Examples_ExecutionPaths",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.878/1.878, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2103/2.088, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08326/2.172, allocations: 38.77 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2955/2.467, allocations: 66.24 MB / 324.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/2.468, allocations: 70.11 kB / 324.3 MB, free: 5.723 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.07132/2.539, allocations: 11.7 MB / 336 MB, free: 11.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/2.539, allocations: 12 kB / 336 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/2.539, allocations: 86.97 kB / 336.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/2.54, allocations: 438.3 kB / 336.5 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/2.54, allocations: 39.69 kB / 336.6 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/2.541, allocations: 63.98 kB / 336.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002127/2.543, allocations: 0.6536 MB / 337.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/2.545, allocations: 0.7948 MB / 338.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/2.545, allocations: 0 / 338.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/2.545, allocations: 4 kB / 338.1 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/2.545, allocations: 20 kB / 338.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005933/2.551, allocations: 2.164 MB / 340.3 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/2.553, allocations: 0.5456 MB / 340.8 MB, free: 7.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009227/2.554, allocations: 304.3 kB / 341.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/2.554, allocations: 20.77 kB / 341.1 MB, free: 7.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000887/2.555, allocations: 379.5 kB / 341.5 MB, free: 7.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 4.128e-06/2.555, allocations: 0 / 341.5 MB, free: 7.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.001564/2.556, allocations: 0.5098 MB / 342 MB, free: 6.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/2.556, allocations: 101.7 kB / 342.1 MB, free: 6.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004461/2.557, allocations: 285.2 kB / 342.4 MB, free: 6.598 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/2.557, allocations: 48.56 kB / 342.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/2.557, allocations: 272.5 kB / 342.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/2.558, allocations: 234.1 kB / 342.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/2.558, allocations: 0 / 342.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00022/2.558, allocations: 362.7 kB / 343.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/2.559, allocations: 236 kB / 343.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/2.56, allocations: 441.5 kB / 344 MB, free: 5.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/2.561, allocations: 237.5 kB / 344.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/2.561, allocations: 0 / 344.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003119/2.564, allocations: 0.7444 MB / 344.9 MB, free: 4.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/2.564, allocations: 8.031 kB / 344.9 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.748e-05/2.564, allocations: 8 kB / 345 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-05/2.564, allocations: 12 kB / 345 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/2.565, allocations: 114 kB / 345.1 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.26e-05/2.566, allocations: 15.94 kB / 345.1 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/2.566, allocations: 51.72 kB / 345.1 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/2.566, allocations: 49.92 kB / 345.2 MB, free: 4.238 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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.0003179/2.567, allocations: 179.9 kB / 345.4 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/2.567, allocations: 55.42 kB / 345.4 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/2.57, allocations: 0.6302 MB / 346.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/2.57, allocations: 12 kB / 346.1 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/2.57, allocations: 0 / 346.1 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/2.57, allocations: 3.984 kB / 346.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004671/2.574, allocations: 1.437 MB / 347.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/2.574, allocations: 4 kB / 347.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/2.575, allocations: 66.72 kB / 347.6 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-05/2.575, allocations: 4 kB / 347.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.437e-05/2.575, allocations: 7.984 kB / 347.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/2.575, allocations: 4 kB / 347.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/2.575, allocations: 0 / 347.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00183/2.577, allocations: 0.7037 MB / 348.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001929/2.579, allocations: 1.061 MB / 349.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/2.579, allocations: 120.5 kB / 349.5 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/2.579, allocations: 7.062 kB / 349.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/2.58, allocations: 31.88 kB / 349.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004478/2.58, allocations: 107.7 kB / 349.6 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/2.58, allocations: 26.75 kB / 349.6 MB, free: 432 kB / 282.7 MB Notification: Performance of sort global known variables: time 0.0002744/2.581, allocations: 145.2 kB / 349.8 MB, free: 312 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.001944/2.583, allocations: 128 kB / 349.9 MB, free: 184 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 84 (transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * 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.0003921/2.583, allocations: 148.7 kB / 350.1 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002164/2.585, allocations: 0.6783 MB / 350.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/2.585, allocations: 0 / 350.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/2.587, allocations: 362.9 kB / 351.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009395/2.588, allocations: 52.81 kB / 351.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/2.592, allocations: 0.8702 MB / 352 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/2.593, allocations: 1.026 MB / 353 MB, free: 13.42 MB / 298.7 MB Notification: Performance of SimCode: time 1.583e-06/2.594, allocations: 3.938 kB / 353 MB, free: 13.42 MB / 298.7 MB