Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_HeatingRectifier",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 1.599/1.599, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2062/1.805, allocations: 46.82 MB / 249.4 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0862/1.891, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2677/2.159, allocations: 73.1 MB / 367 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/2.159, allocations: 66.17 kB / 367.1 MB, free: 7.191 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.01718/2.177, allocations: 4.184 MB / 371.3 MB, free: 6.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/2.177, allocations: 7.781 kB / 371.3 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.657e-05/2.177, allocations: 31.44 kB / 371.3 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/2.177, allocations: 235.5 kB / 371.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/2.177, allocations: 3.844 kB / 371.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/2.177, allocations: 15.53 kB / 371.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004297/2.178, allocations: 127 kB / 371.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/2.178, allocations: 183.5 kB / 371.8 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/2.178, allocations: 0 / 371.8 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/2.178, allocations: 0 / 371.8 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/2.178, allocations: 7.906 kB / 371.9 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/2.18, allocations: 0.8759 MB / 372.7 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/2.18, allocations: 92.61 kB / 372.8 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/2.18, allocations: 90.62 kB / 372.9 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/2.181, allocations: 0 / 372.9 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/2.181, allocations: 39.41 kB / 372.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.064e-06/2.181, allocations: 0 / 372.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009464/2.181, allocations: 196.7 kB / 373.1 MB, free: 5.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/2.182, allocations: 56.81 kB / 373.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/2.182, allocations: 153.2 kB / 373.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/2.182, allocations: 25.7 kB / 373.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/2.182, allocations: 136.6 kB / 373.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/2.182, allocations: 66.58 kB / 373.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/2.182, allocations: 0 / 373.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/2.182, allocations: 327.3 kB / 373.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/2.182, allocations: 40.03 kB / 373.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/2.182, allocations: 68.75 kB / 374 MB, free: 20.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/2.183, allocations: 61.25 kB / 374.1 MB, free: 20.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.183, allocations: 3.938 kB / 374.1 MB, free: 20.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007685/2.183, allocations: 218.7 kB / 374.3 MB, free: 20.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/2.183, allocations: 3.938 kB / 374.3 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/2.183, allocations: 3.875 kB / 374.3 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/2.185, allocations: 105.9 kB / 374.4 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/2.185, allocations: 39.69 kB / 374.4 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008321/2.186, allocations: 0.6246 MB / 375 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/2.186, allocations: 21.08 kB / 375.1 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/2.186, allocations: 5.188 kB / 375.1 MB, free: 20.24 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 (15): * Single equations (assignments): 14 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001101/2.186, allocations: 126.6 kB / 375.2 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/2.186, allocations: 16.27 kB / 375.2 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007288/2.187, allocations: 202.3 kB / 375.4 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/2.187, allocations: 3.906 kB / 375.4 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/2.187, allocations: 4 kB / 375.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/2.187, allocations: 1.875 kB / 375.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/2.188, allocations: 0.5504 MB / 376 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/2.188, allocations: 0.75 kB / 376 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/2.189, allocations: 36.33 kB / 376 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009203/2.19, allocations: 109.2 kB / 376.1 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/2.19, allocations: 0 / 376.1 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008254/2.19, allocations: 0.6498 MB / 376.8 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.19, allocations: 3.969 kB / 376.8 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009818/2.191, allocations: 394.5 kB / 377.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001268/2.193, allocations: 0.8229 MB / 378 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/2.193, allocations: 112.8 kB / 378.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/2.193, allocations: 0.6562 kB / 378.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/2.193, allocations: 9.859 kB / 378.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/2.193, allocations: 11.95 kB / 378.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/2.193, allocations: 4.547 kB / 378.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001328/2.193, allocations: 126.5 kB / 378.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001333/2.195, allocations: 62.31 kB / 378.3 MB, free: 18.28 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001971/2.195, allocations: 116.8 kB / 378.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004542/2.195, allocations: 130.6 kB / 378.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.196, allocations: 0 / 378.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/2.196, allocations: 62.33 kB / 378.6 MB, free: 18.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/2.196, allocations: 25.36 kB / 378.6 MB, free: 18.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/2.197, allocations: 372.4 kB / 379 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/2.198, allocations: 0.7646 MB / 379.7 MB, free: 17.24 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/2.198, allocations: 4 kB / 379.7 MB, free: 17.24 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat does not exist to compare? outputFormat=mat