Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_HeatingResistor",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.654/1.654, allocations: 194.9 MB / 202.6 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2071/1.861, allocations: 46.82 MB / 249.4 MB, free: 5.301 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/1.95, allocations: 44.52 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2744/2.224, allocations: 72.15 MB / 366.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/2.225, allocations: 67.48 kB / 366.1 MB, free: 7.055 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.01103/2.236, allocations: 2.796 MB / 368.9 MB, free: 6.484 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/2.236, allocations: 11.34 kB / 368.9 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/2.236, allocations: 17.12 kB / 369 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/2.236, allocations: 197.4 kB / 369.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/2.236, allocations: 3.875 kB / 369.2 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/2.236, allocations: 7.75 kB / 369.2 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002232/2.236, allocations: 63.66 kB / 369.2 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/2.237, allocations: 88.42 kB / 369.3 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/2.237, allocations: 0 / 369.3 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/2.237, allocations: 4 kB / 369.3 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/2.237, allocations: 3.906 kB / 369.3 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/2.238, allocations: 0.5022 MB / 369.8 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/2.238, allocations: 73.94 kB / 369.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.645e-05/2.238, allocations: 24.58 kB / 369.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/2.238, allocations: 3.719 kB / 369.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/2.238, allocations: 38.25 kB / 370 MB, free: 5.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/2.238, allocations: 0 / 370 MB, free: 5.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004265/2.239, allocations: 102.1 kB / 370.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/2.239, allocations: 60.39 kB / 370.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/2.239, allocations: 124.9 kB / 370.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/2.239, allocations: 29.67 kB / 370.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/2.239, allocations: 116.9 kB / 370.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/2.239, allocations: 24.77 kB / 370.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/2.239, allocations: 0 / 370.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.097e-05/2.239, allocations: 319.9 kB / 370.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.818e-05/2.239, allocations: 15.2 kB / 370.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/2.239, allocations: 37.72 kB / 370.8 MB, free: 21.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.932e-05/2.239, allocations: 20.58 kB / 370.8 MB, free: 21.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/2.239, allocations: 4 kB / 370.8 MB, free: 21.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003687/2.24, allocations: 117 kB / 370.9 MB, free: 21.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/2.24, allocations: 3.875 kB / 370.9 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/2.24, allocations: 0 / 370.9 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/2.24, allocations: 38.05 kB / 370.9 MB, free: 21.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/2.24, allocations: 17.25 kB / 371 MB, free: 21.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/2.242, allocations: 1.424 MB / 372.4 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/2.242, allocations: 9.109 kB / 372.4 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/2.242, allocations: 3.906 kB / 372.4 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 9.837e-05/2.242, allocations: 112 kB / 372.5 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/2.242, allocations: 7.781 kB / 372.5 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/2.242, allocations: 17.19 kB / 372.5 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/2.243, allocations: 1.078 kB / 372.5 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/2.243, allocations: 8.062 kB / 372.5 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/2.243, allocations: 3.938 kB / 372.5 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/2.243, allocations: 188.3 kB / 372.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/2.243, allocations: 0 / 372.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/2.243, allocations: 5.719 kB / 372.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/2.243, allocations: 35.95 kB / 372.8 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/2.243, allocations: 1.453 kB / 372.8 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/2.245, allocations: 1.427 MB / 374.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.245, allocations: 7.938 kB / 374.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003859/2.245, allocations: 203.8 kB / 374.4 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004929/2.246, allocations: 0.5709 MB / 375 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/2.246, allocations: 81.02 kB / 375.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/2.246, allocations: 5.641 kB / 375.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/2.246, allocations: 5.281 kB / 375.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/2.246, allocations: 5.609 kB / 375.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/2.246, allocations: 0 / 375.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001029/2.246, allocations: 112 kB / 375.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001453/2.248, allocations: 34.91 kB / 375.2 MB, free: 17.31 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.0001363/2.248, allocations: 107.8 kB / 375.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003962/2.248, allocations: 157.7 kB / 375.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/2.248, allocations: 0 / 375.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/2.249, allocations: 129.3 kB / 375.6 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.0002693/2.249, allocations: 17.38 kB / 375.6 MB, free: 17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/2.249, allocations: 143.6 kB / 375.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/2.25, allocations: 0.7265 MB / 376.5 MB, free: 16.21 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/2.25, allocations: 0 / 376.5 MB, free: 16.21 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat