Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Translational_AllComponents",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(ModelicaTest): time 2.074/2.074, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2632/2.337, allocations: 51.01 MB / 267.3 MB, free: 5.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/2.477, allocations: 48.69 MB / 316 MB, free: 4.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3569/2.834, allocations: 77.8 MB / 393.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/2.834, allocations: 68.66 kB / 393.8 MB, free: 14.99 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.07823/2.912, allocations: 11.86 MB / 405.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/2.912, allocations: 8 kB / 405.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/2.913, allocations: 79.06 kB / 405.8 MB, free: 5.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007887/2.913, allocations: 370.9 kB / 406.1 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/2.913, allocations: 20 kB / 406.2 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/2.914, allocations: 39.19 kB / 406.2 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001443/2.915, allocations: 429.2 kB / 406.6 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/2.917, allocations: 499.8 kB / 407.1 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.494e-05/2.917, allocations: 3.906 kB / 407.1 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.67e-05/2.917, allocations: 4 kB / 407.1 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/2.917, allocations: 12 kB / 407.1 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005602/2.922, allocations: 1.969 MB / 409.1 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/2.924, allocations: 436.7 kB / 409.5 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007996/2.925, allocations: 269.6 kB / 409.8 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-05/2.925, allocations: 16.38 kB / 409.8 MB, free: 1.633 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/2.925, allocations: 43.88 kB / 409.9 MB, free: 1.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 3.406e-06/2.925, allocations: 0 / 409.9 MB, free: 1.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.01042/2.936, allocations: 3.573 MB / 413.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/2.936, allocations: 170.8 kB / 413.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/2.937, allocations: 304.5 kB / 413.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002908/2.937, allocations: 30.39 kB / 413.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/2.938, allocations: 219.9 kB / 414.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008328/2.938, allocations: 399.6 kB / 414.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/2.939, allocations: 0 / 414.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004327/2.939, allocations: 376.6 kB / 414.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/2.941, allocations: 254.1 kB / 415.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/2.943, allocations: 440.5 kB / 415.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/2.945, allocations: 323.7 kB / 415.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/2.945, allocations: 4 kB / 415.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004067/2.949, allocations: 0.8274 MB / 416.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/2.949, allocations: 8 kB / 416.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/2.949, allocations: 7.906 kB / 416.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.572e-05/2.949, allocations: 12.44 kB / 416.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/2.953, allocations: 307.7 kB / 417 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.176e-05/2.953, allocations: 11.94 kB / 417.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/2.955, allocations: 39.97 kB / 417.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/2.955, allocations: 47.98 kB / 417.1 MB, free: 10.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0004257/2.955, allocations: 120.7 kB / 417.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000555/2.956, allocations: 75.16 kB / 417.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/2.958, allocations: 271.3 kB / 417.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.068e-05/2.958, allocations: 12 kB / 417.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/2.958, allocations: 4 kB / 417.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.854e-05/2.958, allocations: 3.984 kB / 417.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008263/2.966, allocations: 2.158 MB / 419.8 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/2.966, allocations: 7.984 kB / 419.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002896/2.969, allocations: 267.9 kB / 420 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.98e-05/2.969, allocations: 8 kB / 420.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/2.969, allocations: 11.98 kB / 420.1 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-05/2.969, allocations: 7.938 kB / 420.1 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/2.969, allocations: 8 kB / 420.1 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003631/2.973, allocations: 1.73 MB / 421.8 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005116/2.978, allocations: 2.487 MB / 424.3 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005716/2.979, allocations: 208.2 kB / 424.5 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/2.979, allocations: 15.84 kB / 424.5 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/2.98, allocations: 35.97 kB / 424.6 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/2.981, allocations: 76.48 kB / 424.6 MB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/2.981, allocations: 36.17 kB / 424.7 MB, free: 2.809 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0004288/2.981, allocations: 235.2 kB / 424.9 MB, free: 2.582 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002543/2.984, allocations: 175.8 kB / 425.1 MB, free: 2.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.0004867/2.984, allocations: 135 kB / 425.2 MB, free: 2.266 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00278/2.987, allocations: 0.7198 MB / 425.9 MB, free: 1.547 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/2.987, allocations: 7.938 kB / 425.9 MB, free: 1.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/2.989, allocations: 435.1 kB / 426.3 MB, free: 1.113 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/2.991, allocations: 89.42 kB / 426.4 MB, free: 1.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007097/2.998, allocations: 1.909 MB / 428.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/3, allocations: 1.069 MB / 429.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/3, allocations: 8 kB / 429.4 MB, free: 13.95 MB / 362.7 MB