Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_ElasticBearing",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(Modelica): time 1.727/1.727, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.245/1.972, allocations: 46.82 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/2.065, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2834/2.349, allocations: 72.66 MB / 366.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/2.349, allocations: 74.38 kB / 366.6 MB, free: 7.129 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.01873/2.368, allocations: 4.267 MB / 370.9 MB, free: 6.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/2.368, allocations: 7.75 kB / 370.9 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.212e-05/2.368, allocations: 31.19 kB / 370.9 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/2.368, allocations: 234.1 kB / 371.2 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/2.368, allocations: 7.844 kB / 371.2 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/2.368, allocations: 19.47 kB / 371.2 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004589/2.369, allocations: 142.5 kB / 371.3 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/2.369, allocations: 163.2 kB / 371.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/2.369, allocations: 13.09 kB / 371.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/2.37, allocations: 3.938 kB / 371.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/2.37, allocations: 3.938 kB / 371.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/2.371, allocations: 0.6888 MB / 372.2 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/2.372, allocations: 125.3 kB / 372.3 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/2.372, allocations: 91.89 kB / 372.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/2.372, allocations: 7.859 kB / 372.4 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/2.372, allocations: 35.7 kB / 372.5 MB, free: 5.758 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 3.326e-06/2.372, allocations: 0 / 372.5 MB, free: 5.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001625/2.374, allocations: 0.7674 MB / 373.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/2.374, allocations: 55.25 kB / 373.3 MB, free: 5.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/2.374, allocations: 129.3 kB / 373.4 MB, free: 5.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/2.374, allocations: 25.7 kB / 373.4 MB, free: 5.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/2.374, allocations: 133 kB / 373.6 MB, free: 20.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/2.374, allocations: 102.6 kB / 373.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/2.374, allocations: 0 / 373.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/2.374, allocations: 334.2 kB / 374 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/2.374, allocations: 54.19 kB / 374 MB, free: 20.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/2.375, allocations: 88.92 kB / 374.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/2.375, allocations: 72.67 kB / 374.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/2.375, allocations: 0 / 374.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005316/2.375, allocations: 206.8 kB / 374.4 MB, free: 20.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/2.375, allocations: 7.812 kB / 374.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/2.375, allocations: 0 / 374.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/2.376, allocations: 7.812 kB / 374.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/2.376, allocations: 82.28 kB / 374.5 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/2.376, allocations: 3.781 kB / 374.5 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/2.377, allocations: 14.77 kB / 374.5 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/2.377, allocations: 7.5 kB / 374.5 MB, free: 20.47 MB / 314.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 (35): * Single equations (assignments): 35 * 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.000134/2.377, allocations: 112.5 kB / 374.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/2.377, allocations: 19.5 kB / 374.7 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/2.377, allocations: 23.94 kB / 374.7 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/2.377, allocations: 3.875 kB / 374.7 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/2.377, allocations: 3.906 kB / 374.7 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/2.377, allocations: 5.125 kB / 374.7 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/2.378, allocations: 0.5505 MB / 375.2 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/2.378, allocations: 0 / 375.2 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007747/2.379, allocations: 84.95 kB / 375.3 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/2.379, allocations: 0 / 375.3 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/2.379, allocations: 7.781 kB / 375.3 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/2.379, allocations: 4.75 kB / 375.3 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/2.379, allocations: 0 / 375.3 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007675/2.38, allocations: 409.5 kB / 375.7 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001013/2.381, allocations: 0.8451 MB / 376.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.3e-05/2.381, allocations: 89.73 kB / 376.7 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/2.381, allocations: 7.812 kB / 376.7 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/2.381, allocations: 11.17 kB / 376.7 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/2.382, allocations: 16.47 kB / 376.7 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/2.382, allocations: 11.48 kB / 376.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001057/2.382, allocations: 101.1 kB / 376.8 MB, free: 19.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001437/2.383, allocations: 55.47 kB / 376.9 MB, free: 19.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0002074/2.383, allocations: 100.6 kB / 377 MB, free: 18.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005018/2.384, allocations: 163.6 kB / 377.1 MB, free: 18.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.384, allocations: 0 / 377.1 MB, free: 18.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/2.384, allocations: 87.2 kB / 377.2 MB, free: 18.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/2.385, allocations: 32.22 kB / 377.2 MB, free: 18.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/2.387, allocations: 0.6656 MB / 377.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/2.387, allocations: 0.7958 MB / 378.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.282e-06/2.387, allocations: 0 / 378.7 MB, free: 17.82 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat