Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_Oscillator",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.768/1.768, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.253/2.021, allocations: 46.82 MB / 249.4 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/2.112, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2855/2.398, allocations: 71.98 MB / 365.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/2.398, allocations: 64.16 kB / 366 MB, free: 7.172 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.01637/2.414, allocations: 3.834 MB / 369.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/2.414, allocations: 7.75 kB / 369.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.928e-05/2.414, allocations: 32.39 kB / 369.8 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/2.415, allocations: 222.7 kB / 370 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/2.415, allocations: 3.875 kB / 370.1 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/2.415, allocations: 20.8 kB / 370.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003901/2.415, allocations: 111.2 kB / 370.2 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/2.416, allocations: 174 kB / 370.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/2.416, allocations: 3.906 kB / 370.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/2.416, allocations: 0 / 370.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/2.416, allocations: 3.75 kB / 370.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/2.417, allocations: 0.7512 MB / 371.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/2.418, allocations: 129 kB / 371.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/2.418, allocations: 94.92 kB / 371.3 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/2.418, allocations: 0 / 371.3 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/2.418, allocations: 35.64 kB / 371.4 MB, free: 5.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 2.444e-06/2.418, allocations: 0 / 371.4 MB, free: 5.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001521/2.42, allocations: 0.7181 MB / 372.1 MB, free: 5.207 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/2.42, allocations: 81.02 kB / 372.2 MB, free: 5.113 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/2.42, allocations: 137.3 kB / 372.3 MB, free: 21.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/2.42, allocations: 25.7 kB / 372.3 MB, free: 20.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/2.42, allocations: 132.7 kB / 372.4 MB, free: 20.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/2.42, allocations: 94.34 kB / 372.5 MB, free: 20.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/2.42, allocations: 0 / 372.5 MB, free: 20.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/2.42, allocations: 334.4 kB / 372.9 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/2.421, allocations: 45.12 kB / 372.9 MB, free: 20.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/2.421, allocations: 97.31 kB / 373 MB, free: 20.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/2.421, allocations: 69.61 kB / 373.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/2.421, allocations: 4 kB / 373.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005143/2.421, allocations: 193.5 kB / 373.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/2.421, allocations: 5.672 kB / 373.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/2.422, allocations: 1.203 kB / 373.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/2.422, allocations: 3.906 kB / 373.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/2.422, allocations: 65.75 kB / 373.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/2.422, allocations: 4 kB / 373.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/2.422, allocations: 17.23 kB / 373.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/2.422, allocations: 9.188 kB / 373.4 MB, free: 20.38 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.0001077/2.423, allocations: 108.7 kB / 373.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/2.423, allocations: 19.22 kB / 373.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.984e-05/2.423, allocations: 25.59 kB / 373.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/2.423, allocations: 3.844 kB / 373.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/2.423, allocations: 3.906 kB / 373.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/2.423, allocations: 5.656 kB / 373.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/2.424, allocations: 0.5149 MB / 374 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/2.424, allocations: 3.938 kB / 374.1 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/2.425, allocations: 70.08 kB / 374.1 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/2.425, allocations: 0.9844 kB / 374.1 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/2.425, allocations: 3.875 kB / 374.1 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/2.425, allocations: 0.9375 kB / 374.1 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/2.425, allocations: 3.875 kB / 374.1 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007275/2.425, allocations: 0.4974 MB / 374.6 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001083/2.426, allocations: 0.9267 MB / 375.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-05/2.427, allocations: 98 kB / 375.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/2.427, allocations: 5.172 kB / 375.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/2.427, allocations: 5.047 kB / 375.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/2.427, allocations: 25.34 kB / 375.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/2.427, allocations: 7.688 kB / 375.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.00011/2.427, allocations: 110.5 kB / 375.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001491/2.429, allocations: 41.91 kB / 375.8 MB, free: 18.72 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.0001676/2.429, allocations: 108.2 kB / 375.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004076/2.429, allocations: 144.2 kB / 376.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/2.429, allocations: 0 / 376.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/2.43, allocations: 80.92 kB / 376.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/2.43, allocations: 33.62 kB / 376.2 MB, free: 18.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/2.432, allocations: 0.5232 MB / 376.7 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/2.432, allocations: 0.7783 MB / 377.5 MB, free: 17.56 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/2.432, allocations: 0 / 377.5 MB, free: 17.56 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat