Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_TestBraking",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.495/2.495, allocations: 235 MB / 241.9 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1936/2.689, allocations: 57.2 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/3.018, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/3.211, allocations: 81.75 MB / 435.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/3.211, allocations: 67.91 kB / 435.8 MB, free: 11.51 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0283/3.239, allocations: 4.252 MB / 440 MB, free: 7.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/3.239, allocations: 8 kB / 440 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/3.24, allocations: 31.56 kB / 440.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/3.24, allocations: 231.2 kB / 440.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/3.24, allocations: 4 kB / 440.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/3.24, allocations: 23.91 kB / 440.3 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006432/3.241, allocations: 92.84 kB / 440.4 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/3.242, allocations: 189.9 kB / 440.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.887e-05/3.242, allocations: 7.938 kB / 440.6 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/3.242, allocations: 0 / 440.6 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/3.242, allocations: 4 kB / 440.6 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003107/3.245, allocations: 0.9786 MB / 441.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/3.246, allocations: 150.6 kB / 441.7 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/3.246, allocations: 47.41 kB / 441.8 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/3.246, allocations: 4 kB / 441.8 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/3.246, allocations: 46.59 kB / 441.8 MB, free: 5.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 5.371e-06/3.246, allocations: 3.938 kB / 441.8 MB, free: 5.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006245/3.247, allocations: 101.4 kB / 441.9 MB, free: 5.098 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/3.247, allocations: 136.5 kB / 442.1 MB, free: 4.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/3.247, allocations: 141.6 kB / 442.2 MB, free: 4.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/3.247, allocations: 29.64 kB / 442.2 MB, free: 4.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/3.247, allocations: 151.9 kB / 442.4 MB, free: 4.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.27e-05/3.247, allocations: 63.14 kB / 442.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/3.247, allocations: 0 / 442.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/3.248, allocations: 330.8 kB / 442.8 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/3.248, allocations: 36 kB / 442.8 MB, free: 4.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/3.248, allocations: 146.6 kB / 442.9 MB, free: 3.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/3.249, allocations: 59.91 kB / 443 MB, free: 3.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/3.249, allocations: 0 / 443 MB, free: 3.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008098/3.249, allocations: 201.2 kB / 443.2 MB, free: 3.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/3.249, allocations: 7.938 kB / 443.2 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/3.249, allocations: 4 kB / 443.2 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.669e-05/3.25, allocations: 8 kB / 443.2 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/3.25, allocations: 63.91 kB / 443.3 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/3.25, allocations: 7.984 kB / 443.3 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/3.251, allocations: 19.75 kB / 443.3 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/3.251, allocations: 8 kB / 443.3 MB, free: 3.594 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001741/3.251, allocations: 121.9 kB / 443.4 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/3.251, allocations: 15.81 kB / 443.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/3.251, allocations: 74.64 kB / 443.5 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/3.251, allocations: 0 / 443.5 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/3.252, allocations: 4 kB / 443.5 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/3.252, allocations: 0 / 443.5 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/3.253, allocations: 218 kB / 443.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/3.253, allocations: 7.938 kB / 443.8 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008112/3.253, allocations: 51.97 kB / 443.8 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/3.254, allocations: 0 / 443.8 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/3.254, allocations: 4 kB / 443.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/3.254, allocations: 3.938 kB / 443.8 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/3.254, allocations: 0 / 443.8 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008254/3.254, allocations: 0.5035 MB / 444.3 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001036/3.256, allocations: 0.9064 MB / 445.2 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/3.256, allocations: 93.14 kB / 445.3 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.135e-05/3.256, allocations: 8 kB / 445.3 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/3.256, allocations: 3.906 kB / 445.3 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/3.256, allocations: 15.98 kB / 445.3 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/3.257, allocations: 4 kB / 445.3 MB, free: 1.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001994/3.257, allocations: 124.8 kB / 445.5 MB, free: 1.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002491/3.259, allocations: 51.84 kB / 445.5 MB, free: 1.254 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0002923/3.26, allocations: 103.7 kB / 445.6 MB, free: 1.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005659/3.26, allocations: 104.6 kB / 445.7 MB, free: 1.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/3.26, allocations: 4 kB / 445.7 MB, free: 1.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/3.26, allocations: 41.05 kB / 445.8 MB, free: 1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/3.262, allocations: 48.27 kB / 445.8 MB, free: 0.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/3.264, allocations: 0.7057 MB / 446.5 MB, free: 216 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1796/3.444, allocations: 0.7771 MB / 447.3 MB, free: 130.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.844e-06/3.444, allocations: 0 / 447.3 MB, free: 130.8 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking_res.mat does not exist to compare? outputFormat=mat