Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions3",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(ModelicaTest): time 2.21/2.21, allocations: 235 MB / 241.9 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1735/2.384, allocations: 57.2 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/2.674, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/2.825, allocations: 78.94 MB / 432.9 MB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/2.826, allocations: 71.89 kB / 433 MB, free: 14.31 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.009847/2.836, allocations: 1.998 MB / 435 MB, free: 12.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.22e-05/2.836, allocations: 8 kB / 435 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.856e-05/2.836, allocations: 15.84 kB / 435 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/2.836, allocations: 178.9 kB / 435.2 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/2.836, allocations: 8 kB / 435.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/2.836, allocations: 11.94 kB / 435.2 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003989/2.837, allocations: 48.36 kB / 435.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/2.837, allocations: 108.8 kB / 435.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/2.837, allocations: 4 kB / 435.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/2.837, allocations: 0 / 435.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/2.837, allocations: 4 kB / 435.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/2.839, allocations: 0.5142 MB / 435.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/2.839, allocations: 71.41 kB / 435.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/2.839, allocations: 21.72 kB / 436 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/2.84, allocations: 0 / 436 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/2.84, allocations: 42.5 kB / 436 MB, free: 11.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 4.268e-06/2.84, allocations: 0 / 436 MB, free: 11.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008027/2.84, allocations: 95.47 kB / 436.1 MB, free: 11.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/2.841, allocations: 81.11 kB / 436.2 MB, free: 10.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/2.841, allocations: 108.8 kB / 436.3 MB, free: 10.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/2.841, allocations: 33.69 kB / 436.3 MB, free: 10.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/2.841, allocations: 111.8 kB / 436.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/2.841, allocations: 31.55 kB / 436.5 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/2.841, allocations: 0 / 436.5 MB, free: 10.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002451/2.841, allocations: 318.8 kB / 436.8 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/2.841, allocations: 20 kB / 436.8 MB, free: 10.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/2.842, allocations: 84.52 kB / 436.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/2.842, allocations: 35.98 kB / 436.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/2.842, allocations: 0 / 436.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005929/2.843, allocations: 147.1 kB / 437 MB, free: 9.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/2.843, allocations: 4.25 kB / 437 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/2.843, allocations: 11.98 kB / 437.1 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002975/2.843, allocations: 37.64 kB / 437.1 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/2.843, allocations: 23.92 kB / 437.1 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003807/2.847, allocations: 2.423 MB / 439.5 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/2.847, allocations: 11.84 kB / 439.6 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/2.847, allocations: 4 kB / 439.6 MB, free: 7.219 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/2.847, allocations: 106.2 kB / 439.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/2.847, allocations: 7.906 kB / 439.7 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/2.848, allocations: 16.09 kB / 439.7 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/2.848, allocations: 4 kB / 439.7 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/2.848, allocations: 7.844 kB / 439.7 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/2.848, allocations: 0 / 439.7 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/2.848, allocations: 170.1 kB / 439.9 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/2.848, allocations: 4 kB / 439.9 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/2.848, allocations: 15.98 kB / 439.9 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/2.848, allocations: 33.7 kB / 439.9 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/2.848, allocations: 4 kB / 439.9 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/2.851, allocations: 2.413 MB / 442.3 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/2.851, allocations: 8.25 kB / 442.3 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005085/2.852, allocations: 302 kB / 442.6 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007021/2.853, allocations: 0.6976 MB / 443.3 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/2.853, allocations: 77.11 kB / 443.4 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/2.853, allocations: 11.91 kB / 443.4 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/2.853, allocations: 0 / 443.4 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/2.853, allocations: 7.984 kB / 443.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/2.853, allocations: 0 / 443.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.819e-05/2.853, allocations: 95.28 kB / 443.5 MB, free: 2.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001441/2.855, allocations: 35.84 kB / 443.6 MB, free: 2.855 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002069/2.855, allocations: 99.23 kB / 443.7 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006548/2.855, allocations: 271.8 kB / 443.9 MB, free: 2.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/2.855, allocations: 4.062 kB / 443.9 MB, free: 2.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/2.856, allocations: 231.5 kB / 444.1 MB, free: 2.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/2.856, allocations: 19.98 kB / 444.2 MB, free: 2.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/2.857, allocations: 375.9 kB / 444.5 MB, free: 1.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/2.858, allocations: 0.7193 MB / 445.3 MB, free: 1.059 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/2.858, allocations: 0 / 445.3 MB, free: 1.059 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat