Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",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 3.138/3.138, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4269/3.565, allocations: 46.84 MB / 249.4 MB, free: 5.309 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/3.736, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.54/4.276, allocations: 70.58 MB / 364.5 MB, free: 6.836 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000417/4.276, allocations: 66.44 kB / 364.6 MB, free: 6.836 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01474/4.291, allocations: 1.806 MB / 366.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/4.291, allocations: 8.969 kB / 366.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/4.292, allocations: 13.16 kB / 366.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/4.292, allocations: 163.5 kB / 366.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/4.292, allocations: 5.109 kB / 366.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/4.292, allocations: 7.75 kB / 366.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003243/4.292, allocations: 53.83 kB / 366.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/4.293, allocations: 69.03 kB / 366.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/4.293, allocations: 4.859 kB / 366.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/4.293, allocations: 1.453 kB / 366.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/4.293, allocations: 4 kB / 366.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/4.294, allocations: 361 kB / 367 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/4.294, allocations: 55.05 kB / 367.1 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/4.295, allocations: 31.47 kB / 367.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/4.295, allocations: 4 kB / 367.1 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/4.295, allocations: 30.56 kB / 367.2 MB, free: 5.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 5.681e-06/4.295, allocations: 0 / 367.2 MB, free: 5.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004218/4.295, allocations: 69.48 kB / 367.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/4.295, allocations: 55.28 kB / 367.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/4.295, allocations: 95.81 kB / 367.4 MB, free: 5.633 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/4.295, allocations: 25.7 kB / 367.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/4.296, allocations: 105.6 kB / 367.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/4.296, allocations: 33.09 kB / 367.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/4.296, allocations: 0 / 367.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002604/4.296, allocations: 316.3 kB / 367.8 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/4.296, allocations: 17.5 kB / 367.9 MB, free: 21.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/4.296, allocations: 42.11 kB / 367.9 MB, free: 21.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/4.296, allocations: 25.98 kB / 367.9 MB, free: 21.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/4.296, allocations: 4 kB / 367.9 MB, free: 21.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004379/4.297, allocations: 92.5 kB / 368 MB, free: 21.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/4.297, allocations: 3.875 kB / 368 MB, free: 21.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/4.297, allocations: 3.844 kB / 368 MB, free: 21.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/4.297, allocations: 6.547 kB / 368 MB, free: 21.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/4.298, allocations: 28.39 kB / 368.1 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/4.298, allocations: 8.578 kB / 368.1 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/4.298, allocations: 5.469 kB / 368.1 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/4.298, allocations: 4.062 kB / 368.1 MB, free: 21.09 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001803/4.298, allocations: 112.5 kB / 368.2 MB, free: 20.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/4.298, allocations: 0 / 368.2 MB, free: 20.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.834e-05/4.298, allocations: 13.48 kB / 368.2 MB, free: 20.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/4.298, allocations: 0 / 368.2 MB, free: 20.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/4.298, allocations: 3.906 kB / 368.2 MB, free: 20.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/4.298, allocations: 0 / 368.2 MB, free: 20.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005177/4.299, allocations: 165.4 kB / 368.4 MB, free: 20.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/4.299, allocations: 1.406 kB / 368.4 MB, free: 20.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/4.299, allocations: 24.72 kB / 368.4 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/4.299, allocations: 1.5 kB / 368.4 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/4.299, allocations: 0 / 368.4 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.689e-06/4.3, allocations: 3.906 kB / 368.4 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/4.3, allocations: 4.016 kB / 368.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000539/4.3, allocations: 188.7 kB / 368.6 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007653/4.301, allocations: 0.5726 MB / 369.2 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/4.301, allocations: 86.02 kB / 369.2 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/4.301, allocations: 4 kB / 369.2 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/4.301, allocations: 0 / 369.2 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/4.302, allocations: 5.906 kB / 369.3 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/4.302, allocations: 3.25 kB / 369.3 MB, free: 20.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001059/4.302, allocations: 84.23 kB / 369.3 MB, free: 19.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002808/4.305, allocations: 23.5 kB / 369.4 MB, free: 19.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0003259/4.305, allocations: 108.6 kB / 369.5 MB, free: 19.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000403/4.305, allocations: 52.12 kB / 369.5 MB, free: 19.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/4.305, allocations: 0 / 369.5 MB, free: 19.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/4.306, allocations: 19.28 kB / 369.5 MB, free: 19.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/4.306, allocations: 12.19 kB / 369.5 MB, free: 19.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/4.307, allocations: 239.9 kB / 369.8 MB, free: 19.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/4.308, allocations: 0.7105 MB / 370.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of SimCode: time 3.256e-06/4.308, allocations: 0 / 370.5 MB, free: 18.98 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat