Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.RealNetwork1,fileNamePrefix="Modelica_3_2_2_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.873/1.873, allocations: 194.9 MB / 202.5 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3002/2.173, allocations: 46.81 MB / 249.3 MB, free: 5.367 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/2.286, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2937/2.579, allocations: 71.79 MB / 365.6 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/2.58, allocations: 68.47 kB / 365.7 MB, free: 7.113 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.0125/2.592, allocations: 2.814 MB / 368.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/2.592, allocations: 11.47 kB / 368.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/2.592, allocations: 23.28 kB / 368.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/2.593, allocations: 227.1 kB / 368.8 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/2.593, allocations: 9.141 kB / 368.8 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/2.593, allocations: 7.5 kB / 368.8 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003653/2.593, allocations: 107.3 kB / 368.9 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/2.593, allocations: 166.7 kB / 369 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/2.594, allocations: 0.9375 kB / 369 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/2.594, allocations: 0 / 369 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/2.594, allocations: 5.188 kB / 369.1 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/2.595, allocations: 0.7562 MB / 369.8 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/2.595, allocations: 135.9 kB / 369.9 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/2.595, allocations: 68.23 kB / 370 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.944e-05/2.596, allocations: 4.156 kB / 370 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/2.596, allocations: 129.2 kB / 370.1 MB, free: 5.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.995e-06/2.596, allocations: 0 / 370.1 MB, free: 5.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004605/2.596, allocations: 153.6 kB / 370.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/2.596, allocations: 81.05 kB / 370.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/2.597, allocations: 168.8 kB / 370.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/2.597, allocations: 25.7 kB / 370.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/2.597, allocations: 135.8 kB / 370.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/2.597, allocations: 38.34 kB / 370.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/2.597, allocations: 0 / 370.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/2.597, allocations: 335.5 kB / 371.1 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/2.597, allocations: 50.83 kB / 371.1 MB, free: 20.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/2.597, allocations: 110.4 kB / 371.2 MB, free: 20.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/2.597, allocations: 71.73 kB / 371.3 MB, free: 20.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/2.597, allocations: 3.906 kB / 371.3 MB, free: 20.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004858/2.598, allocations: 202.4 kB / 371.5 MB, free: 20.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/2.598, allocations: 7.969 kB / 371.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/2.598, allocations: 3.938 kB / 371.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/2.598, allocations: 3.781 kB / 371.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/2.598, allocations: 36.14 kB / 371.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/2.598, allocations: 7.844 kB / 371.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/2.599, allocations: 32.75 kB / 371.6 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/2.599, allocations: 8.75 kB / 371.6 MB, free: 20.71 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.0001309/2.599, allocations: 119.8 kB / 371.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/2.599, allocations: 24.5 kB / 371.7 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/2.599, allocations: 173.9 kB / 371.9 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/2.599, allocations: 3.781 kB / 371.9 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/2.6, allocations: 0 / 371.9 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/2.6, allocations: 1.359 kB / 371.9 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/2.6, allocations: 236 kB / 372.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/2.6, allocations: 3.938 kB / 372.1 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/2.6, allocations: 30.86 kB / 372.2 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/2.6, allocations: 0 / 372.2 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/2.6, allocations: 5.312 kB / 372.2 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/2.6, allocations: 4 kB / 372.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/2.6, allocations: 0 / 372.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004111/2.601, allocations: 199.2 kB / 372.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005958/2.601, allocations: 0.5842 MB / 373 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/2.601, allocations: 92.67 kB / 373 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/2.601, allocations: 5.531 kB / 373 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/2.602, allocations: 28.92 kB / 373.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/2.602, allocations: 21.19 kB / 373.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/2.602, allocations: 5.641 kB / 373.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001529/2.602, allocations: 136.5 kB / 373.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001224/2.603, allocations: 35.06 kB / 373.3 MB, free: 19.58 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.0001946/2.603, allocations: 102.5 kB / 373.4 MB, free: 19.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003849/2.604, allocations: 143.2 kB / 373.5 MB, free: 19.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/2.604, allocations: 0 / 373.5 MB, free: 19.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/2.604, allocations: 69.88 kB / 373.6 MB, free: 19.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/2.605, allocations: 34.14 kB / 373.6 MB, free: 19.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007918/2.605, allocations: 246.8 kB / 373.9 MB, free: 19.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/2.606, allocations: 0.7623 MB / 374.6 MB, free: 18.65 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/2.606, allocations: 0 / 374.6 MB, free: 18.65 MB / 314.7 MB