Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_ElastoGap",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.759/1.759, allocations: 194.9 MB / 202.6 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2083/1.967, allocations: 46.83 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/2.066, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.289/2.356, allocations: 71.26 MB / 365.2 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/2.356, allocations: 62.22 kB / 365.2 MB, free: 7.07 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.02555/2.381, allocations: 5.867 MB / 371.1 MB, free: 6.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/2.381, allocations: 9.203 kB / 371.1 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/2.382, allocations: 38.94 kB / 371.1 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/2.382, allocations: 247.4 kB / 371.4 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/2.382, allocations: 11.56 kB / 371.4 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/2.382, allocations: 16.52 kB / 371.4 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00064/2.383, allocations: 211.8 kB / 371.6 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/2.383, allocations: 214.8 kB / 371.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/2.383, allocations: 0.5156 kB / 371.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/2.383, allocations: 0 / 371.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/2.383, allocations: 11.66 kB / 371.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/2.385, allocations: 0.7489 MB / 372.6 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/2.386, allocations: 181.8 kB / 372.8 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003894/2.386, allocations: 158.8 kB / 372.9 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/2.386, allocations: 7.75 kB / 372.9 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/2.386, allocations: 41.22 kB / 373 MB, free: 5.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.875e-06/2.386, allocations: 0 / 373 MB, free: 5.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.00415/2.391, allocations: 1.48 MB / 374.4 MB, free: 5.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/2.391, allocations: 64.34 kB / 374.5 MB, free: 4.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/2.391, allocations: 151.3 kB / 374.7 MB, free: 4.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/2.391, allocations: 29.64 kB / 374.7 MB, free: 4.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/2.391, allocations: 132.4 kB / 374.8 MB, free: 20.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/2.391, allocations: 212.7 kB / 375 MB, free: 20.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/2.391, allocations: 0 / 375 MB, free: 20.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/2.391, allocations: 340.6 kB / 375.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/2.392, allocations: 126.9 kB / 375.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/2.392, allocations: 133.3 kB / 375.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/2.393, allocations: 148.5 kB / 375.8 MB, free: 20.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/2.393, allocations: 0 / 375.8 MB, free: 20.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001003/2.394, allocations: 406.7 kB / 376.2 MB, free: 20.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/2.394, allocations: 8.594 kB / 376.2 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/2.394, allocations: 0 / 376.2 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/2.394, allocations: 3.844 kB / 376.2 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/2.395, allocations: 125.1 kB / 376.3 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/2.395, allocations: 0 / 376.3 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/2.395, allocations: 24.16 kB / 376.3 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/2.395, allocations: 16.14 kB / 376.3 MB, free: 20.16 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.0001468/2.395, allocations: 120.8 kB / 376.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/2.396, allocations: 35.03 kB / 376.5 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/2.396, allocations: 42.36 kB / 376.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/2.396, allocations: 7.75 kB / 376.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/2.396, allocations: 0 / 376.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/2.396, allocations: 3.281 kB / 376.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/2.398, allocations: 1.158 MB / 377.7 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/2.398, allocations: 7.906 kB / 377.7 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/2.4, allocations: 138.5 kB / 377.8 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/2.4, allocations: 7.625 kB / 377.8 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/2.4, allocations: 5.703 kB / 377.8 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/2.4, allocations: 9.047 kB / 377.9 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/2.4, allocations: 7.75 kB / 377.9 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001555/2.401, allocations: 0.993 MB / 378.9 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002164/2.404, allocations: 1.529 MB / 380.4 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/2.404, allocations: 117.3 kB / 380.5 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.154e-05/2.404, allocations: 5.453 kB / 380.5 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/2.404, allocations: 31.98 kB / 380.5 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/2.405, allocations: 47.67 kB / 380.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/2.405, allocations: 23.61 kB / 380.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000166/2.405, allocations: 131.6 kB / 380.7 MB, free: 17.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001636/2.406, allocations: 74.58 kB / 380.8 MB, free: 17.65 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.0002106/2.407, allocations: 116 kB / 380.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/2.408, allocations: 370.6 kB / 381.3 MB, free: 17.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/2.408, allocations: 4 kB / 381.3 MB, free: 17.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005532/2.408, allocations: 209.7 kB / 381.5 MB, free: 17.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008826/2.409, allocations: 52.95 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.002331/2.411, allocations: 0.7993 MB / 382.3 MB, free: 17.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007914/2.412, allocations: 0.8481 MB / 383.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.523e-06/2.412, allocations: 0 / 383.2 MB, free: 16.29 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat does not exist to compare? outputFormat=mat