Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ShowVariableResistor",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.894/1.894, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2264/2.12, allocations: 46.83 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/2.212, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/2.539, allocations: 72.39 MB / 366.2 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/2.539, allocations: 67.72 kB / 366.3 MB, free: 7.16 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.02246/2.562, allocations: 5.177 MB / 371.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/2.562, allocations: 11.59 kB / 371.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/2.562, allocations: 40.11 kB / 371.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/2.562, allocations: 265.7 kB / 371.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/2.562, allocations: 11.72 kB / 371.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/2.562, allocations: 15.22 kB / 371.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005475/2.563, allocations: 168.8 kB / 372 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/2.564, allocations: 192.7 kB / 372.2 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/2.564, allocations: 0 / 372.2 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/2.564, allocations: 1.203 kB / 372.2 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/2.564, allocations: 11.69 kB / 372.2 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/2.567, allocations: 0.9304 MB / 373.1 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/2.567, allocations: 178.9 kB / 373.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/2.568, allocations: 97.62 kB / 373.4 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/2.568, allocations: 192 / 373.4 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/2.568, allocations: 42.91 kB / 373.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.254e-06/2.568, allocations: 4 kB / 373.4 MB, free: 5.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008275/2.568, allocations: 218.2 kB / 373.6 MB, free: 5.512 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/2.569, allocations: 56.8 kB / 373.7 MB, free: 5.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/2.569, allocations: 199.4 kB / 373.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/2.569, allocations: 31.08 kB / 373.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/2.569, allocations: 170.4 kB / 374.1 MB, free: 5.188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/2.569, allocations: 67.47 kB / 374.1 MB, free: 5.145 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/2.569, allocations: 0 / 374.1 MB, free: 5.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/2.569, allocations: 331.8 kB / 374.5 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/2.57, allocations: 53.59 kB / 374.5 MB, free: 20.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/2.57, allocations: 79.06 kB / 374.6 MB, free: 20.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/2.57, allocations: 68.02 kB / 374.7 MB, free: 20.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/2.57, allocations: 4 kB / 374.7 MB, free: 20.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008126/2.571, allocations: 255.4 kB / 374.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/2.571, allocations: 5.047 kB / 374.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/2.571, allocations: 3.875 kB / 374.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/2.572, allocations: 76.3 kB / 375 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/2.572, allocations: 37.67 kB / 375 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/2.575, allocations: 2.707 MB / 377.7 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/2.576, allocations: 23.11 kB / 377.8 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/2.576, allocations: 6.75 kB / 377.8 MB, free: 18.25 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.000156/2.576, allocations: 117.1 kB / 377.9 MB, free: 18.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/2.576, allocations: 27.53 kB / 377.9 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.811e-05/2.576, allocations: 26.38 kB / 377.9 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/2.576, allocations: 3.75 kB / 377.9 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/2.576, allocations: 3.5 kB / 377.9 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/2.576, allocations: 1.406 kB / 378 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/2.578, allocations: 0.5687 MB / 378.5 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/2.578, allocations: 4.188 kB / 378.5 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/2.578, allocations: 36.98 kB / 378.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/2.578, allocations: 72.62 kB / 378.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/2.578, allocations: 7.906 kB / 378.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003048/2.581, allocations: 2.68 MB / 381.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/2.582, allocations: 0 / 381.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007391/2.582, allocations: 322.8 kB / 381.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008015/2.583, allocations: 0.6935 MB / 382.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/2.583, allocations: 106.1 kB / 382.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/2.583, allocations: 7.938 kB / 382.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/2.584, allocations: 38.2 kB / 382.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/2.584, allocations: 13.41 kB / 382.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/2.584, allocations: 8.281 kB / 382.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002424/2.584, allocations: 163 kB / 382.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001433/2.586, allocations: 86.02 kB / 382.7 MB, free: 14.45 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.0002047/2.586, allocations: 95.38 kB / 382.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009325/2.587, allocations: 376.2 kB / 383.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/2.587, allocations: 3.906 kB / 383.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/2.587, allocations: 291.9 kB / 383.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/2.588, allocations: 34.31 kB / 383.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/2.589, allocations: 300.7 kB / 383.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/2.59, allocations: 0.7876 MB / 384.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/2.59, allocations: 0 / 384.6 MB, free: 13.09 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat