Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_ElastoGap",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.652/1.652, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2033/1.855, allocations: 46.83 MB / 249.3 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/1.943, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2629/2.206, allocations: 71.26 MB / 365.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/2.206, allocations: 59.47 kB / 365.2 MB, free: 7.078 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.02322/2.229, allocations: 5.861 MB / 371 MB, free: 6.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/2.229, allocations: 11.62 kB / 371 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.687e-05/2.23, allocations: 34.81 kB / 371.1 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/2.23, allocations: 256.8 kB / 371.3 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/2.23, allocations: 7.844 kB / 371.3 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/2.23, allocations: 20.17 kB / 371.3 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005756/2.231, allocations: 206 kB / 371.5 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/2.231, allocations: 213.4 kB / 371.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/2.231, allocations: 3.938 kB / 371.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/2.231, allocations: 0 / 371.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/2.231, allocations: 11.44 kB / 371.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/2.233, allocations: 0.7483 MB / 372.5 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/2.233, allocations: 181.1 kB / 372.7 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/2.234, allocations: 166.4 kB / 372.9 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/2.234, allocations: 4.625 kB / 372.9 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/2.234, allocations: 36.59 kB / 372.9 MB, free: 5.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 3.106e-06/2.234, allocations: 0 / 372.9 MB, free: 5.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.003814/2.238, allocations: 1.481 MB / 374.4 MB, free: 5.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/2.238, allocations: 60.55 kB / 374.4 MB, free: 4.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/2.238, allocations: 153.1 kB / 374.6 MB, free: 4.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/2.238, allocations: 29.58 kB / 374.6 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/2.238, allocations: 134.9 kB / 374.8 MB, free: 4.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/2.238, allocations: 206 kB / 375 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/2.238, allocations: 0 / 375 MB, free: 4.578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002033/2.239, allocations: 342.8 kB / 375.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/2.239, allocations: 129.2 kB / 375.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/2.239, allocations: 128 kB / 375.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/2.24, allocations: 155.9 kB / 375.7 MB, free: 20.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/2.24, allocations: 0 / 375.7 MB, free: 20.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009512/2.241, allocations: 409.9 kB / 376.1 MB, free: 20.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/2.241, allocations: 9.625 kB / 376.1 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/2.241, allocations: 0.6094 kB / 376.1 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/2.241, allocations: 0 / 376.1 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/2.242, allocations: 129 kB / 376.2 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/2.242, allocations: 4.766 kB / 376.2 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/2.242, allocations: 16.03 kB / 376.2 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/2.242, allocations: 16.09 kB / 376.3 MB, free: 20.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001551/2.242, allocations: 124.7 kB / 376.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/2.242, allocations: 34.94 kB / 376.4 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/2.243, allocations: 36.62 kB / 376.5 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/2.243, allocations: 7.75 kB / 376.5 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/2.243, allocations: 0 / 376.5 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/2.243, allocations: 3.703 kB / 376.5 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/2.245, allocations: 1.166 MB / 377.6 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/2.245, allocations: 3.875 kB / 377.6 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/2.246, allocations: 130.6 kB / 377.8 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/2.246, allocations: 7.75 kB / 377.8 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/2.246, allocations: 9.703 kB / 377.8 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/2.246, allocations: 8.094 kB / 377.8 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/2.246, allocations: 12.67 kB / 377.8 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001437/2.248, allocations: 0.9914 MB / 378.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002014/2.25, allocations: 1.531 MB / 380.3 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/2.25, allocations: 117.4 kB / 380.4 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/2.25, allocations: 5.25 kB / 380.4 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/2.251, allocations: 23.88 kB / 380.5 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/2.251, allocations: 54.16 kB / 380.5 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/2.251, allocations: 20.89 kB / 380.5 MB, free: 17.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001435/2.251, allocations: 131.2 kB / 380.7 MB, free: 17.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00148/2.252, allocations: 73.97 kB / 380.7 MB, free: 17.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.0002005/2.253, allocations: 119.4 kB / 380.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008249/2.253, allocations: 367.1 kB / 381.2 MB, free: 17.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/2.253, allocations: 0 / 381.2 MB, free: 17.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004709/2.254, allocations: 218.4 kB / 381.4 MB, free: 17.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/2.255, allocations: 60.03 kB / 381.5 MB, free: 17.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/2.257, allocations: 0.7884 MB / 382.3 MB, free: 17.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007444/2.258, allocations: 0.8493 MB / 383.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/2.258, allocations: 0 / 383.1 MB, free: 16.3 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat does not exist to compare? outputFormat=mat