Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_HeatingResistor",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.792/1.792, allocations: 171.2 MB / 178.1 MB, free: 8.305 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2162/2.009, allocations: 41.11 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08622/2.095, allocations: 38.77 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2623/2.357, allocations: 67.28 MB / 325.3 MB, free: 4.797 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/2.358, allocations: 70.52 kB / 325.4 MB, free: 4.762 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.01427/2.372, allocations: 2.816 MB / 328.2 MB, free: 2.316 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/2.372, allocations: 8 kB / 328.2 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/2.372, allocations: 15.81 kB / 328.2 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/2.373, allocations: 211.7 kB / 328.4 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/2.373, allocations: 8 kB / 328.4 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/2.373, allocations: 14.14 kB / 328.4 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002556/2.373, allocations: 59.34 kB / 328.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/2.373, allocations: 94.17 kB / 328.6 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/2.373, allocations: 0 / 328.6 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/2.373, allocations: 0 / 328.6 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/2.373, allocations: 4 kB / 328.6 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/2.375, allocations: 0.4932 MB / 329.1 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/2.375, allocations: 87.41 kB / 329.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.923e-05/2.375, allocations: 23.67 kB / 329.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/2.375, allocations: 0 / 329.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/2.375, allocations: 33.38 kB / 329.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.434e-06/2.375, allocations: 0 / 329.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004807/2.376, allocations: 99.81 kB / 329.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/2.376, allocations: 55.34 kB / 329.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/2.376, allocations: 135.2 kB / 329.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/2.376, allocations: 29.7 kB / 329.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/2.376, allocations: 115.1 kB / 329.6 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/2.376, allocations: 19.16 kB / 329.7 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/2.376, allocations: 0 / 329.7 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/2.376, allocations: 318.3 kB / 330 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/2.376, allocations: 23 kB / 330 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.418e-05/2.376, allocations: 40.75 kB / 330 MB, free: 496 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.738e-05/2.377, allocations: 18.75 kB / 330.1 MB, free: 484 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/2.377, allocations: 0 / 330.1 MB, free: 484 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004673/2.377, allocations: 118.9 kB / 330.2 MB, free: 372 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/2.377, allocations: 8.062 kB / 330.2 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/2.377, allocations: 4 kB / 330.2 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/2.377, allocations: 31.41 kB / 330.2 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/2.378, allocations: 15.11 kB / 330.2 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/2.38, allocations: 1.443 MB / 331.7 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/2.38, allocations: 4 kB / 331.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/2.381, allocations: 0 / 331.7 MB, free: 14.82 MB / 282.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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001411/2.381, allocations: 116.6 kB / 331.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/2.381, allocations: 7.906 kB / 331.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/2.381, allocations: 19.86 kB / 331.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/2.381, allocations: 0 / 331.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/2.381, allocations: 0 / 331.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/2.381, allocations: 0 / 331.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/2.381, allocations: 179.1 kB / 332 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/2.381, allocations: 0 / 332 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/2.381, allocations: 15.92 kB / 332 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/2.382, allocations: 32.16 kB / 332 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/2.382, allocations: 4 kB / 332 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/2.384, allocations: 1.429 MB / 333.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/2.384, allocations: 4 kB / 333.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005417/2.385, allocations: 204.8 kB / 333.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006917/2.386, allocations: 0.5622 MB / 334.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/2.386, allocations: 92.31 kB / 334.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/2.386, allocations: 0 / 334.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/2.386, allocations: 11.98 kB / 334.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/2.386, allocations: 6.812 kB / 334.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/2.386, allocations: 0 / 334.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001554/2.386, allocations: 106.6 kB / 334.5 MB, free: 11.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002377/2.389, allocations: 39.84 kB / 334.5 MB, free: 11.95 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002161/2.389, allocations: 95.3 kB / 334.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006649/2.39, allocations: 176.6 kB / 334.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/2.39, allocations: 0 / 334.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/2.39, allocations: 131.8 kB / 334.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/2.391, allocations: 7.906 kB / 334.9 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/2.391, allocations: 138.2 kB / 335 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005077/2.392, allocations: 0.7224 MB / 335.7 MB, free: 10.66 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/2.392, allocations: 0 / 335.7 MB, free: 10.66 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat