Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",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.596/1.596, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2143/1.811, allocations: 46.83 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09694/1.908, allocations: 44.51 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2674/2.175, allocations: 70.57 MB / 364.4 MB, free: 7.27 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/2.175, allocations: 70.58 kB / 364.5 MB, free: 7.27 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.00662/2.182, allocations: 1.798 MB / 366.3 MB, free: 6.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/2.182, allocations: 15.34 kB / 366.3 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/2.182, allocations: 14.11 kB / 366.3 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/2.182, allocations: 172.2 kB / 366.5 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/2.182, allocations: 3.938 kB / 366.5 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/2.182, allocations: 3.875 kB / 366.5 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001863/2.183, allocations: 53.61 kB / 366.5 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/2.183, allocations: 68.56 kB / 366.6 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/2.183, allocations: 3.984 kB / 366.6 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/2.183, allocations: 0 / 366.6 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/2.183, allocations: 0 / 366.6 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/2.184, allocations: 371.4 kB / 367 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/2.184, allocations: 56.64 kB / 367 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/2.184, allocations: 29.33 kB / 367.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/2.184, allocations: 4 kB / 367.1 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/2.184, allocations: 33.94 kB / 367.1 MB, free: 6.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/2.184, allocations: 0 / 367.1 MB, free: 6.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002124/2.184, allocations: 63.23 kB / 367.2 MB, free: 6.215 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/2.184, allocations: 55.28 kB / 367.2 MB, free: 6.152 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/2.184, allocations: 94.34 kB / 367.3 MB, free: 6.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/2.184, allocations: 27.34 kB / 367.3 MB, free: 6.031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/2.184, allocations: 101 kB / 367.4 MB, free: 5.938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/2.184, allocations: 34.47 kB / 367.5 MB, free: 5.914 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/2.184, allocations: 0 / 367.5 MB, free: 5.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.96e-05/2.184, allocations: 319.9 kB / 367.8 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/2.184, allocations: 14.81 kB / 367.8 MB, free: 5.602 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/2.184, allocations: 46.59 kB / 367.8 MB, free: 5.574 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/2.185, allocations: 21.89 kB / 367.9 MB, free: 5.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/2.185, allocations: 1.828 kB / 367.9 MB, free: 5.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001908/2.185, allocations: 95.72 kB / 368 MB, free: 5.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/2.185, allocations: 6.062 kB / 368 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/2.185, allocations: 3.875 kB / 368 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/2.185, allocations: 5.719 kB / 368 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/2.185, allocations: 20.77 kB / 368 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/2.185, allocations: 12.92 kB / 368 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.696e-05/2.185, allocations: 8.609 kB / 368 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/2.185, allocations: 0 / 368 MB, free: 5.52 MB / 298.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 9.488e-05/2.185, allocations: 123.6 kB / 368.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/2.185, allocations: 0 / 368.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/2.185, allocations: 13.12 kB / 368.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/2.185, allocations: 0 / 368.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/2.185, allocations: 3.906 kB / 368.1 MB, free: 21.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/2.185, allocations: 1.359 kB / 368.1 MB, free: 21.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/2.186, allocations: 164.8 kB / 368.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/2.186, allocations: 256 / 368.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/2.186, allocations: 16.94 kB / 368.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/2.186, allocations: 8 kB / 368.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/2.186, allocations: 1.172 kB / 368.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/2.186, allocations: 7.844 kB / 368.3 MB, free: 21.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/2.186, allocations: 0 / 368.3 MB, free: 21.22 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002358/2.186, allocations: 185.2 kB / 368.5 MB, free: 21.08 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004121/2.187, allocations: 0.5735 MB / 369.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/2.187, allocations: 82.52 kB / 369.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/2.187, allocations: 3.875 kB / 369.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/2.187, allocations: 0 / 369.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/2.187, allocations: 6.547 kB / 369.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/2.187, allocations: 0 / 369.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.514e-05/2.187, allocations: 83.22 kB / 369.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001156/2.188, allocations: 27.34 kB / 369.3 MB, free: 20.39 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.0001595/2.188, allocations: 110.9 kB / 369.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/2.188, allocations: 44.5 kB / 369.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/2.188, allocations: 0 / 369.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/2.189, allocations: 23.06 kB / 369.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/2.189, allocations: 11.8 kB / 369.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006885/2.19, allocations: 236.7 kB / 369.7 MB, free: 20.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/2.19, allocations: 0.7119 MB / 370.4 MB, free: 19.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/2.19, allocations: 0 / 370.4 MB, free: 19.41 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat