Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_1_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 1.982/1.982, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2497/2.232, allocations: 51.02 MB / 267.3 MB, free: 5.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/2.357, allocations: 48.7 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3828/2.74, allocations: 75.64 MB / 391.6 MB, free: 1.043 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/2.741, allocations: 69.22 kB / 391.7 MB, free: 1.008 MB / 314.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.03333/2.774, allocations: 4.907 MB / 396.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/2.774, allocations: 12 kB / 396.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/2.774, allocations: 31.62 kB / 396.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/2.775, allocations: 251.4 kB / 396.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/2.775, allocations: 9.094 kB / 396.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.387e-05/2.775, allocations: 19.91 kB / 396.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004366/2.775, allocations: 124 kB / 397 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/2.776, allocations: 221.5 kB / 397.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/2.776, allocations: 11.89 kB / 397.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/2.776, allocations: 4 kB / 397.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/2.776, allocations: 4 kB / 397.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/2.778, allocations: 1.251 MB / 398.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/2.779, allocations: 171.8 kB / 398.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/2.779, allocations: 78.02 kB / 398.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.245e-05/2.779, allocations: 7.938 kB / 398.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.358e-05/2.779, allocations: 42.55 kB / 398.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.136e-06/2.779, allocations: 0 / 398.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.003/2.782, allocations: 1.342 MB / 400.2 MB, free: 9.277 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/2.782, allocations: 136.1 kB / 400.3 MB, free: 9.117 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/2.783, allocations: 185.2 kB / 400.5 MB, free: 8.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/2.783, allocations: 25.7 kB / 400.5 MB, free: 8.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/2.783, allocations: 161.3 kB / 400.6 MB, free: 8.777 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/2.783, allocations: 112.4 kB / 400.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/2.783, allocations: 0 / 400.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/2.783, allocations: 337.2 kB / 401.1 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/2.784, allocations: 67.3 kB / 401.2 MB, free: 8.312 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/2.784, allocations: 199.1 kB / 401.3 MB, free: 8.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/2.784, allocations: 93.17 kB / 401.4 MB, free: 8.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/2.784, allocations: 4 kB / 401.4 MB, free: 8.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008351/2.785, allocations: 291 kB / 401.7 MB, free: 7.781 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/2.785, allocations: 8 kB / 401.7 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/2.785, allocations: 11.92 kB / 401.7 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/2.785, allocations: 8.406 kB / 401.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008773/2.786, allocations: 107.2 kB / 401.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/2.786, allocations: 11.94 kB / 401.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/2.787, allocations: 28.08 kB / 401.9 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/2.787, allocations: 23.23 kB / 401.9 MB, free: 7.594 MB / 330.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.0001542/2.787, allocations: 116.8 kB / 402 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/2.787, allocations: 27.22 kB / 402.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/2.787, allocations: 35.39 kB / 402.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/2.787, allocations: 4 kB / 402.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/2.787, allocations: 3.906 kB / 402.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/2.787, allocations: 4 kB / 402.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/2.789, allocations: 0.8651 MB / 403 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/2.789, allocations: 4 kB / 403 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/2.79, allocations: 91.06 kB / 403.1 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/2.79, allocations: 4 kB / 403.1 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/2.79, allocations: 11.62 kB / 403.1 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/2.79, allocations: 3.984 kB / 403.1 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-06/2.79, allocations: 4 kB / 403.1 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001204/2.792, allocations: 0.6796 MB / 403.8 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001479/2.793, allocations: 1.154 MB / 404.9 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/2.793, allocations: 115.7 kB / 405 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/2.793, allocations: 4 kB / 405 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/2.794, allocations: 23.98 kB / 405.1 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/2.794, allocations: 23.62 kB / 405.1 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/2.794, allocations: 11.94 kB / 405.1 MB, free: 4.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002141/2.795, allocations: 145.2 kB / 405.2 MB, free: 4.457 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001828/2.796, allocations: 64.3 kB / 405.3 MB, free: 4.395 MB / 330.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.0002301/2.797, allocations: 103.2 kB / 405.4 MB, free: 4.281 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006717/2.797, allocations: 196.4 kB / 405.6 MB, free: 4.137 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/2.797, allocations: 3.938 kB / 405.6 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/2.798, allocations: 98.3 kB / 405.7 MB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/2.798, allocations: 35.28 kB / 405.7 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/2.801, allocations: 0.6858 MB / 406.4 MB, free: 3.352 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007309/2.802, allocations: 0.8101 MB / 407.2 MB, free: 2.512 MB / 330.7 MB Notification: Performance of SimCode: time 1.363e-06/2.802, allocations: 4 kB / 407.2 MB, free: 2.508 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat