Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",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.733/1.733, allocations: 171.2 MB / 178.2 MB, free: 6.707 MB / 147.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1735/1.907, allocations: 41.09 MB / 219.2 MB, free: 13.54 MB / 195.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/2.121, allocations: 38.76 MB / 258 MB, free: 5.223 MB / 211.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/2.272, allocations: 70.29 MB / 328.3 MB, free: 14.82 MB / 291.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/2.272, allocations: 67.97 kB / 328.4 MB, free: 14.75 MB / 291.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.03646/2.309, allocations: 6.965 MB / 335.3 MB, free: 7.699 MB / 291.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.689e-05/2.309, allocations: 8 kB / 335.3 MB, free: 7.691 MB / 291.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/2.31, allocations: 47.44 kB / 335.4 MB, free: 7.645 MB / 291.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/2.311, allocations: 301.3 kB / 335.7 MB, free: 7.309 MB / 291.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/2.311, allocations: 12 kB / 335.7 MB, free: 7.297 MB / 291.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/2.311, allocations: 28 kB / 335.7 MB, free: 7.27 MB / 291.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002012/2.313, allocations: 329.5 kB / 336 MB, free: 6.949 MB / 291.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/2.315, allocations: 371.9 kB / 336.4 MB, free: 6.562 MB / 291.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/2.315, allocations: 0 / 336.4 MB, free: 6.562 MB / 291.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/2.315, allocations: 0 / 336.4 MB, free: 6.562 MB / 291.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/2.315, allocations: 8 kB / 336.4 MB, free: 6.555 MB / 291.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007292/2.322, allocations: 1.351 MB / 337.8 MB, free: 5.137 MB / 291.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009615/2.323, allocations: 218.5 kB / 338 MB, free: 4.918 MB / 291.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/2.325, allocations: 178.1 kB / 338.1 MB, free: 4.738 MB / 291.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/2.325, allocations: 12.31 kB / 338.2 MB, free: 4.727 MB / 291.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/2.325, allocations: 42.88 kB / 338.2 MB, free: 4.676 MB / 291.1 MB Notification: Performance of pre-optimization done (n=40): time 1.187e-05/2.325, allocations: 3.984 kB / 338.2 MB, free: 4.672 MB / 291.1 MB Notification: Performance of matching and sorting (n=40): time 0.002848/2.328, allocations: 492.9 kB / 338.7 MB, free: 4.18 MB / 291.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/2.328, allocations: 166.2 kB / 338.8 MB, free: 3.98 MB / 291.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/2.329, allocations: 216.9 kB / 339.1 MB, free: 3.766 MB / 291.1 MB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/2.329, allocations: 25.7 kB / 339.1 MB, free: 3.734 MB / 291.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/2.329, allocations: 180.3 kB / 339.3 MB, free: 3.555 MB / 291.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/2.329, allocations: 142 kB / 339.4 MB, free: 3.414 MB / 291.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/2.329, allocations: 0 / 339.4 MB, free: 3.414 MB / 291.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/2.329, allocations: 334.8 kB / 339.7 MB, free: 3.078 MB / 291.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/2.33, allocations: 116.9 kB / 339.8 MB, free: 2.961 MB / 291.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/2.33, allocations: 213.8 kB / 340.1 MB, free: 2.719 MB / 291.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/2.331, allocations: 131.1 kB / 340.2 MB, free: 2.594 MB / 291.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/2.331, allocations: 0 / 340.2 MB, free: 2.594 MB / 291.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003249/2.334, allocations: 0.6353 MB / 340.8 MB, free: 1.945 MB / 291.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/2.334, allocations: 4 kB / 340.8 MB, free: 1.941 MB / 291.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/2.334, allocations: 4 kB / 340.8 MB, free: 1.938 MB / 291.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/2.336, allocations: 261.5 kB / 341.1 MB, free: 1.676 MB / 291.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/2.337, allocations: 87.88 kB / 341.2 MB, free: 1.59 MB / 291.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/2.34, allocations: 1.347 MB / 342.5 MB, free: 196 kB / 291.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/2.342, allocations: 91.67 kB / 342.6 MB, free: 104 kB / 291.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/2.342, allocations: 20 kB / 342.6 MB, free: 84 kB / 291.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.1304/2.472, allocations: 110 kB / 342.7 MB, free: 105 MB / 291.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/2.473, allocations: 36.22 kB / 342.8 MB, free: 105 MB / 291.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/2.476, allocations: 0.6094 MB / 343.4 MB, free: 105 MB / 291.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/2.476, allocations: 6.125 kB / 343.4 MB, free: 105 MB / 291.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/2.476, allocations: 2.844 kB / 343.4 MB, free: 105 MB / 291.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/2.476, allocations: 5.297 kB / 343.4 MB, free: 105 MB / 291.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/2.477, allocations: 392.3 kB / 343.8 MB, free: 104.8 MB / 291.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/2.477, allocations: 3.516 kB / 343.8 MB, free: 104.8 MB / 291.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/2.478, allocations: 72.38 kB / 343.8 MB, free: 104.8 MB / 291.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002338/2.48, allocations: 266.3 kB / 344.1 MB, free: 104.8 MB / 291.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/2.481, allocations: 3.75 kB / 344.1 MB, free: 104.8 MB / 291.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/2.483, allocations: 1.356 MB / 345.5 MB, free: 103.8 MB / 291.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/2.483, allocations: 0 / 345.5 MB, free: 103.8 MB / 291.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005196/2.488, allocations: 0.8552 MB / 346.3 MB, free: 103.6 MB / 291.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005887/2.494, allocations: 1.41 MB / 347.7 MB, free: 103 MB / 291.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/2.495, allocations: 146.4 kB / 347.9 MB, free: 102.9 MB / 291.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/2.495, allocations: 2.094 kB / 347.9 MB, free: 102.9 MB / 291.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/2.496, allocations: 58.64 kB / 347.9 MB, free: 102.9 MB / 291.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/2.496, allocations: 30.11 kB / 348 MB, free: 102.9 MB / 291.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/2.496, allocations: 17.45 kB / 348 MB, free: 102.9 MB / 291.1 MB Notification: Performance of sort global known variables: time 0.0003109/2.497, allocations: 163.1 kB / 348.1 MB, free: 102.9 MB / 291.1 MB Notification: Performance of remove unused functions: time 0.002318/2.499, allocations: 104.5 kB / 348.2 MB, free: 102.8 MB / 291.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003171/2.499, allocations: 101.2 kB / 348.3 MB, free: 102.8 MB / 291.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/2.501, allocations: 348.3 kB / 348.7 MB, free: 102.8 MB / 291.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/2.501, allocations: 2.312 kB / 348.7 MB, free: 102.8 MB / 291.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009128/2.502, allocations: 191.2 kB / 348.9 MB, free: 102.8 MB / 291.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/2.503, allocations: 36.36 kB / 348.9 MB, free: 102.8 MB / 291.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/2.506, allocations: 0.5677 MB / 349.5 MB, free: 102.6 MB / 291.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006458/2.506, allocations: 0.8385 MB / 350.3 MB, free: 101.9 MB / 291.1 MB Notification: Performance of SimCode: time 1.613e-06/2.506, allocations: 0 / 350.3 MB, free: 101.9 MB / 291.1 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat