Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_BusUsage",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 2.225/2.225, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2846/2.51, allocations: 46.82 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/2.603, allocations: 44.51 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3376/2.941, allocations: 70.95 MB / 364.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/2.941, allocations: 68.28 kB / 364.9 MB, free: 7.145 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.005696/2.947, allocations: 1.476 MB / 366.3 MB, free: 6.707 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/2.947, allocations: 9.281 kB / 366.3 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/2.947, allocations: 11.78 kB / 366.4 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/2.947, allocations: 179.9 kB / 366.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/2.947, allocations: 3.969 kB / 366.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/2.947, allocations: 3.906 kB / 366.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001313/2.947, allocations: 24.75 kB / 366.6 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/2.947, allocations: 92.19 kB / 366.7 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/2.947, allocations: 5.203 kB / 366.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/2.947, allocations: 0 / 366.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/2.947, allocations: 3.875 kB / 366.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/2.948, allocations: 0.6014 MB / 367.3 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/2.948, allocations: 101.8 kB / 367.4 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/2.948, allocations: 43.86 kB / 367.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/2.948, allocations: 5.625 kB / 367.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/2.948, allocations: 38.44 kB / 367.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 3.327e-06/2.948, allocations: 0 / 367.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003285/2.949, allocations: 72.81 kB / 367.5 MB, free: 5.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/2.949, allocations: 158.1 kB / 367.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.048e-05/2.949, allocations: 111.3 kB / 367.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/2.949, allocations: 25.7 kB / 367.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/2.949, allocations: 98.75 kB / 367.9 MB, free: 21.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/2.949, allocations: 12.7 kB / 367.9 MB, free: 21.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/2.949, allocations: 0 / 367.9 MB, free: 21.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/2.949, allocations: 325.4 kB / 368.2 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.838e-05/2.949, allocations: 7.031 kB / 368.2 MB, free: 20.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/2.949, allocations: 39.86 kB / 368.3 MB, free: 20.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/2.949, allocations: 21.12 kB / 368.3 MB, free: 20.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/2.949, allocations: 0 / 368.3 MB, free: 20.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001703/2.949, allocations: 69.19 kB / 368.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/2.949, allocations: 3.969 kB / 368.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/2.949, allocations: 3.5 kB / 368.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/2.95, allocations: 0 / 368.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/2.95, allocations: 18.72 kB / 368.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/2.95, allocations: 1.219 kB / 368.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/2.95, allocations: 18.11 kB / 368.4 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/2.95, allocations: 3.938 kB / 368.4 MB, free: 20.75 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 9.565e-05/2.95, allocations: 108.7 kB / 368.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/2.95, allocations: 12.95 kB / 368.5 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/2.95, allocations: 8.25 kB / 368.5 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/2.95, allocations: 3.312 kB / 368.5 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/2.95, allocations: 7.781 kB / 368.6 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/2.95, allocations: 5.531 kB / 368.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/2.951, allocations: 151.3 kB / 368.7 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/2.951, allocations: 3.938 kB / 368.7 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/2.951, allocations: 17.83 kB / 368.7 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/2.951, allocations: 9.188 kB / 368.7 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/2.951, allocations: 0 / 368.7 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/2.951, allocations: 3.844 kB / 368.7 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.951, allocations: 3.938 kB / 368.7 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003409/2.951, allocations: 0.5069 MB / 369.3 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004204/2.952, allocations: 0.8716 MB / 370.1 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/2.952, allocations: 84.89 kB / 370.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/2.952, allocations: 1.172 kB / 370.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/2.952, allocations: 14.61 kB / 370.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/2.952, allocations: 11.08 kB / 370.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/2.952, allocations: 7.875 kB / 370.2 MB, free: 18.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.618e-05/2.952, allocations: 88.08 kB / 370.3 MB, free: 18.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001398/2.954, allocations: 11.66 kB / 370.3 MB, free: 18.89 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.0001373/2.954, allocations: 100.3 kB / 370.4 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/2.954, allocations: 32.92 kB / 370.5 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/2.954, allocations: 0 / 370.5 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/2.954, allocations: 22.91 kB / 370.5 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/2.955, allocations: 5.281 kB / 370.5 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/2.955, allocations: 121.5 kB / 370.6 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/2.956, allocations: 0.7059 MB / 371.3 MB, free: 17.97 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/2.956, allocations: 0 / 371.3 MB, free: 17.97 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat