Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_BooleanNetwork1",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.683/1.683, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2304/1.914, allocations: 46.81 MB / 249.4 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/2.004, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2803/2.284, allocations: 74.36 MB / 368.3 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/2.284, allocations: 65.61 kB / 368.3 MB, free: 7.059 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.02265/2.307, allocations: 5.327 MB / 373.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/2.307, allocations: 7.719 kB / 373.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/2.307, allocations: 47.06 kB / 373.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/2.308, allocations: 301.9 kB / 374 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-05/2.308, allocations: 43.03 kB / 374 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/2.308, allocations: 27.95 kB / 374.1 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000661/2.308, allocations: 208 kB / 374.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/2.309, allocations: 349.6 kB / 374.6 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/2.309, allocations: 4.75 kB / 374.6 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/2.309, allocations: 8.344 kB / 374.6 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/2.309, allocations: 16.73 kB / 374.6 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/2.312, allocations: 1.504 MB / 376.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/2.312, allocations: 239.9 kB / 376.4 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/2.313, allocations: 124 kB / 376.5 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.818e-05/2.313, allocations: 9.734 kB / 376.5 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004979/2.313, allocations: 324.6 kB / 376.8 MB, free: 20.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.306e-06/2.313, allocations: 0 / 376.8 MB, free: 20.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009963/2.314, allocations: 285.5 kB / 377.1 MB, free: 20.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/2.315, allocations: 193.3 kB / 377.3 MB, free: 20.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/2.315, allocations: 248 kB / 377.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/2.315, allocations: 30.23 kB / 377.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/2.315, allocations: 163.1 kB / 377.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/2.315, allocations: 71.22 kB / 377.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/2.315, allocations: 0 / 377.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/2.315, allocations: 343.5 kB / 378.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/2.316, allocations: 106.9 kB / 378.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/2.316, allocations: 225.5 kB / 378.5 MB, free: 19.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005531/2.317, allocations: 144.5 kB / 378.6 MB, free: 19.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/2.317, allocations: 0 / 378.6 MB, free: 19.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00109/2.318, allocations: 371.7 kB / 379 MB, free: 19.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/2.318, allocations: 4.859 kB / 379 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/2.318, allocations: 7.812 kB / 379 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/2.318, allocations: 7.75 kB / 379 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/2.318, allocations: 42.8 kB / 379 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/2.318, allocations: 9.344 kB / 379 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/2.318, allocations: 28.08 kB / 379.1 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/2.319, allocations: 28.38 kB / 379.1 MB, free: 19.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,$PRE.rising.u,rising.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.falling.not_u,falling.not_u,$PRE.changing.u,changing.u,changing.y,set1.expr[1],set1.expr[2],showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * 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.000304/2.319, allocations: 206.3 kB / 379.3 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/2.319, allocations: 35.73 kB / 379.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008098/2.32, allocations: 232 kB / 379.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/2.32, allocations: 3.906 kB / 379.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/2.32, allocations: 0.6094 kB / 379.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/2.32, allocations: 1.594 kB / 379.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/2.322, allocations: 0.8059 MB / 380.4 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/2.322, allocations: 0.7969 kB / 380.4 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/2.322, allocations: 24.83 kB / 380.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/2.322, allocations: 0 / 380.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/2.322, allocations: 9.938 kB / 380.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/2.322, allocations: 4.422 kB / 380.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/2.322, allocations: 0 / 380.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009891/2.323, allocations: 0.5122 MB / 380.9 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001104/2.324, allocations: 0.8781 MB / 381.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/2.324, allocations: 108.4 kB / 381.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/2.324, allocations: 11.61 kB / 381.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/2.325, allocations: 23.42 kB / 381.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/2.325, allocations: 45.61 kB / 382 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/2.325, allocations: 14.28 kB / 382 MB, free: 17.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000218/2.325, allocations: 162 kB / 382.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001706/2.327, allocations: 88.44 kB / 382.2 MB, free: 17.51 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 38 (onDelay.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 14 (rising.u,falling.not_u,set1.y,changing.u,triggeredAdd.y,rSFlipFlop.pre.u,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay.t_next,onDelay.delaySignal,$whenCondition2,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * 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.0003994/2.327, allocations: 161 kB / 382.4 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007668/2.328, allocations: 386.4 kB / 382.8 MB, free: 17.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/2.328, allocations: 0 / 382.8 MB, free: 17.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/2.329, allocations: 240 kB / 383 MB, free: 17.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/2.329, allocations: 40.41 kB / 383 MB, free: 17.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/2.33, allocations: 464.5 kB / 383.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/2.331, allocations: 0.8349 MB / 384.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/2.331, allocations: 0 / 384.3 MB, free: 16.21 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.BooleanNetwork1_res.mat does not exist to compare? outputFormat=mat