Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_PreLoad",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 2.042/2.042, allocations: 171.2 MB / 178.1 MB, free: 8.289 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2014/2.243, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/2.337, allocations: 38.77 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2973/2.634, allocations: 67.78 MB / 325.8 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/2.634, allocations: 65.72 kB / 325.9 MB, free: 4.316 MB / 266.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.05596/2.69, allocations: 9.523 MB / 335.4 MB, free: 12.35 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.918e-05/2.69, allocations: 8 kB / 335.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/2.691, allocations: 55.34 kB / 335.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006599/2.691, allocations: 309.4 kB / 335.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/2.691, allocations: 16 kB / 335.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/2.692, allocations: 28 kB / 335.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001098/2.693, allocations: 347.5 kB / 336.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/2.694, allocations: 329.2 kB / 336.4 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/2.694, allocations: 15.28 kB / 336.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.642e-05/2.694, allocations: 3.938 kB / 336.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/2.694, allocations: 12 kB / 336.5 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004645/2.699, allocations: 1.308 MB / 337.8 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009361/2.7, allocations: 305.7 kB / 338.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/2.701, allocations: 319.7 kB / 338.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/2.701, allocations: 12.56 kB / 338.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.916e-05/2.701, allocations: 49.2 kB / 338.5 MB, free: 9.926 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 5.46e-06/2.701, allocations: 4 kB / 338.5 MB, free: 9.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=103): time 0.01119/2.712, allocations: 2.2 MB / 340.7 MB, free: 8.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/2.713, allocations: 64.41 kB / 340.7 MB, free: 8.012 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/2.713, allocations: 194.4 kB / 340.9 MB, free: 7.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/2.713, allocations: 25.7 kB / 340.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/2.713, allocations: 171.8 kB / 341.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/2.714, allocations: 333 kB / 341.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/2.714, allocations: 4 kB / 341.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002523/2.714, allocations: 359.1 kB / 341.8 MB, free: 7.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/2.715, allocations: 211.7 kB / 342 MB, free: 6.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/2.716, allocations: 270.2 kB / 342.3 MB, free: 6.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006843/2.716, allocations: 234.6 kB / 342.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/2.716, allocations: 0 / 342.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001739/2.718, allocations: 0.6308 MB / 343.1 MB, free: 6.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/2.718, allocations: 8 kB / 343.1 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/2.718, allocations: 0 / 343.1 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/2.718, allocations: 4 kB / 343.1 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/2.72, allocations: 223.1 kB / 343.3 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/2.72, allocations: 4 kB / 343.3 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/2.721, allocations: 47.95 kB / 343.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/2.721, allocations: 26.19 kB / 343.4 MB, free: 5.816 MB / 282.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.0002071/2.721, allocations: 120.8 kB / 343.5 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/2.721, allocations: 59.33 kB / 343.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/2.722, allocations: 62.86 kB / 343.7 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/2.722, allocations: 8 kB / 343.7 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/2.722, allocations: 0 / 343.7 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/2.722, allocations: 7.969 kB / 343.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/2.726, allocations: 1.733 MB / 345.4 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/2.726, allocations: 8.094 kB / 345.4 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/2.728, allocations: 222.4 kB / 345.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.618e-05/2.728, allocations: 8 kB / 345.6 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/2.728, allocations: 19.7 kB / 345.7 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.537e-05/2.728, allocations: 11.94 kB / 345.7 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-05/2.728, allocations: 8 kB / 345.7 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003217/2.732, allocations: 1.39 MB / 347.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004278/2.736, allocations: 2.082 MB / 349.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/2.736, allocations: 176.2 kB / 349.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/2.736, allocations: 15.89 kB / 349.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/2.737, allocations: 47.97 kB / 349.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/2.738, allocations: 66.75 kB / 349.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/2.738, allocations: 39.41 kB / 349.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0002226/2.738, allocations: 153.7 kB / 349.6 MB, free: 416 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.002574/2.74, allocations: 120 kB / 349.8 MB, free: 296 kB / 282.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.0004953/2.741, allocations: 126.4 kB / 349.9 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002396/2.743, allocations: 0.5918 MB / 350.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/2.743, allocations: 0 / 350.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0016/2.745, allocations: 381.4 kB / 350.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/2.747, allocations: 65.39 kB / 350.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005551/2.752, allocations: 1.212 MB / 352.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/2.754, allocations: 0.9525 MB / 353.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of SimCode: time 2.094e-06/2.754, allocations: 0 / 353.1 MB, free: 13.29 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat