Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_Damper",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.739/1.739, allocations: 194.9 MB / 202.6 MB, free: 14.26 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2259/1.965, allocations: 46.82 MB / 249.4 MB, free: 14.2 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/2.061, allocations: 44.51 MB / 293.9 MB, free: 1.609 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2757/2.337, allocations: 71.06 MB / 365 MB, free: 6.512 MB / 290.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/2.337, allocations: 62.97 kB / 365 MB, free: 6.512 MB / 290.8 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.01799/2.355, allocations: 4.208 MB / 369.2 MB, free: 5.641 MB / 290.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/2.355, allocations: 7.812 kB / 369.2 MB, free: 5.641 MB / 290.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.584e-05/2.355, allocations: 30.97 kB / 369.3 MB, free: 5.625 MB / 290.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/2.355, allocations: 227.2 kB / 369.5 MB, free: 5.395 MB / 290.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/2.355, allocations: 7.75 kB / 369.5 MB, free: 5.395 MB / 290.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/2.356, allocations: 22.22 kB / 369.5 MB, free: 5.391 MB / 290.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004466/2.356, allocations: 142.6 kB / 369.7 MB, free: 5.375 MB / 290.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/2.356, allocations: 202.8 kB / 369.9 MB, free: 5.285 MB / 290.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/2.357, allocations: 1.25 kB / 369.9 MB, free: 5.285 MB / 290.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/2.357, allocations: 5.156 kB / 369.9 MB, free: 5.281 MB / 290.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/2.357, allocations: 6.375 kB / 369.9 MB, free: 5.281 MB / 290.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/2.358, allocations: 0.7639 MB / 370.6 MB, free: 4.73 MB / 290.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/2.358, allocations: 200.4 kB / 370.8 MB, free: 4.672 MB / 290.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/2.359, allocations: 120.8 kB / 371 MB, free: 4.641 MB / 290.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/2.359, allocations: 15.09 kB / 371 MB, free: 4.633 MB / 290.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/2.359, allocations: 34.41 kB / 371 MB, free: 4.594 MB / 290.8 MB Notification: Performance of pre-optimization done (n=33): time 2.865e-06/2.359, allocations: 0 / 371 MB, free: 4.594 MB / 290.8 MB Notification: Performance of matching and sorting (n=45): time 0.002958/2.362, allocations: 1.736 MB / 372.7 MB, free: 3.152 MB / 290.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/2.362, allocations: 106.5 kB / 372.8 MB, free: 3.027 MB / 290.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/2.362, allocations: 144.2 kB / 373 MB, free: 2.926 MB / 290.8 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/2.362, allocations: 33.39 kB / 373 MB, free: 18.89 MB / 306.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/2.362, allocations: 127.4 kB / 373.1 MB, free: 18.77 MB / 306.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/2.362, allocations: 153.4 kB / 373.3 MB, free: 18.66 MB / 306.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/2.362, allocations: 0 / 373.3 MB, free: 18.66 MB / 306.8 MB Notification: Performance of setup shared object (initialization): time 0.0001752/2.363, allocations: 336.3 kB / 373.6 MB, free: 18.34 MB / 306.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/2.363, allocations: 77.97 kB / 373.7 MB, free: 18.34 MB / 306.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/2.363, allocations: 139.8 kB / 373.8 MB, free: 18.27 MB / 306.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/2.364, allocations: 103.9 kB / 373.9 MB, free: 18.25 MB / 306.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.364, allocations: 0 / 373.9 MB, free: 18.25 MB / 306.8 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008192/2.364, allocations: 292.4 kB / 374.2 MB, free: 18.18 MB / 306.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/2.364, allocations: 5.156 kB / 374.2 MB, free: 18.18 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/2.364, allocations: 5.328 kB / 374.2 MB, free: 18.17 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/2.364, allocations: 7.969 kB / 374.2 MB, free: 18.17 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008208/2.365, allocations: 89.41 kB / 374.3 MB, free: 18.16 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/2.365, allocations: 3.906 kB / 374.3 MB, free: 18.16 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/2.366, allocations: 1.312 kB / 374.3 MB, free: 18.16 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/2.366, allocations: 15.5 kB / 374.3 MB, free: 18.16 MB / 306.8 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.0001444/2.366, allocations: 121.8 kB / 374.5 MB, free: 18.03 MB / 306.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/2.366, allocations: 24.91 kB / 374.5 MB, free: 18.02 MB / 306.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/2.366, allocations: 32.03 kB / 374.5 MB, free: 18.02 MB / 306.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/2.366, allocations: 7 kB / 374.5 MB, free: 18.02 MB / 306.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/2.366, allocations: 4 kB / 374.5 MB, free: 18.01 MB / 306.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/2.366, allocations: 5.203 kB / 374.5 MB, free: 18.01 MB / 306.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/2.368, allocations: 0.9635 MB / 375.5 MB, free: 17.37 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/2.368, allocations: 6.625 kB / 375.5 MB, free: 17.36 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008802/2.369, allocations: 92.14 kB / 375.6 MB, free: 17.35 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/2.369, allocations: 5.094 kB / 375.6 MB, free: 17.35 MB / 306.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/2.369, allocations: 9 kB / 375.6 MB, free: 17.34 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/2.369, allocations: 7.531 kB / 375.6 MB, free: 17.34 MB / 306.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.369, allocations: 3.656 kB / 375.6 MB, free: 17.34 MB / 306.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001182/2.371, allocations: 0.7977 MB / 376.4 MB, free: 16.74 MB / 306.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0016/2.372, allocations: 1.28 MB / 377.7 MB, free: 15.78 MB / 306.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/2.372, allocations: 102.2 kB / 377.8 MB, free: 15.67 MB / 306.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/2.372, allocations: 8.469 kB / 377.8 MB, free: 15.66 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/2.373, allocations: 6.344 kB / 377.8 MB, free: 15.66 MB / 306.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/2.373, allocations: 27.09 kB / 377.8 MB, free: 15.65 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/2.373, allocations: 11.88 kB / 377.8 MB, free: 15.65 MB / 306.8 MB Notification: Performance of sort global known variables: time 0.000139/2.373, allocations: 112.8 kB / 378 MB, free: 15.57 MB / 306.8 MB Notification: Performance of remove unused functions: time 0.001751/2.375, allocations: 61.42 kB / 378 MB, free: 15.57 MB / 306.8 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.0002058/2.375, allocations: 110.4 kB / 378.1 MB, free: 15.47 MB / 306.8 MB Notification: Performance of simCode: created initialization part: time 0.0007362/2.376, allocations: 248.8 kB / 378.4 MB, free: 15.44 MB / 306.8 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/2.376, allocations: 1.094 kB / 378.4 MB, free: 15.44 MB / 306.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/2.376, allocations: 124.9 kB / 378.5 MB, free: 15.43 MB / 306.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008724/2.377, allocations: 49.39 kB / 378.5 MB, free: 15.42 MB / 306.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/2.379, allocations: 0.7647 MB / 379.3 MB, free: 14.84 MB / 306.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/2.38, allocations: 0.8114 MB / 380.1 MB, free: 14.09 MB / 306.8 MB Notification: Performance of SimCode: time 1.052e-06/2.38, allocations: 288 / 380.1 MB, free: 14.09 MB / 306.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat