Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_IntegerNetwork1",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.817/1.817, allocations: 171.2 MB / 178.1 MB, free: 8.324 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2537/2.071, allocations: 41.09 MB / 219.2 MB, free: 11.21 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/2.164, allocations: 38.77 MB / 258 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2856/2.449, allocations: 67.17 MB / 325.2 MB, free: 4.836 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/2.45, allocations: 69.84 kB / 325.2 MB, free: 4.801 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.01451/2.464, allocations: 2.958 MB / 328.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/2.464, allocations: 8 kB / 328.2 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.847e-05/2.464, allocations: 23.72 kB / 328.2 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/2.465, allocations: 233.7 kB / 328.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/2.465, allocations: 4 kB / 328.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/2.465, allocations: 15.89 kB / 328.5 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00039/2.465, allocations: 114.4 kB / 328.6 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/2.466, allocations: 167.4 kB / 328.8 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/2.466, allocations: 0 / 328.8 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/2.466, allocations: 7.969 kB / 328.8 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.534e-05/2.466, allocations: 10.69 kB / 328.8 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/2.468, allocations: 0.7581 MB / 329.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/2.468, allocations: 128 kB / 329.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/2.468, allocations: 54.16 kB / 329.7 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/2.468, allocations: 3.938 kB / 329.7 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/2.469, allocations: 126.3 kB / 329.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.946e-06/2.469, allocations: 0 / 329.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005148/2.469, allocations: 156 kB / 330 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/2.469, allocations: 77.11 kB / 330.1 MB, free: 432 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/2.469, allocations: 188.3 kB / 330.2 MB, free: 260 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/2.47, allocations: 25.7 kB / 330.3 MB, free: 228 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/2.47, allocations: 122.2 kB / 330.4 MB, free: 112 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/2.47, allocations: 33.3 kB / 330.4 MB, free: 84 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/2.47, allocations: 0 / 330.4 MB, free: 84 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/2.47, allocations: 331.5 kB / 330.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/2.47, allocations: 49.98 kB / 330.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/2.47, allocations: 123.6 kB / 330.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/2.471, allocations: 65.27 kB / 331 MB, free: 15.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/2.471, allocations: 7.906 kB / 331 MB, free: 15.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005629/2.471, allocations: 210.9 kB / 331.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/2.471, allocations: 4 kB / 331.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/2.471, allocations: 0 / 331.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/2.471, allocations: 4.094 kB / 331.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/2.472, allocations: 55.66 kB / 331.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/2.472, allocations: 4 kB / 331.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/2.472, allocations: 31.83 kB / 331.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/2.472, allocations: 8 kB / 331.3 MB, free: 15.26 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (sum.u[1],product.u[1],product.u[2],product.y,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,multiSwitch1.expr[1],multiSwitch1.expr[2],triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001425/2.472, allocations: 134.2 kB / 331.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/2.472, allocations: 15.81 kB / 331.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/2.473, allocations: 114.9 kB / 331.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/2.473, allocations: 4 kB / 331.6 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/2.473, allocations: 3.984 kB / 331.6 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/2.473, allocations: 0 / 331.6 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009317/2.474, allocations: 438.5 kB / 332 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/2.474, allocations: 0 / 332 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/2.474, allocations: 19.98 kB / 332 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/2.474, allocations: 4 kB / 332 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/2.474, allocations: 4 kB / 332 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/2.474, allocations: 0 / 332 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/2.474, allocations: 0 / 332 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005351/2.475, allocations: 271.7 kB / 332.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006262/2.475, allocations: 0.6372 MB / 332.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/2.475, allocations: 104.1 kB / 333 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/2.475, allocations: 3.984 kB / 333 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/2.476, allocations: 23.98 kB / 333.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/2.476, allocations: 26.53 kB / 333.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/2.476, allocations: 7.984 kB / 333.1 MB, free: 13.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001659/2.476, allocations: 133.6 kB / 333.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001304/2.477, allocations: 39.66 kB / 333.3 MB, free: 13.34 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: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulsStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulsStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002447/2.478, allocations: 119.4 kB / 333.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004467/2.478, allocations: 137.8 kB / 333.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/2.478, allocations: 7.938 kB / 333.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/2.478, allocations: 69.47 kB / 333.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/2.479, allocations: 23.77 kB / 333.6 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009748/2.48, allocations: 246.1 kB / 333.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006055/2.481, allocations: 0.7587 MB / 334.6 MB, free: 12 MB / 282.7 MB Notification: Performance of SimCode: time 2.795e-06/2.481, allocations: 0 / 334.6 MB, free: 12 MB / 282.7 MB