Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_RollingWheel",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(Modelica): time 1.795/1.795, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2526/2.048, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/2.169, allocations: 38.76 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3236/2.492, allocations: 67.41 MB / 325.4 MB, free: 4.703 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/2.493, allocations: 63.16 kB / 325.5 MB, free: 4.672 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.01672/2.509, allocations: 3.124 MB / 328.6 MB, free: 2.043 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/2.51, allocations: 14.52 kB / 328.6 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/2.51, allocations: 19.72 kB / 328.6 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/2.51, allocations: 218.4 kB / 328.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/2.51, allocations: 8 kB / 328.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/2.51, allocations: 8 kB / 328.9 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005105/2.511, allocations: 82.17 kB / 328.9 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/2.511, allocations: 119.4 kB / 329.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/2.511, allocations: 7.906 kB / 329.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/2.511, allocations: 0 / 329.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/2.511, allocations: 4 kB / 329.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/2.513, allocations: 0.5536 MB / 329.6 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/2.514, allocations: 84.77 kB / 329.7 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/2.514, allocations: 30.98 kB / 329.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/2.514, allocations: 3.938 kB / 329.7 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/2.514, allocations: 34.56 kB / 329.8 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 4.058e-06/2.514, allocations: 0 / 329.8 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.002782/2.517, allocations: 0.689 MB / 330.5 MB, free: 252 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/2.517, allocations: 51.41 kB / 330.5 MB, free: 188 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/2.517, allocations: 123.8 kB / 330.6 MB, free: 68 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/2.517, allocations: 25.7 kB / 330.7 MB, free: 36 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/2.517, allocations: 131.3 kB / 330.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/2.518, allocations: 58.11 kB / 330.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/2.518, allocations: 224 / 330.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002179/2.518, allocations: 330.2 kB / 331.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/2.518, allocations: 34.81 kB / 331.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/2.518, allocations: 66.67 kB / 331.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/2.518, allocations: 45.8 kB / 331.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-05/2.519, allocations: 0 / 331.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008162/2.519, allocations: 171.2 kB / 331.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/2.52, allocations: 4 kB / 331.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/2.52, allocations: 7.938 kB / 331.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/2.52, allocations: 35.34 kB / 331.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/2.52, allocations: 44.03 kB / 331.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/2.523, allocations: 1.35 MB / 332.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/2.524, allocations: 4 kB / 332.9 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/2.524, allocations: 7.984 kB / 332.9 MB, free: 13.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001684/2.524, allocations: 108.2 kB / 333 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/2.524, allocations: 11.81 kB / 333 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/2.524, allocations: 19.97 kB / 333.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/2.524, allocations: 0 / 333.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/2.524, allocations: 8.062 kB / 333.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/2.524, allocations: 0 / 333.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/2.526, allocations: 0.5303 MB / 333.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/2.526, allocations: 4 kB / 333.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/2.526, allocations: 35.97 kB / 333.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003066/2.527, allocations: 28.66 kB / 333.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/2.527, allocations: 3.875 kB / 333.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/2.529, allocations: 1.297 MB / 335 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/2.529, allocations: 3.906 kB / 335 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009679/2.53, allocations: 306.9 kB / 335.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001362/2.532, allocations: 0.7217 MB / 336 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/2.532, allocations: 89.23 kB / 336.1 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/2.532, allocations: 0 / 336.1 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/2.532, allocations: 4 kB / 336.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/2.532, allocations: 11.92 kB / 336.1 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/2.532, allocations: 15.64 kB / 336.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001498/2.532, allocations: 97.52 kB / 336.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002245/2.535, allocations: 47.84 kB / 336.3 MB, free: 10.54 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002829/2.535, allocations: 107 kB / 336.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009481/2.536, allocations: 205.3 kB / 336.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/2.536, allocations: 0 / 336.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005356/2.537, allocations: 169 kB / 336.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/2.537, allocations: 16.23 kB / 336.7 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/2.539, allocations: 345.8 kB / 337.1 MB, free: 9.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006976/2.54, allocations: 0.7534 MB / 337.8 MB, free: 8.957 MB / 282.7 MB Notification: Performance of SimCode: time 1.563e-06/2.54, allocations: 0 / 337.8 MB, free: 8.957 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat