Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.RealNetwork1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_RealNetwork1",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.693/1.693, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2391/1.933, allocations: 46.81 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/2.031, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2757/2.307, allocations: 71.8 MB / 365.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/2.307, allocations: 62.23 kB / 365.8 MB, free: 7.078 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.01279/2.32, allocations: 2.822 MB / 368.6 MB, free: 6.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/2.32, allocations: 7.75 kB / 368.6 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/2.32, allocations: 28.67 kB / 368.6 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/2.32, allocations: 229.6 kB / 368.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/2.32, allocations: 3.844 kB / 368.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/2.32, allocations: 7.875 kB / 368.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003541/2.321, allocations: 107.3 kB / 369 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/2.321, allocations: 161.2 kB / 369.1 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/2.321, allocations: 0 / 369.1 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/2.321, allocations: 0 / 369.1 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/2.321, allocations: 15.69 kB / 369.1 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/2.323, allocations: 0.7467 MB / 369.9 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/2.323, allocations: 146.5 kB / 370 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/2.323, allocations: 55.83 kB / 370.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/2.323, allocations: 5.625 kB / 370.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/2.323, allocations: 119.5 kB / 370.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 3.096e-06/2.324, allocations: 3.984 kB / 370.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004571/2.324, allocations: 160.4 kB / 370.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/2.324, allocations: 81.11 kB / 370.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/2.324, allocations: 173.4 kB / 370.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/2.324, allocations: 25.7 kB / 370.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/2.324, allocations: 123.7 kB / 370.8 MB, free: 5.172 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/2.324, allocations: 46.05 kB / 370.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/2.324, allocations: 0 / 370.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/2.325, allocations: 328.7 kB / 371.1 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/2.325, allocations: 50.89 kB / 371.2 MB, free: 20.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/2.325, allocations: 119.7 kB / 371.3 MB, free: 20.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/2.325, allocations: 72.44 kB / 371.4 MB, free: 20.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/2.325, allocations: 3.969 kB / 371.4 MB, free: 20.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004913/2.326, allocations: 203.5 kB / 371.6 MB, free: 20.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/2.326, allocations: 3.938 kB / 371.6 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/2.326, allocations: 3.844 kB / 371.6 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/2.326, allocations: 0 / 371.6 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/2.326, allocations: 40.8 kB / 371.6 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/2.326, allocations: 7.812 kB / 371.6 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/2.326, allocations: 33.2 kB / 371.6 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/2.326, allocations: 9.156 kB / 371.7 MB, free: 20.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0001164/2.327, allocations: 120.5 kB / 371.8 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/2.327, allocations: 19.5 kB / 371.8 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005122/2.327, allocations: 176.8 kB / 372 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/2.327, allocations: 0 / 372 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/2.327, allocations: 0 / 372 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/2.327, allocations: 5.391 kB / 372 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/2.328, allocations: 238 kB / 372.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/2.328, allocations: 0 / 372.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/2.328, allocations: 27.48 kB / 372.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/2.328, allocations: 3.844 kB / 372.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/2.328, allocations: 5.047 kB / 372.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/2.328, allocations: 0 / 372.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.328, allocations: 3.875 kB / 372.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000411/2.328, allocations: 205.1 kB / 372.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000535/2.329, allocations: 0.5747 MB / 373 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/2.329, allocations: 88.8 kB / 373.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/2.329, allocations: 5.531 kB / 373.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/2.329, allocations: 29.64 kB / 373.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/2.329, allocations: 17.86 kB / 373.2 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/2.329, allocations: 3.75 kB / 373.2 MB, free: 19.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001389/2.33, allocations: 143.5 kB / 373.3 MB, free: 19.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001313/2.331, allocations: 42.38 kB / 373.3 MB, free: 19.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001743/2.331, allocations: 104.2 kB / 373.4 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/2.331, allocations: 132.9 kB / 373.6 MB, free: 19.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/2.331, allocations: 3.844 kB / 373.6 MB, free: 19.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/2.332, allocations: 70.98 kB / 373.6 MB, free: 19.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/2.332, allocations: 33.22 kB / 373.7 MB, free: 19.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007811/2.333, allocations: 255 kB / 373.9 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/2.333, allocations: 0.7539 MB / 374.7 MB, free: 18.62 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/2.333, allocations: 7.969 kB / 374.7 MB, free: 18.61 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.RealNetwork1_res.mat does not exist to compare? outputFormat=mat