Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_2_cs_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.625/1.625, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2349/1.86, allocations: 46.82 MB / 249.4 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/1.949, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2665/2.216, allocations: 71.25 MB / 365.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/2.216, allocations: 62.05 kB / 365.2 MB, free: 7.133 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.04466/2.261, allocations: 11.7 MB / 376.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/2.261, allocations: 7.75 kB / 376.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/2.261, allocations: 93.69 kB / 377 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/2.262, allocations: 434.7 kB / 377.4 MB, free: 4.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/2.262, allocations: 38.66 kB / 377.5 MB, free: 4.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/2.262, allocations: 65.95 kB / 377.5 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001953/2.264, allocations: 0.654 MB / 378.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/2.266, allocations: 0.7972 MB / 379 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/2.266, allocations: 0 / 379 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/2.266, allocations: 0 / 379 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/2.266, allocations: 22.81 kB / 379 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004232/2.271, allocations: 2.156 MB / 381.2 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/2.272, allocations: 0.5502 MB / 381.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006483/2.273, allocations: 302.9 kB / 382 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.181e-05/2.273, allocations: 8.438 kB / 382 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000805/2.274, allocations: 394 kB / 382.4 MB, free: 2.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 4.689e-06/2.274, allocations: 0 / 382.4 MB, free: 2.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.001462/2.275, allocations: 0.5042 MB / 382.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/2.275, allocations: 103.7 kB / 383 MB, free: 2.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/2.276, allocations: 282.9 kB / 383.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002006/2.276, allocations: 48.53 kB / 383.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/2.276, allocations: 271.3 kB / 383.6 MB, free: 18.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/2.276, allocations: 236 kB / 383.8 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/2.276, allocations: 0 / 383.8 MB, free: 18.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/2.277, allocations: 364.2 kB / 384.2 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006915/2.277, allocations: 234.2 kB / 384.4 MB, free: 17.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008226/2.278, allocations: 437.2 kB / 384.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/2.279, allocations: 247.2 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/2.279, allocations: 0 / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001934/2.281, allocations: 0.7375 MB / 385.8 MB, free: 17.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/2.281, allocations: 7.844 kB / 385.8 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/2.281, allocations: 3.906 kB / 385.8 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-05/2.281, allocations: 16.41 kB / 385.9 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/2.282, allocations: 112.1 kB / 386 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/2.282, allocations: 19.72 kB / 386 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/2.283, allocations: 46.97 kB / 386 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/2.283, allocations: 57.66 kB / 386.1 MB, free: 17.26 MB / 314.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.000292/2.283, allocations: 179.8 kB / 386.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/2.283, allocations: 50.67 kB / 386.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/2.285, allocations: 0.6313 MB / 386.9 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/2.285, allocations: 11.62 kB / 386.9 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/2.285, allocations: 0 / 386.9 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/2.285, allocations: 7.859 kB / 387 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/2.289, allocations: 1.424 MB / 388.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/2.289, allocations: 11.56 kB / 388.4 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/2.29, allocations: 68.5 kB / 388.5 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/2.29, allocations: 7.688 kB / 388.5 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/2.29, allocations: 15.8 kB / 388.5 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/2.29, allocations: 7.688 kB / 388.5 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/2.29, allocations: 0 / 388.5 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00157/2.291, allocations: 0.687 MB / 389.2 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001652/2.293, allocations: 1.065 MB / 390.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/2.293, allocations: 131.9 kB / 390.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/2.293, allocations: 3.781 kB / 390.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/2.294, allocations: 35 kB / 390.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/2.294, allocations: 97.55 kB / 390.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.412e-05/2.294, allocations: 29.69 kB / 390.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000172/2.294, allocations: 148.1 kB / 390.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001832/2.296, allocations: 136.3 kB / 390.8 MB, free: 15.08 MB / 314.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.0003227/2.297, allocations: 148.7 kB / 391 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/2.298, allocations: 0.6753 MB / 391.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/2.298, allocations: 4.312 kB / 391.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007628/2.299, allocations: 360.8 kB / 392 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/2.3, allocations: 46.12 kB / 392 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/2.302, allocations: 0.8625 MB / 392.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009922/2.303, allocations: 1.03 MB / 393.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of SimCode: time 1.293e-06/2.303, allocations: 0 / 393.9 MB, free: 13.72 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat