Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_TestSpeed",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.367/2.367, allocations: 235 MB / 241.9 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1926/2.559, allocations: 57.19 MB / 299.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/2.854, allocations: 54.85 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/3.02, allocations: 81.78 MB / 435.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/3.021, allocations: 67.91 kB / 435.8 MB, free: 11.5 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.02331/3.044, allocations: 4.89 MB / 440.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/3.044, allocations: 12 kB / 440.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.858e-05/3.044, allocations: 35.53 kB / 440.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/3.045, allocations: 250.6 kB / 441 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/3.045, allocations: 8 kB / 441 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/3.045, allocations: 16 kB / 441 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004433/3.045, allocations: 136.8 kB / 441.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/3.046, allocations: 216.2 kB / 441.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/3.046, allocations: 5.078 kB / 441.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/3.046, allocations: 11.94 kB / 441.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/3.046, allocations: 7.938 kB / 441.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/3.048, allocations: 1.248 MB / 442.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/3.049, allocations: 175 kB / 442.8 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/3.049, allocations: 68.84 kB / 442.9 MB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/3.049, allocations: 11.98 kB / 442.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/3.049, allocations: 38.59 kB / 442.9 MB, free: 4.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 5.491e-06/3.049, allocations: 0 / 442.9 MB, free: 4.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.003129/3.052, allocations: 1.334 MB / 444.3 MB, free: 2.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/3.052, allocations: 132.5 kB / 444.4 MB, free: 2.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/3.053, allocations: 180.3 kB / 444.6 MB, free: 2.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/3.053, allocations: 29.7 kB / 444.6 MB, free: 2.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/3.053, allocations: 156.2 kB / 444.7 MB, free: 2.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/3.053, allocations: 118.3 kB / 444.9 MB, free: 1.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/3.053, allocations: 0.9375 kB / 444.9 MB, free: 1.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/3.053, allocations: 338.8 kB / 445.2 MB, free: 1.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/3.053, allocations: 60.88 kB / 445.3 MB, free: 1.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/3.054, allocations: 200.5 kB / 445.4 MB, free: 1.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/3.054, allocations: 104 kB / 445.5 MB, free: 1.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/3.054, allocations: 4 kB / 445.6 MB, free: 1.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008536/3.055, allocations: 284.9 kB / 445.8 MB, free: 0.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/3.055, allocations: 11.94 kB / 445.8 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/3.055, allocations: 4 kB / 445.8 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/3.055, allocations: 8 kB / 445.9 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000844/3.056, allocations: 116.2 kB / 446 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/3.056, allocations: 8 kB / 446 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/3.056, allocations: 31.92 kB / 446 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/3.057, allocations: 16.55 kB / 446 MB, free: 0.6836 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.0001422/3.057, allocations: 116.8 kB / 446.1 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/3.057, allocations: 27.7 kB / 446.2 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/3.057, allocations: 29.72 kB / 446.2 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/3.057, allocations: 4 kB / 446.2 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/3.057, allocations: 0 / 446.2 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/3.057, allocations: 7.984 kB / 446.2 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1773/3.234, allocations: 0.8564 MB / 447.1 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/3.234, allocations: 7.031 kB / 447.1 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/3.235, allocations: 93.3 kB / 447.2 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/3.235, allocations: 7.438 kB / 447.2 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/3.235, allocations: 2.688 kB / 447.2 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/3.235, allocations: 2.625 kB / 447.2 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/3.235, allocations: 3.891 kB / 447.2 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009071/3.236, allocations: 0.6881 MB / 447.9 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001042/3.237, allocations: 1.144 MB / 449 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/3.237, allocations: 104.8 kB / 449.1 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/3.237, allocations: 2.562 kB / 449.1 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/3.238, allocations: 25.5 kB / 449.1 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/3.238, allocations: 23.08 kB / 449.2 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/3.238, allocations: 11.34 kB / 449.2 MB, free: 129.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001576/3.238, allocations: 146.6 kB / 449.3 MB, free: 129.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001548/3.24, allocations: 53.84 kB / 449.4 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.0001717/3.24, allocations: 112 kB / 449.5 MB, free: 129.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005684/3.241, allocations: 195.1 kB / 449.7 MB, free: 129.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/3.241, allocations: 0 / 449.7 MB, free: 129.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/3.241, allocations: 100 kB / 449.8 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.0006677/3.242, allocations: 31 kB / 449.8 MB, free: 129.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/3.243, allocations: 0.6927 MB / 450.5 MB, free: 128.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/3.244, allocations: 0.8174 MB / 451.3 MB, free: 128.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/3.244, allocations: 0 / 451.3 MB, free: 128.1 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat