Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_3_2_2_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.768/1.768, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2576/2.026, allocations: 46.82 MB / 249.3 MB, free: 5.371 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/2.119, allocations: 44.5 MB / 293.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.287/2.406, allocations: 72.17 MB / 366 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/2.406, allocations: 62.88 kB / 366.1 MB, free: 7.207 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.01307/2.419, allocations: 2.937 MB / 369 MB, free: 6.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/2.419, allocations: 7.75 kB / 369 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/2.419, allocations: 23.34 kB / 369 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/2.42, allocations: 241.5 kB / 369.3 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/2.42, allocations: 3.938 kB / 369.3 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/2.42, allocations: 11.59 kB / 369.3 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003366/2.42, allocations: 114.8 kB / 369.4 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/2.421, allocations: 170.9 kB / 369.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/2.421, allocations: 3.938 kB / 369.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/2.421, allocations: 5.828 kB / 369.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/2.421, allocations: 7.75 kB / 369.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/2.422, allocations: 0.758 MB / 370.3 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/2.423, allocations: 128.6 kB / 370.5 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/2.423, allocations: 50.34 kB / 370.5 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/2.423, allocations: 9.359 kB / 370.5 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/2.423, allocations: 133 kB / 370.7 MB, free: 5.695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.855e-06/2.423, allocations: 0 / 370.7 MB, free: 5.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004692/2.424, allocations: 145.7 kB / 370.8 MB, free: 5.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/2.424, allocations: 85.95 kB / 370.9 MB, free: 5.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/2.424, allocations: 188.4 kB / 371.1 MB, free: 5.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/2.424, allocations: 25.7 kB / 371.1 MB, free: 5.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/2.424, allocations: 126.1 kB / 371.2 MB, free: 5.305 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/2.424, allocations: 32.84 kB / 371.2 MB, free: 5.289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/2.424, allocations: 96 / 371.2 MB, free: 5.289 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/2.424, allocations: 336.9 kB / 371.6 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/2.424, allocations: 50.19 kB / 371.6 MB, free: 20.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/2.425, allocations: 121.9 kB / 371.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/2.425, allocations: 63.33 kB / 371.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/2.425, allocations: 4 kB / 371.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004993/2.425, allocations: 204.8 kB / 372 MB, free: 20.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/2.425, allocations: 7.719 kB / 372 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/2.425, allocations: 1.219 kB / 372 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.676e-05/2.425, allocations: 7.781 kB / 372 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/2.426, allocations: 45.25 kB / 372.1 MB, free: 20.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/2.426, allocations: 11.72 kB / 372.1 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/2.426, allocations: 29.58 kB / 372.1 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/2.426, allocations: 7.906 kB / 372.1 MB, free: 20.8 MB / 314.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.0001389/2.426, allocations: 128 kB / 372.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/2.426, allocations: 15.53 kB / 372.3 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/2.427, allocations: 111 kB / 372.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/2.427, allocations: 9.266 kB / 372.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/2.427, allocations: 3.938 kB / 372.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/2.427, allocations: 0 / 372.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008396/2.428, allocations: 440.6 kB / 372.8 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/2.428, allocations: 128 / 372.8 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/2.428, allocations: 23.61 kB / 372.8 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/2.428, allocations: 0 / 372.8 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/2.428, allocations: 9.375 kB / 372.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/2.428, allocations: 0 / 372.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/2.428, allocations: 0 / 372.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004474/2.428, allocations: 271.2 kB / 373.1 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005517/2.429, allocations: 0.6359 MB / 373.7 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/2.429, allocations: 90.06 kB / 373.8 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/2.429, allocations: 3.812 kB / 373.8 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/2.43, allocations: 26.42 kB / 373.9 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/2.43, allocations: 23.5 kB / 373.9 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/2.43, allocations: 8.938 kB / 373.9 MB, free: 19.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001625/2.43, allocations: 129.3 kB / 374 MB, free: 19.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001301/2.431, allocations: 48.11 kB / 374.1 MB, free: 19.44 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: 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.0002296/2.431, allocations: 117 kB / 374.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004141/2.432, allocations: 137.4 kB / 374.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.432, allocations: 0 / 374.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/2.432, allocations: 64.91 kB / 374.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/2.433, allocations: 28.23 kB / 374.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/2.433, allocations: 250.4 kB / 374.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/2.434, allocations: 0.7522 MB / 375.4 MB, free: 18.5 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/2.434, allocations: 0 / 375.4 MB, free: 18.5 MB / 314.7 MB