Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_1_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.827/1.827, allocations: 171.2 MB / 178.1 MB, free: 4.859 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2208/2.048, allocations: 41.11 MB / 219.3 MB, free: 10.73 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09123/2.139, allocations: 38.76 MB / 258 MB, free: 3.91 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3343/2.473, allocations: 65.57 MB / 323.6 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/2.474, allocations: 66.66 kB / 323.6 MB, free: 6.59 MB / 266.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.007769/2.481, allocations: 1.81 MB / 325.5 MB, free: 5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/2.481, allocations: 8 kB / 325.5 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/2.482, allocations: 15.34 kB / 325.5 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/2.482, allocations: 166.9 kB / 325.6 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/2.482, allocations: 4 kB / 325.6 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/2.482, allocations: 7.984 kB / 325.6 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001895/2.482, allocations: 45.69 kB / 325.7 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/2.482, allocations: 67.92 kB / 325.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/2.482, allocations: 0 / 325.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/2.482, allocations: 1.125 kB / 325.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/2.482, allocations: 7.906 kB / 325.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008342/2.483, allocations: 367.8 kB / 326.1 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/2.483, allocations: 62.73 kB / 326.2 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/2.483, allocations: 22.42 kB / 326.2 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/2.483, allocations: 8 kB / 326.2 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/2.483, allocations: 33.56 kB / 326.3 MB, free: 4.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 4.188e-06/2.484, allocations: 0 / 326.3 MB, free: 4.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002532/2.484, allocations: 72.98 kB / 326.3 MB, free: 4.125 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/2.484, allocations: 51.41 kB / 326.4 MB, free: 4.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/2.484, allocations: 101.2 kB / 326.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/2.484, allocations: 25.7 kB / 326.5 MB, free: 3.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/2.484, allocations: 99.45 kB / 326.6 MB, free: 3.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/2.484, allocations: 30.8 kB / 326.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/2.484, allocations: 0 / 326.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/2.484, allocations: 322.5 kB / 326.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-05/2.484, allocations: 21.94 kB / 327 MB, free: 3.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/2.484, allocations: 36.39 kB / 327 MB, free: 3.434 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.173e-05/2.485, allocations: 26.42 kB / 327 MB, free: 3.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/2.485, allocations: 4 kB / 327 MB, free: 3.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002723/2.485, allocations: 93.59 kB / 327.1 MB, free: 3.328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/2.485, allocations: 4 kB / 327.1 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/2.485, allocations: 0 / 327.1 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/2.485, allocations: 4 kB / 327.1 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/2.485, allocations: 30.86 kB / 327.2 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/2.485, allocations: 0 / 327.2 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/2.485, allocations: 8.156 kB / 327.2 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/2.485, allocations: 4.062 kB / 327.2 MB, free: 3.281 MB / 266.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.402e-05/2.485, allocations: 105 kB / 327.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/2.485, allocations: 11.91 kB / 327.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/2.486, allocations: 12.17 kB / 327.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/2.486, allocations: 0 / 327.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.486, allocations: 0 / 327.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/2.486, allocations: 4 kB / 327.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/2.486, allocations: 159 kB / 327.5 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/2.486, allocations: 0 / 327.5 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/2.486, allocations: 23.92 kB / 327.5 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/2.486, allocations: 4 kB / 327.5 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/2.486, allocations: 3.062 kB / 327.5 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/2.486, allocations: 0 / 327.5 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/2.486, allocations: 4 kB / 327.5 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000297/2.486, allocations: 179.7 kB / 327.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004435/2.487, allocations: 0.5822 MB / 328.2 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/2.487, allocations: 77.11 kB / 328.3 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/2.487, allocations: 0 / 328.3 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/2.487, allocations: 11.84 kB / 328.3 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/2.487, allocations: 3.984 kB / 328.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/2.487, allocations: 0 / 328.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.49e-05/2.487, allocations: 86.66 kB / 328.4 MB, free: 1.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001175/2.488, allocations: 19.94 kB / 328.4 MB, free: 1.965 MB / 266.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.0001562/2.489, allocations: 103.3 kB / 328.5 MB, free: 1.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002229/2.489, allocations: 58.33 kB / 328.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/2.489, allocations: 0 / 328.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/2.489, allocations: 19.56 kB / 328.6 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/2.489, allocations: 17.08 kB / 328.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/2.49, allocations: 228.1 kB / 328.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/2.49, allocations: 0.7153 MB / 329.6 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/2.49, allocations: 0 / 329.6 MB, free: 0.8008 MB / 266.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat