Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_ChuaCircuit",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.704/1.704, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2131/1.917, allocations: 46.83 MB / 249.4 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09044/2.008, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2835/2.291, allocations: 71.39 MB / 365.3 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/2.292, allocations: 66.75 kB / 365.4 MB, free: 7.074 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.01318/2.305, allocations: 3.248 MB / 368.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/2.305, allocations: 11.62 kB / 368.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/2.305, allocations: 19.47 kB / 368.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/2.305, allocations: 219.9 kB / 368.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/2.305, allocations: 7.75 kB / 368.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/2.305, allocations: 9.344 kB / 368.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003559/2.306, allocations: 111.4 kB / 369 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/2.306, allocations: 133.4 kB / 369.1 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/2.306, allocations: 0 / 369.1 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/2.306, allocations: 0 / 369.1 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/2.306, allocations: 11.62 kB / 369.1 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/2.308, allocations: 0.7218 MB / 369.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/2.308, allocations: 97.19 kB / 369.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/2.308, allocations: 76.97 kB / 370 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/2.308, allocations: 0 / 370 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/2.308, allocations: 39.27 kB / 370 MB, free: 5.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/2.308, allocations: 0 / 370 MB, free: 5.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003558/2.309, allocations: 113.6 kB / 370.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/2.309, allocations: 59.16 kB / 370.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/2.309, allocations: 124.8 kB / 370.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/2.309, allocations: 25.7 kB / 370.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/2.309, allocations: 134.1 kB / 370.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/2.309, allocations: 47.16 kB / 370.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/2.309, allocations: 0 / 370.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.965e-05/2.309, allocations: 322.9 kB / 370.9 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/2.309, allocations: 39.94 kB / 370.9 MB, free: 21.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/2.31, allocations: 64.5 kB / 371 MB, free: 21.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/2.31, allocations: 42.92 kB / 371 MB, free: 21.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/2.31, allocations: 0 / 371 MB, free: 21.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003493/2.31, allocations: 141.8 kB / 371.1 MB, free: 20.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/2.31, allocations: 3.875 kB / 371.1 MB, free: 20.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/2.31, allocations: 0 / 371.1 MB, free: 20.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/2.31, allocations: 3.875 kB / 371.1 MB, free: 20.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/2.311, allocations: 50.02 kB / 371.2 MB, free: 20.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/2.311, allocations: 0 / 371.2 MB, free: 20.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/2.311, allocations: 18.28 kB / 371.2 MB, free: 20.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/2.311, allocations: 6.625 kB / 371.2 MB, free: 20.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.749e-05/2.311, allocations: 108.7 kB / 371.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/2.311, allocations: 15.56 kB / 371.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/2.311, allocations: 17 kB / 371.4 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/2.311, allocations: 3.875 kB / 371.4 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/2.311, allocations: 0 / 371.4 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/2.311, allocations: 2.062 kB / 371.4 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/2.311, allocations: 229.2 kB / 371.6 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/2.312, allocations: 4 kB / 371.6 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/2.312, allocations: 37.3 kB / 371.6 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/2.312, allocations: 3.844 kB / 371.6 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/2.312, allocations: 4 kB / 371.6 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/2.312, allocations: 1.359 kB / 371.6 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/2.312, allocations: 0 / 371.6 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004548/2.312, allocations: 268.1 kB / 371.9 MB, free: 20.53 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006661/2.313, allocations: 0.6683 MB / 372.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/2.313, allocations: 90.38 kB / 372.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/2.313, allocations: 3.906 kB / 372.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/2.314, allocations: 19.03 kB / 372.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/2.314, allocations: 2.953 kB / 372.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/2.314, allocations: 8.984 kB / 372.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001045/2.314, allocations: 108.5 kB / 372.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001397/2.315, allocations: 46.91 kB / 372.8 MB, free: 19.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001697/2.315, allocations: 111.8 kB / 373 MB, free: 19.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002875/2.316, allocations: 98.05 kB / 373 MB, free: 19.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.316, allocations: 0 / 373 MB, free: 19.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/2.316, allocations: 54 kB / 373.1 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/2.316, allocations: 22.98 kB / 373.1 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/2.317, allocations: 389.1 kB / 373.5 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/2.318, allocations: 0.7462 MB / 374.2 MB, free: 18.76 MB / 314.7 MB Notification: Performance of SimCode: time 1.313e-06/2.318, allocations: 4 kB / 374.3 MB, free: 18.76 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat