Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_ForUsersGuide_Directions3",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(ModelicaTest): time 2.533/2.533, allocations: 235.1 MB / 242 MB, free: 9.738 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2174/2.751, allocations: 57.19 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/3.076, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/3.238, allocations: 78.95 MB / 433 MB, free: 14.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/3.239, allocations: 67.95 kB / 433.1 MB, free: 14.26 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.009644/3.248, allocations: 1.998 MB / 435.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/3.249, allocations: 8 kB / 435.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/3.249, allocations: 15.91 kB / 435.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/3.249, allocations: 178.8 kB / 435.3 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/3.249, allocations: 4 kB / 435.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/3.249, allocations: 8 kB / 435.3 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002125/3.249, allocations: 52.36 kB / 435.3 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/3.249, allocations: 104.8 kB / 435.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/3.249, allocations: 11.98 kB / 435.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/3.249, allocations: 0 / 435.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/3.249, allocations: 4 kB / 435.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/3.251, allocations: 0.5181 MB / 436 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/3.251, allocations: 67.42 kB / 436 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/3.251, allocations: 25.72 kB / 436.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/3.251, allocations: 3.938 kB / 436.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/3.251, allocations: 34.56 kB / 436.1 MB, free: 11.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 3.417e-06/3.251, allocations: 0 / 436.1 MB, free: 11.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005313/3.252, allocations: 99.47 kB / 436.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/3.252, allocations: 77.11 kB / 436.3 MB, free: 10.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/3.252, allocations: 120.8 kB / 436.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/3.252, allocations: 25.7 kB / 436.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/3.252, allocations: 111.8 kB / 436.5 MB, free: 10.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/3.252, allocations: 31.55 kB / 436.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/3.252, allocations: 0 / 436.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/3.252, allocations: 322.8 kB / 436.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/3.252, allocations: 20 kB / 436.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/3.252, allocations: 80.58 kB / 437 MB, free: 10.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/3.253, allocations: 35.92 kB / 437 MB, free: 10.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/3.253, allocations: 3.938 kB / 437 MB, free: 10.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005035/3.253, allocations: 143.3 kB / 437.1 MB, free: 9.914 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/3.253, allocations: 4 kB / 437.2 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/3.253, allocations: 7.938 kB / 437.2 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002706/3.253, allocations: 37.64 kB / 437.2 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/3.254, allocations: 23.98 kB / 437.2 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/3.256, allocations: 2.419 MB / 439.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/3.257, allocations: 11.84 kB / 439.7 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/3.257, allocations: 4 kB / 439.7 MB, free: 7.172 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.0001297/3.257, allocations: 113 kB / 439.8 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/3.257, allocations: 7.906 kB / 439.8 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/3.257, allocations: 8 kB / 439.8 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/3.257, allocations: 4 kB / 439.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/3.257, allocations: 3.906 kB / 439.8 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/3.257, allocations: 0 / 439.8 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/3.257, allocations: 174.1 kB / 440 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/3.257, allocations: 4 kB / 440 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/3.258, allocations: 11.98 kB / 440 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001946/3.258, allocations: 37.7 kB / 440 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/3.258, allocations: 0 / 440 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002734/3.261, allocations: 2.421 MB / 442.4 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/3.261, allocations: 4.031 kB / 442.4 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005203/3.261, allocations: 302 kB / 442.7 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006961/3.262, allocations: 0.6939 MB / 443.4 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/3.262, allocations: 77.11 kB / 443.5 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/3.262, allocations: 7.906 kB / 443.5 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/3.262, allocations: 0 / 443.5 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/3.262, allocations: 11.98 kB / 443.5 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/3.262, allocations: 8 kB / 443.5 MB, free: 2.934 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.703e-05/3.262, allocations: 91.28 kB / 443.6 MB, free: 2.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001528/3.264, allocations: 35.84 kB / 443.7 MB, free: 2.809 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.0001982/3.264, allocations: 107.2 kB / 443.8 MB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006037/3.265, allocations: 267.9 kB / 444 MB, free: 2.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/3.265, allocations: 4 kB / 444 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004064/3.265, allocations: 231.5 kB / 444.2 MB, free: 2.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/3.266, allocations: 20.55 kB / 444.3 MB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/3.267, allocations: 379.4 kB / 444.6 MB, free: 1.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/3.267, allocations: 0.7232 MB / 445.4 MB, free: 1 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/3.267, allocations: 0 / 445.4 MB, free: 1 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat