Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_1_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 1.825/1.825, allocations: 171.2 MB / 178.1 MB, free: 6.488 MB / 146.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1879/2.013, allocations: 41.08 MB / 219.2 MB, free: 13.34 MB / 194.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/2.22, allocations: 38.78 MB / 258 MB, free: 4.965 MB / 210.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/2.361, allocations: 65.66 MB / 323.7 MB, free: 3.199 MB / 274.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004088/2.362, allocations: 63.97 kB / 323.7 MB, free: 3.137 MB / 274.9 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.008262/2.37, allocations: 1.49 MB / 325.2 MB, free: 1.594 MB / 274.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/2.37, allocations: 12 kB / 325.2 MB, free: 1.582 MB / 274.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/2.37, allocations: 11.81 kB / 325.2 MB, free: 1.57 MB / 274.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/2.37, allocations: 171 kB / 325.4 MB, free: 1.363 MB / 274.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/2.37, allocations: 0 / 325.4 MB, free: 1.363 MB / 274.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/2.37, allocations: 7.906 kB / 325.4 MB, free: 1.355 MB / 274.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001368/2.371, allocations: 31.92 kB / 325.4 MB, free: 1.324 MB / 274.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/2.371, allocations: 97.92 kB / 325.5 MB, free: 1.207 MB / 274.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/2.371, allocations: 0 / 325.5 MB, free: 1.207 MB / 274.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/2.371, allocations: 0 / 325.5 MB, free: 1.207 MB / 274.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/2.371, allocations: 15.92 kB / 325.6 MB, free: 1.191 MB / 274.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/2.372, allocations: 0.6073 MB / 326.2 MB, free: 0.5312 MB / 274.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/2.372, allocations: 101 kB / 326.3 MB, free: 396 kB / 274.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/2.372, allocations: 40.36 kB / 326.3 MB, free: 340 kB / 274.9 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/2.372, allocations: 4 kB / 326.3 MB, free: 336 kB / 274.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/2.372, allocations: 38.56 kB / 326.3 MB, free: 288 kB / 274.9 MB Notification: Performance of pre-optimization done (n=6): time 2.365e-06/2.372, allocations: 0 / 326.3 MB, free: 288 kB / 274.9 MB Notification: Performance of matching and sorting (n=6): time 0.0003892/2.373, allocations: 69.47 kB / 326.4 MB, free: 212 kB / 274.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/2.373, allocations: 154.2 kB / 326.6 MB, free: 20 kB / 274.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/2.373, allocations: 109 kB / 326.7 MB, free: 15.91 MB / 290.9 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/2.373, allocations: 25.86 kB / 326.7 MB, free: 15.88 MB / 290.9 MB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/2.373, allocations: 100.2 kB / 326.8 MB, free: 15.77 MB / 290.9 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/2.373, allocations: 15.75 kB / 326.8 MB, free: 15.75 MB / 290.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/2.373, allocations: 0 / 326.8 MB, free: 15.75 MB / 290.9 MB Notification: Performance of setup shared object (initialization): time 0.000202/2.373, allocations: 318.8 kB / 327.1 MB, free: 15.43 MB / 290.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.852e-05/2.373, allocations: 12 kB / 327.1 MB, free: 15.42 MB / 290.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/2.373, allocations: 32.3 kB / 327.2 MB, free: 15.38 MB / 290.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/2.373, allocations: 19.94 kB / 327.2 MB, free: 15.36 MB / 290.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/2.373, allocations: 0 / 327.2 MB, free: 15.36 MB / 290.9 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002233/2.374, allocations: 69.53 kB / 327.2 MB, free: 15.28 MB / 290.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/2.374, allocations: 4 kB / 327.3 MB, free: 15.28 MB / 290.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/2.374, allocations: 7.984 kB / 327.3 MB, free: 15.27 MB / 290.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/2.374, allocations: 4.156 kB / 327.3 MB, free: 15.27 MB / 290.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/2.374, allocations: 19.84 kB / 327.3 MB, free: 15.25 MB / 290.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/2.374, allocations: 0 / 327.3 MB, free: 15.25 MB / 290.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/2.374, allocations: 11.98 kB / 327.3 MB, free: 15.23 MB / 290.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/2.374, allocations: 7.984 kB / 327.3 MB, free: 15.23 MB / 290.9 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.0001287/2.374, allocations: 112.9 kB / 327.4 MB, free: 15.11 MB / 290.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/2.375, allocations: 7.906 kB / 327.4 MB, free: 15.1 MB / 290.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/2.375, allocations: 11.61 kB / 327.4 MB, free: 15.08 MB / 290.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/2.375, allocations: 4 kB / 327.4 MB, free: 15.08 MB / 290.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.375, allocations: 0 / 327.4 MB, free: 15.08 MB / 290.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/2.375, allocations: 0 / 327.4 MB, free: 15.08 MB / 290.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/2.375, allocations: 162.1 kB / 327.6 MB, free: 14.88 MB / 290.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/2.375, allocations: 0 / 327.6 MB, free: 14.88 MB / 290.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/2.375, allocations: 20 kB / 327.6 MB, free: 14.86 MB / 290.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/2.375, allocations: 0 / 327.6 MB, free: 14.86 MB / 290.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/2.375, allocations: 7.984 kB / 327.6 MB, free: 14.86 MB / 290.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/2.375, allocations: 0 / 327.6 MB, free: 14.86 MB / 290.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/2.375, allocations: 3.938 kB / 327.6 MB, free: 14.85 MB / 290.9 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004304/2.376, allocations: 0.5026 MB / 328.1 MB, free: 14.31 MB / 290.9 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005141/2.376, allocations: 0.8748 MB / 329 MB, free: 13.39 MB / 290.9 MB Notification: Performance of postOpt removeConstants (simulation): time 8.973e-05/2.377, allocations: 96.94 kB / 329.1 MB, free: 13.27 MB / 290.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/2.377, allocations: 0 / 329.1 MB, free: 13.27 MB / 290.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/2.377, allocations: 15.98 kB / 329.1 MB, free: 13.26 MB / 290.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/2.377, allocations: 7.984 kB / 329.1 MB, free: 13.25 MB / 290.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/2.377, allocations: 4 kB / 329.1 MB, free: 13.25 MB / 290.9 MB Notification: Performance of sort global known variables: time 7.936e-05/2.377, allocations: 87.28 kB / 329.2 MB, free: 13.16 MB / 290.9 MB Notification: Performance of remove unused functions: time 0.001366/2.379, allocations: 11.91 kB / 329.2 MB, free: 13.15 MB / 290.9 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.000169/2.379, allocations: 103.2 kB / 329.3 MB, free: 13.04 MB / 290.9 MB Notification: Performance of simCode: created initialization part: time 0.0001954/2.379, allocations: 35.92 kB / 329.4 MB, free: 13 MB / 290.9 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/2.379, allocations: 0 / 329.4 MB, free: 13 MB / 290.9 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/2.379, allocations: 27.88 kB / 329.4 MB, free: 12.98 MB / 290.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/2.38, allocations: 4 kB / 329.4 MB, free: 12.97 MB / 290.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/2.38, allocations: 127.5 kB / 329.5 MB, free: 12.81 MB / 290.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/2.381, allocations: 0.7114 MB / 330.2 MB, free: 12.07 MB / 290.9 MB Notification: Performance of SimCode: time 1.213e-06/2.381, allocations: 0 / 330.2 MB, free: 12.07 MB / 290.9 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat