Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Damper",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.642/1.642, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2223/1.864, allocations: 46.83 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/1.955, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3022/2.257, allocations: 71.07 MB / 364.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/2.258, allocations: 63.33 kB / 365 MB, free: 7.09 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.01812/2.276, allocations: 4.205 MB / 369.2 MB, free: 6.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/2.276, allocations: 7.812 kB / 369.2 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/2.276, allocations: 31.19 kB / 369.2 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/2.276, allocations: 231.3 kB / 369.4 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/2.276, allocations: 11.75 kB / 369.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/2.276, allocations: 23.16 kB / 369.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004022/2.277, allocations: 137.7 kB / 369.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/2.277, allocations: 198.5 kB / 369.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/2.277, allocations: 1.594 kB / 369.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/2.277, allocations: 7.812 kB / 369.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/2.277, allocations: 3.875 kB / 369.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/2.279, allocations: 0.7606 MB / 370.6 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/2.279, allocations: 205.6 kB / 370.8 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/2.279, allocations: 125.3 kB / 370.9 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/2.279, allocations: 3.906 kB / 370.9 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/2.279, allocations: 33.88 kB / 370.9 MB, free: 5.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 3.256e-06/2.279, allocations: 0 / 370.9 MB, free: 5.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.003027/2.282, allocations: 1.733 MB / 372.7 MB, free: 20.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/2.283, allocations: 114.7 kB / 372.8 MB, free: 20.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/2.283, allocations: 140.3 kB / 372.9 MB, free: 19.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/2.283, allocations: 25.7 kB / 372.9 MB, free: 19.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/2.283, allocations: 130.7 kB / 373.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/2.283, allocations: 152.8 kB / 373.2 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/2.283, allocations: 3.656 kB / 373.2 MB, free: 19.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/2.283, allocations: 331.7 kB / 373.5 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/2.283, allocations: 78.53 kB / 373.6 MB, free: 19.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/2.284, allocations: 146.5 kB / 373.8 MB, free: 19.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/2.284, allocations: 101.1 kB / 373.9 MB, free: 19.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/2.284, allocations: 0 / 373.9 MB, free: 19.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007032/2.285, allocations: 302.5 kB / 374.2 MB, free: 19.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/2.285, allocations: 3.875 kB / 374.2 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/2.285, allocations: 3.875 kB / 374.2 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/2.285, allocations: 4.531 kB / 374.2 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/2.286, allocations: 90.83 kB / 374.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/2.286, allocations: 9.359 kB / 374.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/2.286, allocations: 3.844 kB / 374.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/2.286, allocations: 11.09 kB / 374.3 MB, free: 19.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001327/2.286, allocations: 124.1 kB / 374.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/2.286, allocations: 23.22 kB / 374.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/2.286, allocations: 38 kB / 374.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/2.286, allocations: 7.688 kB / 374.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/2.286, allocations: 0 / 374.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/2.286, allocations: 3 kB / 374.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/2.288, allocations: 0.9634 MB / 375.4 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/2.288, allocations: 3.906 kB / 375.4 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007694/2.289, allocations: 90.62 kB / 375.5 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/2.289, allocations: 3.75 kB / 375.5 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/2.289, allocations: 11.78 kB / 375.5 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/2.289, allocations: 9.328 kB / 375.6 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/2.289, allocations: 4.219 kB / 375.6 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009916/2.29, allocations: 0.7974 MB / 376.4 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001349/2.291, allocations: 1.287 MB / 377.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/2.292, allocations: 98.22 kB / 377.7 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/2.292, allocations: 11.92 kB / 377.7 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/2.292, allocations: 3.844 kB / 377.8 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/2.292, allocations: 23.5 kB / 377.8 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/2.292, allocations: 18.62 kB / 377.8 MB, free: 16.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001459/2.292, allocations: 115.1 kB / 377.9 MB, free: 16.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00142/2.294, allocations: 59.83 kB / 378 MB, free: 16.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.0001791/2.294, allocations: 102.6 kB / 378.1 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005788/2.294, allocations: 248.7 kB / 378.3 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.294, allocations: 0 / 378.3 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/2.295, allocations: 128.2 kB / 378.4 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/2.295, allocations: 47.44 kB / 378.5 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/2.297, allocations: 0.7607 MB / 379.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/2.298, allocations: 0.8115 MB / 380.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/2.298, allocations: 0 / 380.1 MB, free: 15.49 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat