Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_BusUsage",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.719/1.719, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2614/1.98, allocations: 46.81 MB / 249.4 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/2.071, allocations: 44.52 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2882/2.359, allocations: 70.95 MB / 364.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/2.36, allocations: 69.45 kB / 364.9 MB, free: 7.164 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.008005/2.368, allocations: 1.48 MB / 366.4 MB, free: 6.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/2.368, allocations: 11.53 kB / 366.4 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/2.368, allocations: 7.781 kB / 366.4 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/2.368, allocations: 177.9 kB / 366.6 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/2.368, allocations: 0 / 366.6 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/2.368, allocations: 3.781 kB / 366.6 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001948/2.368, allocations: 30.81 kB / 366.6 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/2.369, allocations: 86.05 kB / 366.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/2.369, allocations: 1.078 kB / 366.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/2.369, allocations: 4 kB / 366.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/2.369, allocations: 3.875 kB / 366.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008338/2.37, allocations: 0.6172 MB / 367.3 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/2.37, allocations: 100.2 kB / 367.4 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/2.37, allocations: 39.52 kB / 367.5 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/2.37, allocations: 1.453 kB / 367.5 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/2.37, allocations: 41.56 kB / 367.5 MB, free: 5.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.926e-06/2.37, allocations: 7.938 kB / 367.5 MB, free: 5.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005269/2.371, allocations: 66.64 kB / 367.6 MB, free: 5.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/2.371, allocations: 157.2 kB / 367.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/2.371, allocations: 106.8 kB / 367.8 MB, free: 21.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/2.371, allocations: 25.7 kB / 367.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/2.371, allocations: 93.64 kB / 368 MB, free: 21.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/2.371, allocations: 19.28 kB / 368 MB, free: 21.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/2.371, allocations: 0 / 368 MB, free: 21.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/2.371, allocations: 316.6 kB / 368.3 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.63e-05/2.371, allocations: 10.88 kB / 368.3 MB, free: 20.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.484e-05/2.371, allocations: 40.33 kB / 368.3 MB, free: 20.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.4e-05/2.372, allocations: 16.75 kB / 368.4 MB, free: 20.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/2.372, allocations: 0 / 368.4 MB, free: 20.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002812/2.372, allocations: 66.88 kB / 368.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/2.372, allocations: 7.75 kB / 368.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/2.372, allocations: 0 / 368.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/2.372, allocations: 0 / 368.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/2.372, allocations: 25.28 kB / 368.5 MB, free: 20.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/2.372, allocations: 3.875 kB / 368.5 MB, free: 20.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/2.372, allocations: 15.69 kB / 368.5 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/2.372, allocations: 3.938 kB / 368.5 MB, free: 20.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001208/2.373, allocations: 104.8 kB / 368.6 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/2.373, allocations: 9.531 kB / 368.6 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/2.373, allocations: 15.64 kB / 368.6 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/2.373, allocations: 0 / 368.6 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/2.373, allocations: 11.72 kB / 368.6 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/2.373, allocations: 0 / 368.6 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009102/2.374, allocations: 160.6 kB / 368.8 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/2.374, allocations: 4 kB / 368.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/2.374, allocations: 19.27 kB / 368.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/2.374, allocations: 3.844 kB / 368.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/2.374, allocations: 4 kB / 368.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/2.374, allocations: 3.875 kB / 368.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/2.374, allocations: 0 / 368.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005227/2.375, allocations: 0.5086 MB / 369.3 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00067/2.375, allocations: 0.8692 MB / 370.2 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/2.376, allocations: 84.86 kB / 370.3 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/2.376, allocations: 1.688 kB / 370.3 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007275/2.376, allocations: 17.31 kB / 370.3 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/2.376, allocations: 7.016 kB / 370.3 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/2.376, allocations: 3.875 kB / 370.3 MB, free: 19 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.889e-05/2.377, allocations: 88.03 kB / 370.4 MB, free: 18.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003021/2.38, allocations: 15.31 kB / 370.4 MB, free: 18.92 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001783/2.38, allocations: 100.5 kB / 370.5 MB, free: 18.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/2.38, allocations: 38.44 kB / 370.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/2.38, allocations: 0 / 370.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/2.38, allocations: 17.16 kB / 370.6 MB, free: 18.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/2.381, allocations: 3.875 kB / 370.6 MB, free: 18.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/2.382, allocations: 121.6 kB / 370.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005845/2.382, allocations: 0.7108 MB / 371.4 MB, free: 18 MB / 314.7 MB Notification: Performance of SimCode: time 1.402e-06/2.382, allocations: 0 / 371.4 MB, free: 18 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat