Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_TestSpeed",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.583/2.583, allocations: 235.1 MB / 242 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2001/2.784, allocations: 57.18 MB / 299.2 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/3.09, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1767/3.267, allocations: 81.79 MB / 435.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/3.267, allocations: 59.97 kB / 435.9 MB, free: 11.44 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.02701/3.294, allocations: 4.897 MB / 440.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/3.294, allocations: 8 kB / 440.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/3.294, allocations: 36.62 kB / 440.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/3.295, allocations: 250.6 kB / 441.1 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/3.295, allocations: 4 kB / 441.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/3.295, allocations: 20 kB / 441.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004923/3.295, allocations: 132.8 kB / 441.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/3.296, allocations: 216.2 kB / 441.5 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/3.296, allocations: 11.92 kB / 441.5 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/3.296, allocations: 0 / 441.5 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/3.296, allocations: 11.98 kB / 441.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/3.299, allocations: 1.244 MB / 442.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/3.299, allocations: 174.9 kB / 442.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/3.299, allocations: 72.84 kB / 443 MB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/3.299, allocations: 8 kB / 443 MB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/3.299, allocations: 46.58 kB / 443 MB, free: 4.062 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.366e-06/3.299, allocations: 0 / 443 MB, free: 4.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.003282/3.303, allocations: 1.326 MB / 444.4 MB, free: 2.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/3.303, allocations: 136.5 kB / 444.5 MB, free: 2.359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/3.303, allocations: 180.3 kB / 444.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/3.303, allocations: 25.7 kB / 444.7 MB, free: 2.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/3.303, allocations: 156.2 kB / 444.8 MB, free: 1.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/3.304, allocations: 114.3 kB / 444.9 MB, free: 1.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/3.304, allocations: 0 / 444.9 MB, free: 1.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/3.304, allocations: 346.8 kB / 445.3 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/3.304, allocations: 64.81 kB / 445.4 MB, free: 1.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/3.304, allocations: 200.6 kB / 445.5 MB, free: 1.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/3.305, allocations: 104.2 kB / 445.6 MB, free: 1.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/3.305, allocations: 0 / 445.6 MB, free: 1.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00117/3.306, allocations: 289.1 kB / 445.9 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/3.306, allocations: 4 kB / 445.9 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/3.306, allocations: 4.75 kB / 445.9 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.444e-05/3.306, allocations: 8 kB / 445.9 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/3.307, allocations: 119.9 kB / 446.1 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/3.307, allocations: 4 kB / 446.1 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/3.308, allocations: 27.92 kB / 446.1 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/3.308, allocations: 20 kB / 446.1 MB, free: 0.6289 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001463/3.308, allocations: 116.8 kB / 446.2 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/3.308, allocations: 27.72 kB / 446.3 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/3.308, allocations: 33.64 kB / 446.3 MB, free: 460 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/3.308, allocations: 8 kB / 446.3 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/3.308, allocations: 4.125 kB / 446.3 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/3.308, allocations: 3.984 kB / 446.3 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1657/3.474, allocations: 0.8583 MB / 447.2 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/3.474, allocations: 3.969 kB / 447.2 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/3.475, allocations: 90.62 kB / 447.3 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.616e-05/3.475, allocations: 3.719 kB / 447.3 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/3.475, allocations: 5.781 kB / 447.3 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/3.475, allocations: 3.281 kB / 447.3 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/3.475, allocations: 5.656 kB / 447.3 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001348/3.477, allocations: 0.6863 MB / 448 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00184/3.479, allocations: 1.138 MB / 449.1 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/3.479, allocations: 108.3 kB / 449.2 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/3.479, allocations: 3.875 kB / 449.2 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009661/3.48, allocations: 24.42 kB / 449.2 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/3.48, allocations: 22.2 kB / 449.3 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/3.48, allocations: 10.47 kB / 449.3 MB, free: 129.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002532/3.481, allocations: 146.9 kB / 449.4 MB, free: 129.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002894/3.483, allocations: 56.59 kB / 449.5 MB, free: 129.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0003064/3.484, allocations: 114.6 kB / 449.6 MB, free: 129.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008779/3.485, allocations: 204.3 kB / 449.8 MB, free: 129.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/3.485, allocations: 0 / 449.8 MB, free: 129.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/3.485, allocations: 95.72 kB / 449.9 MB, free: 129.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/3.486, allocations: 31.8 kB / 449.9 MB, free: 129.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/3.489, allocations: 0.6787 MB / 450.6 MB, free: 128.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/3.49, allocations: 0.8238 MB / 451.4 MB, free: 128.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.793e-06/3.49, allocations: 0 / 451.4 MB, free: 128.1 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat