Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_FirstGrounded",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.712/1.712, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2019/1.914, allocations: 46.83 MB / 249.4 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08907/2.003, allocations: 44.5 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2837/2.287, allocations: 72.32 MB / 366.2 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/2.287, allocations: 64.52 kB / 366.3 MB, free: 7.051 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0157/2.303, allocations: 3.798 MB / 370.1 MB, free: 6.418 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/2.303, allocations: 7.75 kB / 370.1 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/2.303, allocations: 23.28 kB / 370.1 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/2.304, allocations: 240.5 kB / 370.4 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/2.304, allocations: 3.875 kB / 370.4 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/2.304, allocations: 11.66 kB / 370.4 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003175/2.304, allocations: 104.1 kB / 370.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/2.304, allocations: 174.4 kB / 370.6 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/2.304, allocations: 3.906 kB / 370.6 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/2.304, allocations: 0 / 370.6 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/2.304, allocations: 3.812 kB / 370.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/2.306, allocations: 0.6565 MB / 371.3 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/2.306, allocations: 95.12 kB / 371.4 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/2.306, allocations: 53.8 kB / 371.5 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/2.306, allocations: 7.875 kB / 371.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/2.306, allocations: 36.14 kB / 371.5 MB, free: 5.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 2.214e-06/2.306, allocations: 0 / 371.5 MB, free: 5.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.00175/2.308, allocations: 0.7434 MB / 372.2 MB, free: 5.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/2.308, allocations: 63.28 kB / 372.3 MB, free: 5.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/2.308, allocations: 144.7 kB / 372.4 MB, free: 21.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/2.308, allocations: 25.7 kB / 372.5 MB, free: 21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/2.308, allocations: 127.5 kB / 372.6 MB, free: 20.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/2.309, allocations: 89.16 kB / 372.7 MB, free: 20.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/2.309, allocations: 0 / 372.7 MB, free: 20.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/2.309, allocations: 330.3 kB / 373 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/2.309, allocations: 44.39 kB / 373 MB, free: 20.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/2.309, allocations: 92.25 kB / 373.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/2.309, allocations: 62.33 kB / 373.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/2.309, allocations: 0 / 373.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005645/2.31, allocations: 216.9 kB / 373.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/2.31, allocations: 3.875 kB / 373.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/2.31, allocations: 3.875 kB / 373.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/2.31, allocations: 32.53 kB / 373.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/2.311, allocations: 53.97 kB / 373.5 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/2.312, allocations: 1.315 MB / 374.8 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/2.312, allocations: 5.281 kB / 374.8 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/2.312, allocations: 18.67 kB / 374.8 MB, free: 19.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001165/2.313, allocations: 109.7 kB / 374.9 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/2.313, allocations: 15.75 kB / 375 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.845e-05/2.313, allocations: 22.91 kB / 375 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/2.313, allocations: 11.78 kB / 375 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/2.313, allocations: 0 / 375 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/2.313, allocations: 1.453 kB / 375 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/2.314, allocations: 0.5865 MB / 375.6 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/2.314, allocations: 1.359 kB / 375.6 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/2.315, allocations: 44.38 kB / 375.6 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/2.315, allocations: 39.81 kB / 375.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/2.315, allocations: 1.266 kB / 375.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/2.316, allocations: 1.327 MB / 377 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/2.316, allocations: 1.125 kB / 377 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000709/2.317, allocations: 392.8 kB / 377.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001014/2.318, allocations: 0.8117 MB / 378.2 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/2.318, allocations: 98.11 kB / 378.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/2.318, allocations: 3.906 kB / 378.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/2.319, allocations: 5.562 kB / 378.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/2.319, allocations: 9.781 kB / 378.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/2.319, allocations: 11.44 kB / 378.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001206/2.319, allocations: 116.4 kB / 378.4 MB, free: 16.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001435/2.32, allocations: 54.53 kB / 378.5 MB, free: 16.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.0001593/2.32, allocations: 100.2 kB / 378.6 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006241/2.321, allocations: 250.8 kB / 378.8 MB, free: 16.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/2.321, allocations: 0 / 378.8 MB, free: 16.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004006/2.321, allocations: 190.9 kB / 379 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/2.322, allocations: 32.12 kB / 379 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/2.323, allocations: 0.5248 MB / 379.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005086/2.324, allocations: 0.7723 MB / 380.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of SimCode: time 1.342e-06/2.324, allocations: 0 / 380.3 MB, free: 15.14 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat