Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.RealNetwork1,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_RealNetwork1",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.711/1.711, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1884/1.9, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/2.011, allocations: 38.76 MB / 258 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/2.306, allocations: 66.81 MB / 324.8 MB, free: 5.156 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/2.307, allocations: 62.53 kB / 324.9 MB, free: 5.125 MB / 266.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.01993/2.326, allocations: 2.828 MB / 327.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/2.327, allocations: 12 kB / 327.7 MB, free: 2.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/2.327, allocations: 19.72 kB / 327.7 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/2.327, allocations: 236.7 kB / 328 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/2.327, allocations: 7.906 kB / 328 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/2.327, allocations: 12 kB / 328 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003778/2.328, allocations: 109.8 kB / 328.1 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/2.328, allocations: 166.8 kB / 328.3 MB, free: 2.102 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/2.328, allocations: 0 / 328.3 MB, free: 2.102 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/2.328, allocations: 0 / 328.3 MB, free: 2.102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/2.328, allocations: 8 kB / 328.3 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/2.33, allocations: 0.7534 MB / 329 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/2.33, allocations: 136 kB / 329.1 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/2.331, allocations: 58.02 kB / 329.2 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.524e-05/2.331, allocations: 15.67 kB / 329.2 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/2.331, allocations: 129.5 kB / 329.3 MB, free: 1.051 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.996e-06/2.331, allocations: 0 / 329.3 MB, free: 1.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005333/2.331, allocations: 145.6 kB / 329.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/2.332, allocations: 93.02 kB / 329.6 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/2.332, allocations: 168.6 kB / 329.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/2.332, allocations: 25.7 kB / 329.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/2.332, allocations: 123 kB / 329.9 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/2.332, allocations: 46.8 kB / 329.9 MB, free: 488 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/2.332, allocations: 0 / 329.9 MB, free: 488 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/2.332, allocations: 325.4 kB / 330.2 MB, free: 160 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/2.332, allocations: 57.78 kB / 330.3 MB, free: 120 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/2.333, allocations: 100.8 kB / 330.4 MB, free: 16 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/2.333, allocations: 74.27 kB / 330.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/2.333, allocations: 0 / 330.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006436/2.334, allocations: 196.8 kB / 330.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/2.334, allocations: 8.188 kB / 330.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/2.334, allocations: 4 kB / 330.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/2.334, allocations: 3.906 kB / 330.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/2.334, allocations: 39.91 kB / 330.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/2.334, allocations: 4.234 kB / 330.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/2.334, allocations: 35.83 kB / 330.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/2.334, allocations: 7.5 kB / 330.8 MB, free: 15.7 MB / 282.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.000127/2.334, allocations: 112.9 kB / 330.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/2.335, allocations: 23.8 kB / 330.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005817/2.335, allocations: 180 kB / 331.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/2.335, allocations: 8 kB / 331.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/2.335, allocations: 112 / 331.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/2.335, allocations: 3.938 kB / 331.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/2.336, allocations: 240.5 kB / 331.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/2.336, allocations: 96 / 331.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/2.336, allocations: 27.92 kB / 331.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/2.336, allocations: 0 / 331.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/2.336, allocations: 4 kB / 331.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/2.336, allocations: 4 kB / 331.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/2.336, allocations: 11.92 kB / 331.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004551/2.336, allocations: 200.8 kB / 331.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005746/2.337, allocations: 0.5757 MB / 332.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/2.337, allocations: 100.7 kB / 332.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/2.337, allocations: 3.984 kB / 332.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/2.338, allocations: 23.98 kB / 332.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/2.338, allocations: 15.97 kB / 332.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/2.338, allocations: 7.75 kB / 332.3 MB, free: 14.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001656/2.338, allocations: 135.4 kB / 332.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001273/2.339, allocations: 35.84 kB / 332.5 MB, free: 14.04 MB / 282.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.0001898/2.339, allocations: 100.1 kB / 332.6 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004323/2.34, allocations: 150.7 kB / 332.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/2.34, allocations: 0 / 332.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/2.34, allocations: 65.42 kB / 332.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/2.34, allocations: 38.38 kB / 332.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000891/2.341, allocations: 248.2 kB / 333 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/2.342, allocations: 0.7707 MB / 333.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/2.342, allocations: 0 / 333.8 MB, free: 12.71 MB / 282.7 MB