Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_2_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.657/1.657, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2126/1.869, allocations: 46.83 MB / 249.3 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09593/1.965, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2799/2.245, allocations: 72.17 MB / 366 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/2.245, allocations: 67.08 kB / 366.1 MB, free: 7.051 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.01099/2.256, allocations: 2.79 MB / 368.9 MB, free: 6.488 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/2.256, allocations: 7.75 kB / 368.9 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/2.257, allocations: 15.5 kB / 368.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/2.257, allocations: 203.8 kB / 369.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/2.257, allocations: 3.938 kB / 369.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/2.257, allocations: 7.844 kB / 369.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002247/2.257, allocations: 59.83 kB / 369.2 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/2.257, allocations: 98.5 kB / 369.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/2.257, allocations: 0 / 369.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/2.257, allocations: 8 kB / 369.3 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/2.257, allocations: 3.906 kB / 369.3 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/2.259, allocations: 0.4949 MB / 369.8 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/2.259, allocations: 80.16 kB / 369.8 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/2.259, allocations: 25.05 kB / 369.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/2.259, allocations: 4 kB / 369.9 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/2.259, allocations: 34.19 kB / 369.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.384e-06/2.259, allocations: 0 / 369.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004257/2.259, allocations: 96.8 kB / 370 MB, free: 5.773 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/2.26, allocations: 55 kB / 370 MB, free: 5.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/2.26, allocations: 136 kB / 370.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/2.26, allocations: 25.7 kB / 370.2 MB, free: 5.586 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/2.26, allocations: 120 kB / 370.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/2.26, allocations: 18.28 kB / 370.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/2.26, allocations: 0 / 370.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/2.26, allocations: 320.8 kB / 370.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.394e-05/2.26, allocations: 18.84 kB / 370.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/2.26, allocations: 35.92 kB / 370.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.687e-05/2.26, allocations: 24 kB / 370.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/2.26, allocations: 0 / 370.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003488/2.26, allocations: 117.5 kB / 370.8 MB, free: 21.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/2.261, allocations: 11.34 kB / 370.9 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/2.261, allocations: 0 / 370.9 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/2.261, allocations: 33.23 kB / 370.9 MB, free: 21.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/2.261, allocations: 14.59 kB / 370.9 MB, free: 21.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/2.263, allocations: 1.431 MB / 372.3 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/2.263, allocations: 7.812 kB / 372.3 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/2.263, allocations: 9.188 kB / 372.3 MB, free: 19.76 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 (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.0001012/2.263, allocations: 104.8 kB / 372.4 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/2.263, allocations: 11.66 kB / 372.5 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/2.263, allocations: 9.078 kB / 372.5 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/2.263, allocations: 7.938 kB / 372.5 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/2.263, allocations: 5.594 kB / 372.5 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/2.263, allocations: 192 / 372.5 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/2.263, allocations: 182.4 kB / 372.7 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/2.263, allocations: 9.516 kB / 372.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/2.263, allocations: 3.844 kB / 372.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/2.264, allocations: 32.95 kB / 372.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/2.264, allocations: 3.875 kB / 372.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/2.265, allocations: 1.435 MB / 374.1 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/2.265, allocations: 4.062 kB / 374.1 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003814/2.266, allocations: 200.4 kB / 374.3 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005458/2.266, allocations: 0.5772 MB / 374.9 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/2.266, allocations: 83.08 kB / 375 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/2.266, allocations: 3.875 kB / 375 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/2.267, allocations: 5.797 kB / 375 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/2.267, allocations: 8.547 kB / 375 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/2.267, allocations: 0 / 375 MB, free: 17.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000106/2.267, allocations: 104.4 kB / 375.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001578/2.268, allocations: 38.84 kB / 375.2 MB, free: 17.3 MB / 314.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.00022/2.269, allocations: 102.7 kB / 375.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007078/2.269, allocations: 155.1 kB / 375.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/2.269, allocations: 3.875 kB / 375.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003751/2.27, allocations: 129.5 kB / 375.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/2.27, allocations: 16.33 kB / 375.6 MB, free: 17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000798/2.271, allocations: 136.4 kB / 375.7 MB, free: 16.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005548/2.272, allocations: 0.7214 MB / 376.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.413e-06/2.272, allocations: 3.938 kB / 376.4 MB, free: 16.21 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat