Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_Interaction1",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.855/1.855, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2371/2.092, allocations: 46.83 MB / 249.3 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/2.198, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3122/2.51, allocations: 72.8 MB / 366.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/2.51, allocations: 68.73 kB / 366.7 MB, free: 7.141 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.05256/2.563, allocations: 8.005 MB / 374.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/2.563, allocations: 7.875 kB / 374.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/2.563, allocations: 39.8 kB / 374.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/2.564, allocations: 300.2 kB / 375 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/2.564, allocations: 7.25 kB / 375.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/2.564, allocations: 19.5 kB / 375.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003474/2.564, allocations: 128.9 kB / 375.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/2.565, allocations: 261.4 kB / 375.5 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/2.565, allocations: 4.438 kB / 375.5 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/2.565, allocations: 4.578 kB / 375.5 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/2.565, allocations: 4.5 kB / 375.5 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/2.566, allocations: 0.9881 MB / 376.5 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/2.567, allocations: 229.5 kB / 376.7 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/2.567, allocations: 162 kB / 376.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/2.567, allocations: 0 / 376.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006024/2.568, allocations: 498.3 kB / 377.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 2.845e-06/2.568, allocations: 0 / 377.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009684/2.569, allocations: 374.1 kB / 377.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003511/2.569, allocations: 497.8 kB / 378.2 MB, free: 19.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/2.569, allocations: 253.5 kB / 378.4 MB, free: 19.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/2.57, allocations: 44.75 kB / 378.5 MB, free: 19.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/2.57, allocations: 121.2 kB / 378.6 MB, free: 19.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.025e-05/2.57, allocations: 74.66 kB / 378.7 MB, free: 19.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/2.57, allocations: 0 / 378.7 MB, free: 19.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/2.57, allocations: 343.2 kB / 379 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/2.57, allocations: 142.1 kB / 379.1 MB, free: 19.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/2.571, allocations: 234.8 kB / 379.4 MB, free: 18.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/2.571, allocations: 172.5 kB / 379.5 MB, free: 18.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/2.571, allocations: 7.781 kB / 379.5 MB, free: 18.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001137/2.572, allocations: 445.7 kB / 380 MB, free: 18.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/2.573, allocations: 7.781 kB / 380 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/2.573, allocations: 0 / 380 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/2.573, allocations: 7.594 kB / 380 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/2.573, allocations: 19.55 kB / 380 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/2.573, allocations: 11.59 kB / 380 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/2.573, allocations: 27.48 kB / 380 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/2.573, allocations: 26.75 kB / 380.1 MB, free: 18.75 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index,$whenCondition8,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,$whenCondition7,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$whenCondition6,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,$PRE.stop.table.nextTime,stop.table.nextTime,$PRE.stop.table.index,stop.table.index,stop.pre_reset[1],$whenCondition1,$whenCondition2,$whenCondition3,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,$PRE.start.table.nextTime,start.table.nextTime,$PRE.start.table.index,start.table.index,start.pre_reset[1],booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 10 * 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.0004066/2.574, allocations: 340.2 kB / 380.4 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/2.574, allocations: 42.09 kB / 380.4 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.694e-05/2.574, allocations: 29.36 kB / 380.5 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/2.574, allocations: 4 kB / 380.5 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/2.574, allocations: 3.875 kB / 380.5 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/2.574, allocations: 7.891 kB / 380.5 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008949/2.575, allocations: 0.5569 MB / 381 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/2.575, allocations: 0 / 381 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/2.575, allocations: 7.812 kB / 381.1 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/2.575, allocations: 3.781 kB / 381.1 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/2.575, allocations: 19.27 kB / 381.1 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/2.575, allocations: 7.906 kB / 381.1 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/2.575, allocations: 3.938 kB / 381.1 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00107/2.576, allocations: 0.5679 MB / 381.7 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001207/2.577, allocations: 0.9528 MB / 382.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/2.577, allocations: 104.4 kB / 382.7 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/2.578, allocations: 34.86 kB / 382.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/2.578, allocations: 23.48 kB / 382.8 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/2.578, allocations: 27.16 kB / 382.8 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/2.578, allocations: 31.05 kB / 382.8 MB, free: 16.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003124/2.578, allocations: 194.2 kB / 383 MB, free: 16.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001782/2.58, allocations: 152.7 kB / 383.2 MB, free: 16.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,start.reset[1],start.on,start.table.y,start.table.nextTime,start.table.index,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.nextTime,stop.table.index,stop.pre_reset[1],$whenCondition7,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition8,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition9,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 30 (integerTable.index,integerTable.nextTime,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition8,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition7,stop.table.y,stop.table.nextTime,stop.table.index,$whenCondition4,$whenCondition6,stop.on,$whenCondition5,stop.pre_reset[1],stop.reset[1],start.table.y,start.table.nextTime,start.table.index,$whenCondition1,$whenCondition3,start.on,$whenCondition2,start.pre_reset[1],start.reset[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 6 * 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.0007038/2.581, allocations: 240.4 kB / 383.4 MB, free: 16.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009785/2.582, allocations: 0.5998 MB / 384 MB, free: 16.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/2.582, allocations: 3.938 kB / 384 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006409/2.583, allocations: 447.3 kB / 384.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/2.583, allocations: 28.17 kB / 384.5 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/2.584, allocations: 492.4 kB / 384.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/2.585, allocations: 0.7999 MB / 385.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/2.585, allocations: 0 / 385.7 MB, free: 15.18 MB / 314.7 MB