Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Translational_AllComponents",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(ModelicaTest): time 2.577/2.577, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2087/2.785, allocations: 57.19 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/3.105, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2298/3.335, allocations: 83.94 MB / 438 MB, free: 9.336 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/3.335, allocations: 67.91 kB / 438.1 MB, free: 9.27 MB / 378.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.3376/3.673, allocations: 11.77 MB / 449.8 MB, free: 83.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/3.673, allocations: 13.08 kB / 449.9 MB, free: 83.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/3.673, allocations: 79.47 kB / 449.9 MB, free: 82.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/3.675, allocations: 365.1 kB / 450.3 MB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.098e-05/3.675, allocations: 18.66 kB / 450.3 MB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/3.675, allocations: 40.12 kB / 450.4 MB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00218/3.677, allocations: 419.7 kB / 450.8 MB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/3.68, allocations: 495.6 kB / 451.2 MB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-05/3.68, allocations: 13.62 kB / 451.3 MB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/3.68, allocations: 2.625 kB / 451.3 MB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/3.68, allocations: 18.38 kB / 451.3 MB, free: 82.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009244/3.689, allocations: 1.959 MB / 453.2 MB, free: 81.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/3.691, allocations: 450.5 kB / 453.7 MB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/3.693, allocations: 265.6 kB / 453.9 MB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003002/3.693, allocations: 91.72 kB / 454 MB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/3.693, allocations: 46.25 kB / 454.1 MB, free: 81.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 7.514e-06/3.693, allocations: 0 / 454.1 MB, free: 81.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.01575/3.709, allocations: 3.561 MB / 457.6 MB, free: 79.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/3.709, allocations: 169.1 kB / 457.8 MB, free: 79.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008329/3.71, allocations: 299.3 kB / 458.1 MB, free: 78.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002019/3.71, allocations: 26.67 kB / 458.1 MB, free: 78.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/3.71, allocations: 215.9 kB / 458.3 MB, free: 78.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000584/3.711, allocations: 393 kB / 458.7 MB, free: 78.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/3.711, allocations: 0 / 458.7 MB, free: 78.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002075/3.711, allocations: 379.5 kB / 459.1 MB, free: 78.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/3.713, allocations: 248 kB / 459.3 MB, free: 77.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/3.714, allocations: 435.5 kB / 459.8 MB, free: 77.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/3.716, allocations: 307.4 kB / 460.1 MB, free: 77.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/3.716, allocations: 6.156 kB / 460.1 MB, free: 77.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004522/3.721, allocations: 0.8099 MB / 460.9 MB, free: 77.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/3.721, allocations: 8.406 kB / 460.9 MB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.484e-05/3.721, allocations: 12.28 kB / 460.9 MB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.752e-05/3.721, allocations: 14.12 kB / 460.9 MB, free: 77.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004444/3.725, allocations: 302.8 kB / 461.2 MB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-05/3.726, allocations: 9.969 kB / 461.2 MB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/3.728, allocations: 40.14 kB / 461.2 MB, free: 77.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/3.728, allocations: 44.03 kB / 461.3 MB, free: 77.18 MB / 378.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.0004087/3.728, allocations: 127.7 kB / 461.4 MB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005622/3.729, allocations: 71.38 kB / 461.5 MB, free: 77.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/3.73, allocations: 231.2 kB / 461.7 MB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-05/3.73, allocations: 16.38 kB / 461.7 MB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/3.73, allocations: 1.375 kB / 461.7 MB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.415e-05/3.73, allocations: 12.97 kB / 461.7 MB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/3.742, allocations: 2.161 MB / 463.9 MB, free: 75.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/3.742, allocations: 2.594 kB / 463.9 MB, free: 75.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004499/3.746, allocations: 269.1 kB / 464.2 MB, free: 75.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.462e-05/3.746, allocations: 7.688 kB / 464.2 MB, free: 75.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002607/3.747, allocations: 13.84 kB / 464.2 MB, free: 75.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-05/3.747, allocations: 20.36 kB / 464.2 MB, free: 75.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/3.747, allocations: 3.656 kB / 464.2 MB, free: 75.62 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005664/3.753, allocations: 1.703 MB / 465.9 MB, free: 74.48 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008213/3.761, allocations: 2.456 MB / 468.4 MB, free: 72.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009274/3.762, allocations: 196 kB / 468.6 MB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/3.762, allocations: 5.312 kB / 468.6 MB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/3.764, allocations: 41.33 kB / 468.6 MB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004202/3.765, allocations: 79.47 kB / 468.7 MB, free: 72.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/3.765, allocations: 36.03 kB / 468.7 MB, free: 72.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006336/3.766, allocations: 226.2 kB / 468.9 MB, free: 72.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004296/3.77, allocations: 158.5 kB / 469.1 MB, free: 72.48 MB / 378.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.0005688/3.771, allocations: 127.9 kB / 469.2 MB, free: 72.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004314/3.775, allocations: 0.7085 MB / 469.9 MB, free: 71.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/3.775, allocations: 4 kB / 469.9 MB, free: 71.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/3.777, allocations: 431.5 kB / 470.4 MB, free: 71.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/3.78, allocations: 84.92 kB / 470.4 MB, free: 71.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008994/3.789, allocations: 1.896 MB / 472.3 MB, free: 69.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/3.791, allocations: 1.054 MB / 473.4 MB, free: 68.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.114e-06/3.791, allocations: 4 kB / 473.4 MB, free: 68.52 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat