Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_IntegerNetwork1",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.71/1.71, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2014/1.912, allocations: 46.82 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/2.002, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2776/2.28, allocations: 72.17 MB / 366.1 MB, free: 7.016 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/2.28, allocations: 64.97 kB / 366.1 MB, free: 7.016 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.01319/2.294, allocations: 2.933 MB / 369.1 MB, free: 6.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/2.294, allocations: 7.75 kB / 369.1 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/2.294, allocations: 23.31 kB / 369.1 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/2.294, allocations: 241.7 kB / 369.3 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/2.294, allocations: 11.88 kB / 369.3 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/2.294, allocations: 8.953 kB / 369.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003479/2.295, allocations: 108.3 kB / 369.5 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/2.295, allocations: 172.3 kB / 369.6 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/2.295, allocations: 3.938 kB / 369.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/2.295, allocations: 0 / 369.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/2.295, allocations: 11.72 kB / 369.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/2.296, allocations: 0.7634 MB / 370.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/2.297, allocations: 133.6 kB / 370.5 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/2.297, allocations: 50.5 kB / 370.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.983e-05/2.297, allocations: 1.359 kB / 370.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/2.297, allocations: 130.5 kB / 370.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.996e-06/2.297, allocations: 0 / 370.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004774/2.298, allocations: 151.3 kB / 370.9 MB, free: 5.457 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/2.298, allocations: 86.97 kB / 370.9 MB, free: 5.355 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/2.298, allocations: 186.4 kB / 371.1 MB, free: 5.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/2.298, allocations: 25.7 kB / 371.2 MB, free: 5.215 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/2.298, allocations: 125.2 kB / 371.3 MB, free: 5.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/2.298, allocations: 33.75 kB / 371.3 MB, free: 5.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/2.298, allocations: 0 / 371.3 MB, free: 5.094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/2.299, allocations: 332.6 kB / 371.6 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/2.299, allocations: 52.17 kB / 371.7 MB, free: 20.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/2.299, allocations: 120.6 kB / 371.8 MB, free: 20.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/2.299, allocations: 70.92 kB / 371.9 MB, free: 20.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/2.299, allocations: 0 / 371.9 MB, free: 20.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005169/2.3, allocations: 204.8 kB / 372.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/2.3, allocations: 3.906 kB / 372.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/2.3, allocations: 3.875 kB / 372.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/2.3, allocations: 4.094 kB / 372.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/2.3, allocations: 41.66 kB / 372.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/2.3, allocations: 13.38 kB / 372.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/2.301, allocations: 35.84 kB / 372.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/2.301, allocations: 7.844 kB / 372.2 MB, free: 20.61 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.0001425/2.301, allocations: 123.2 kB / 372.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/2.301, allocations: 24.59 kB / 372.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/2.301, allocations: 109.4 kB / 372.4 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/2.301, allocations: 3.906 kB / 372.4 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/2.301, allocations: 3.938 kB / 372.4 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/2.301, allocations: 9.375 kB / 372.4 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008807/2.302, allocations: 427.2 kB / 372.9 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/2.302, allocations: 0 / 372.9 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/2.302, allocations: 32.2 kB / 372.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/2.302, allocations: 5.328 kB / 372.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/2.302, allocations: 1.828 kB / 372.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/2.302, allocations: 0 / 372.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/2.302, allocations: 3.781 kB / 372.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004397/2.303, allocations: 262.6 kB / 373.2 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006166/2.304, allocations: 0.6343 MB / 373.8 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/2.304, allocations: 95.42 kB / 373.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/2.304, allocations: 1.172 kB / 373.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/2.304, allocations: 24.77 kB / 373.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/2.304, allocations: 27.06 kB / 373.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/2.304, allocations: 5.422 kB / 373.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001462/2.304, allocations: 135.2 kB / 374.1 MB, free: 19.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001435/2.306, allocations: 43.94 kB / 374.1 MB, free: 19.25 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.0002158/2.306, allocations: 120.5 kB / 374.2 MB, free: 19.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004293/2.307, allocations: 139.2 kB / 374.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/2.307, allocations: 0 / 374.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/2.307, allocations: 67.36 kB / 374.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/2.307, allocations: 33.77 kB / 374.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009089/2.308, allocations: 240 kB / 374.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/2.309, allocations: 0.7582 MB / 375.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/2.309, allocations: 0 / 375.5 MB, free: 18.3 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.IntegerNetwork1_res.mat does not exist to compare? outputFormat=mat