Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Oscillator",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 1.782/1.782, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2624/2.044, allocations: 46.83 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/2.136, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2738/2.41, allocations: 71.98 MB / 365.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/2.411, allocations: 70.08 kB / 365.9 MB, free: 7.156 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.01571/2.426, allocations: 3.835 MB / 369.7 MB, free: 6.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/2.426, allocations: 7.75 kB / 369.7 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.797e-05/2.426, allocations: 27.19 kB / 369.8 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/2.427, allocations: 222.7 kB / 370 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/2.427, allocations: 3.875 kB / 370 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/2.427, allocations: 12.78 kB / 370 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003723/2.427, allocations: 116.4 kB / 370.1 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/2.428, allocations: 179.2 kB / 370.3 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/2.428, allocations: 3.906 kB / 370.3 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/2.428, allocations: 0 / 370.3 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/2.428, allocations: 3.844 kB / 370.3 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/2.429, allocations: 0.7483 MB / 371 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/2.43, allocations: 136.2 kB / 371.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/2.43, allocations: 89.56 kB / 371.3 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/2.43, allocations: 7.859 kB / 371.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/2.43, allocations: 33.69 kB / 371.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 4.769e-06/2.43, allocations: 0 / 371.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001519/2.432, allocations: 0.7225 MB / 372 MB, free: 5.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/2.432, allocations: 84.92 kB / 372.1 MB, free: 21.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/2.432, allocations: 133.5 kB / 372.2 MB, free: 20.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/2.432, allocations: 29.64 kB / 372.3 MB, free: 20.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.061e-05/2.432, allocations: 128.5 kB / 372.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/2.432, allocations: 92.33 kB / 372.5 MB, free: 20.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/2.432, allocations: 0 / 372.5 MB, free: 20.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/2.432, allocations: 332.7 kB / 372.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/2.432, allocations: 50.28 kB / 372.9 MB, free: 20.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/2.433, allocations: 94.08 kB / 372.9 MB, free: 20.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/2.433, allocations: 63.62 kB / 373 MB, free: 20.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/2.433, allocations: 4 kB / 373 MB, free: 20.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004942/2.433, allocations: 194.1 kB / 373.2 MB, free: 20.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/2.433, allocations: 3.875 kB / 373.2 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/2.433, allocations: 5.016 kB / 373.2 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/2.433, allocations: 1.312 kB / 373.2 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/2.434, allocations: 62.28 kB / 373.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/2.434, allocations: 5.266 kB / 373.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/2.434, allocations: 17.27 kB / 373.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/2.434, allocations: 7.719 kB / 373.3 MB, free: 20.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001264/2.434, allocations: 113.6 kB / 373.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/2.435, allocations: 15.38 kB / 373.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.348e-05/2.435, allocations: 23.89 kB / 373.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/2.435, allocations: 3.875 kB / 373.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/2.435, allocations: 3.906 kB / 373.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/2.435, allocations: 6.125 kB / 373.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/2.436, allocations: 0.5181 MB / 374 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/2.436, allocations: 5.25 kB / 374 MB, free: 19.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/2.437, allocations: 66.19 kB / 374.1 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/2.437, allocations: 1.5 kB / 374.1 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/2.437, allocations: 7.75 kB / 374.1 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/2.437, allocations: 0 / 374.1 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/2.437, allocations: 3.781 kB / 374.1 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007625/2.437, allocations: 0.4894 MB / 374.6 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001048/2.438, allocations: 0.9317 MB / 375.5 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/2.439, allocations: 100.6 kB / 375.6 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/2.439, allocations: 0 / 375.6 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/2.439, allocations: 13.3 kB / 375.6 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/2.439, allocations: 21.81 kB / 375.6 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/2.439, allocations: 5.391 kB / 375.6 MB, free: 18.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001203/2.439, allocations: 111.1 kB / 375.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001321/2.441, allocations: 42.09 kB / 375.8 MB, free: 18.7 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0002127/2.441, allocations: 108.1 kB / 375.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004442/2.441, allocations: 142.3 kB / 376 MB, free: 18.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/2.441, allocations: 0 / 376 MB, free: 18.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/2.442, allocations: 83.2 kB / 376.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/2.442, allocations: 19.97 kB / 376.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/2.444, allocations: 0.5213 MB / 376.6 MB, free: 18.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/2.444, allocations: 0.7854 MB / 377.4 MB, free: 17.55 MB / 314.7 MB Notification: Performance of SimCode: time 1.703e-06/2.444, allocations: 0 / 377.4 MB, free: 17.55 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat