Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_PreLoad",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.813/1.813, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.258/2.071, allocations: 46.83 MB / 249.4 MB, free: 5.371 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/2.166, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/2.455, allocations: 72.76 MB / 366.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/2.455, allocations: 64.83 kB / 366.7 MB, free: 7.074 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.04259/2.498, allocations: 9.506 MB / 376.2 MB, free: 5.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/2.498, allocations: 8.359 kB / 376.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/2.498, allocations: 65.56 kB / 376.3 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/2.498, allocations: 311.8 kB / 376.6 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/2.498, allocations: 15.5 kB / 376.6 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/2.498, allocations: 27.34 kB / 376.7 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00108/2.5, allocations: 343.9 kB / 377 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000996/2.501, allocations: 345.7 kB / 377.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/2.501, allocations: 0.6562 kB / 377.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/2.501, allocations: 8.375 kB / 377.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/2.501, allocations: 7.781 kB / 377.4 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003626/2.504, allocations: 1.311 MB / 378.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007689/2.505, allocations: 297.1 kB / 379 MB, free: 4.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009829/2.506, allocations: 327.5 kB / 379.3 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.84e-05/2.506, allocations: 12.36 kB / 379.3 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/2.506, allocations: 42.2 kB / 379.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 3.657e-06/2.506, allocations: 0 / 379.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.006065/2.512, allocations: 2.195 MB / 381.5 MB, free: 4.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/2.512, allocations: 63.97 kB / 381.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/2.513, allocations: 198.1 kB / 381.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/2.513, allocations: 25.7 kB / 381.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/2.513, allocations: 167.1 kB / 382 MB, free: 19.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/2.513, allocations: 338.3 kB / 382.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/2.513, allocations: 0 / 382.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/2.513, allocations: 362.5 kB / 382.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006095/2.514, allocations: 216 kB / 382.9 MB, free: 19.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006733/2.515, allocations: 277.8 kB / 383.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/2.515, allocations: 231.1 kB / 383.4 MB, free: 19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.515, allocations: 0 / 383.4 MB, free: 19 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001589/2.517, allocations: 0.6277 MB / 384 MB, free: 18.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/2.517, allocations: 3.906 kB / 384 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/2.517, allocations: 0 / 384 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/2.517, allocations: 11.94 kB / 384 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/2.519, allocations: 219.9 kB / 384.2 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/2.519, allocations: 7.719 kB / 384.2 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/2.52, allocations: 47.11 kB / 384.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.368e-05/2.52, allocations: 25.94 kB / 384.3 MB, free: 18.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0002046/2.52, allocations: 112.2 kB / 384.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/2.52, allocations: 58.34 kB / 384.5 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/2.52, allocations: 62.67 kB / 384.5 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/2.52, allocations: 11.53 kB / 384.5 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/2.52, allocations: 0 / 384.5 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/2.52, allocations: 7.969 kB / 384.5 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004011/2.524, allocations: 1.735 MB / 386.3 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/2.525, allocations: 15.59 kB / 386.3 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/2.526, allocations: 220.3 kB / 386.5 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.978e-05/2.526, allocations: 7.781 kB / 386.5 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/2.527, allocations: 11.7 kB / 386.5 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.286e-05/2.527, allocations: 7.75 kB / 386.5 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.894e-06/2.527, allocations: 15.72 kB / 386.5 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002594/2.529, allocations: 1.386 MB / 387.9 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003529/2.533, allocations: 2.087 MB / 390 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/2.533, allocations: 130.7 kB / 390.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/2.533, allocations: 11.47 kB / 390.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009056/2.534, allocations: 53.7 kB / 390.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/2.534, allocations: 61.89 kB / 390.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/2.534, allocations: 33.8 kB / 390.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002195/2.535, allocations: 154.8 kB / 390.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001722/2.536, allocations: 124.6 kB / 390.6 MB, free: 15.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0002386/2.537, allocations: 118.5 kB / 390.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/2.538, allocations: 0.5929 MB / 391.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/2.538, allocations: 0 / 391.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009128/2.539, allocations: 380.1 kB / 391.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/2.54, allocations: 69.7 kB / 391.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/2.544, allocations: 1.221 MB / 392.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000958/2.545, allocations: 0.9599 MB / 393.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of SimCode: time 1.303e-06/2.545, allocations: 0 / 393.9 MB, free: 13.88 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat