Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_ShowVariableResistor",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.719/1.719, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2447/1.963, allocations: 46.82 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/2.052, allocations: 44.52 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2776/2.329, allocations: 72.38 MB / 366.3 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/2.33, allocations: 69.91 kB / 366.4 MB, free: 7.012 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.02105/2.351, allocations: 5.182 MB / 371.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/2.351, allocations: 7.781 kB / 371.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.975e-05/2.351, allocations: 42.94 kB / 371.6 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/2.351, allocations: 260.1 kB / 371.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/2.351, allocations: 15.66 kB / 371.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/2.351, allocations: 21.08 kB / 371.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005308/2.352, allocations: 166.2 kB / 372 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/2.352, allocations: 192.4 kB / 372.2 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/2.352, allocations: 0 / 372.2 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/2.352, allocations: 4 kB / 372.2 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/2.353, allocations: 12.86 kB / 372.2 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/2.355, allocations: 0.9336 MB / 373.2 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/2.356, allocations: 170.3 kB / 373.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/2.356, allocations: 104.9 kB / 373.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/2.356, allocations: 4.031 kB / 373.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/2.356, allocations: 34.75 kB / 373.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.545e-06/2.356, allocations: 0 / 373.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007464/2.357, allocations: 216.5 kB / 373.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/2.357, allocations: 60.36 kB / 373.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/2.357, allocations: 198.1 kB / 373.9 MB, free: 5.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/2.357, allocations: 25.7 kB / 374 MB, free: 5.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/2.357, allocations: 177.5 kB / 374.1 MB, free: 5.035 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/2.357, allocations: 64.75 kB / 374.2 MB, free: 4.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/2.357, allocations: 0 / 374.2 MB, free: 4.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/2.357, allocations: 329 kB / 374.5 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/2.358, allocations: 55.19 kB / 374.6 MB, free: 20.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/2.358, allocations: 83 kB / 374.7 MB, free: 20.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/2.358, allocations: 76.64 kB / 374.7 MB, free: 20.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/2.358, allocations: 0 / 374.7 MB, free: 20.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007259/2.359, allocations: 258.6 kB / 375 MB, free: 20.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/2.359, allocations: 3.938 kB / 375 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/2.359, allocations: 0 / 375 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003991/2.359, allocations: 70.83 kB / 375.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/2.36, allocations: 45.78 kB / 375.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/2.363, allocations: 2.695 MB / 377.8 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/2.363, allocations: 30.28 kB / 377.8 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/2.363, allocations: 7.875 kB / 377.8 MB, free: 18.09 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 (20): * Single equations (assignments): 18 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001396/2.363, allocations: 117.2 kB / 378 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/2.363, allocations: 27.86 kB / 378 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.348e-05/2.364, allocations: 24.59 kB / 378 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/2.364, allocations: 0 / 378 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/2.364, allocations: 3.875 kB / 378 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/2.364, allocations: 1.359 kB / 378 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/2.365, allocations: 0.5767 MB / 378.6 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/2.365, allocations: 3.938 kB / 378.6 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/2.365, allocations: 32.62 kB / 378.6 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003275/2.365, allocations: 79.2 kB / 378.7 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/2.365, allocations: 3.906 kB / 378.7 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003021/2.369, allocations: 2.687 MB / 381.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/2.369, allocations: 0 / 381.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007031/2.369, allocations: 323.6 kB / 381.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008178/2.37, allocations: 0.6941 MB / 382.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.595e-05/2.37, allocations: 106.3 kB / 382.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/2.37, allocations: 0.8906 kB / 382.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/2.371, allocations: 41.28 kB / 382.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/2.371, allocations: 8.984 kB / 382.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/2.371, allocations: 8.188 kB / 382.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002329/2.371, allocations: 162.1 kB / 382.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001539/2.373, allocations: 84.53 kB / 382.8 MB, free: 14.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 (13): * Single equations (assignments): 11 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001624/2.373, allocations: 103.4 kB / 382.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008302/2.374, allocations: 372.5 kB / 383.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/2.374, allocations: 0 / 383.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004936/2.374, allocations: 294.2 kB / 383.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/2.375, allocations: 41.03 kB / 383.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009584/2.376, allocations: 300 kB / 383.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000543/2.376, allocations: 0.7838 MB / 384.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/2.376, allocations: 3.938 kB / 384.7 MB, free: 12.93 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat