Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_First",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.663/1.663, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2851/1.948, allocations: 46.83 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/2.037, allocations: 44.51 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2697/2.307, allocations: 72.32 MB / 366.2 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/2.307, allocations: 64.83 kB / 366.2 MB, free: 7.195 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0161/2.324, allocations: 3.966 MB / 370.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/2.324, allocations: 7.812 kB / 370.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.837e-05/2.324, allocations: 27.25 kB / 370.2 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/2.324, allocations: 229.9 kB / 370.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/2.324, allocations: 7.844 kB / 370.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/2.324, allocations: 14.19 kB / 370.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003578/2.324, allocations: 118 kB / 370.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/2.325, allocations: 152 kB / 370.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/2.325, allocations: 0 / 370.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/2.325, allocations: 7.812 kB / 370.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/2.325, allocations: 5.516 kB / 370.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/2.326, allocations: 0.5647 MB / 371.3 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/2.327, allocations: 114.2 kB / 371.4 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/2.327, allocations: 99.81 kB / 371.5 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/2.327, allocations: 1.094 kB / 371.5 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/2.327, allocations: 42.34 kB / 371.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.925e-06/2.327, allocations: 3.938 kB / 371.6 MB, free: 5.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002245/2.329, allocations: 0.8949 MB / 372.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/2.329, allocations: 62.47 kB / 372.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/2.329, allocations: 137.1 kB / 372.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/2.329, allocations: 29.58 kB / 372.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/2.329, allocations: 127.6 kB / 372.8 MB, free: 21.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/2.33, allocations: 110.3 kB / 372.9 MB, free: 21.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/2.33, allocations: 0 / 372.9 MB, free: 21.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/2.33, allocations: 331.8 kB / 373.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/2.33, allocations: 57.22 kB / 373.3 MB, free: 20.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/2.33, allocations: 92.58 kB / 373.4 MB, free: 20.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/2.33, allocations: 71.16 kB / 373.5 MB, free: 20.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/2.33, allocations: 0 / 373.5 MB, free: 20.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006863/2.331, allocations: 256.9 kB / 373.7 MB, free: 20.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/2.331, allocations: 3.906 kB / 373.7 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/2.331, allocations: 4.062 kB / 373.7 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/2.331, allocations: 41.28 kB / 373.8 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/2.332, allocations: 61.84 kB / 373.8 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/2.334, allocations: 1.485 MB / 375.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/2.334, allocations: 5.172 kB / 375.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/2.334, allocations: 10.81 kB / 375.3 MB, free: 19.31 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001299/2.334, allocations: 116.9 kB / 375.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/2.334, allocations: 20.88 kB / 375.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.363e-05/2.334, allocations: 31.98 kB / 375.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/2.334, allocations: 3.875 kB / 375.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/2.335, allocations: 192 / 375.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/2.335, allocations: 1.828 kB / 375.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/2.336, allocations: 0.7068 MB / 376.2 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/2.336, allocations: 3.812 kB / 376.2 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/2.337, allocations: 59.59 kB / 376.3 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/2.337, allocations: 37.25 kB / 376.3 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/2.337, allocations: 4.859 kB / 376.3 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/2.338, allocations: 1.32 MB / 377.6 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/2.338, allocations: 0 / 377.6 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008955/2.339, allocations: 473 kB / 378.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001164/2.341, allocations: 0.9227 MB / 379 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.966e-05/2.341, allocations: 90.55 kB / 379.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/2.341, allocations: 3.844 kB / 379.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/2.341, allocations: 13.05 kB / 379.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/2.341, allocations: 22.23 kB / 379.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/2.341, allocations: 5.188 kB / 379.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001241/2.341, allocations: 115.4 kB / 379.2 MB, free: 16.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001366/2.343, allocations: 57.75 kB / 379.3 MB, free: 16.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * 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: 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.0002403/2.343, allocations: 111.6 kB / 379.4 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000809/2.344, allocations: 298.6 kB / 379.7 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/2.344, allocations: 0 / 379.7 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/2.344, allocations: 209.3 kB / 379.9 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/2.345, allocations: 27.81 kB / 379.9 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/2.346, allocations: 0.5722 MB / 380.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/2.347, allocations: 0.7861 MB / 381.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/2.347, allocations: 0 / 381.3 MB, free: 15.16 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat