Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_3_2_1_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.861/1.861, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2003/2.061, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/2.158, allocations: 38.76 MB / 258 MB, free: 4.375 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3109/2.469, allocations: 67.74 MB / 325.7 MB, free: 4.285 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/2.469, allocations: 67.47 kB / 325.8 MB, free: 4.25 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.04882/2.518, allocations: 7.943 MB / 333.8 MB, free: 13.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/2.518, allocations: 8 kB / 333.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/2.518, allocations: 35.62 kB / 333.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/2.519, allocations: 290.2 kB / 334.1 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/2.519, allocations: 12 kB / 334.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/2.519, allocations: 12 kB / 334.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004015/2.519, allocations: 127.6 kB / 334.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/2.52, allocations: 256.9 kB / 334.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/2.52, allocations: 3.938 kB / 334.5 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/2.52, allocations: 4 kB / 334.5 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/2.52, allocations: 8 kB / 334.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/2.521, allocations: 0.979 MB / 335.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/2.522, allocations: 228.7 kB / 335.7 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/2.522, allocations: 156.3 kB / 335.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/2.522, allocations: 0 / 335.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007213/2.523, allocations: 477.9 kB / 336.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 3.046e-06/2.523, allocations: 0 / 336.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001527/2.525, allocations: 366.4 kB / 336.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003521/2.525, allocations: 497.4 kB / 337.2 MB, free: 9.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/2.526, allocations: 252.5 kB / 337.4 MB, free: 9.691 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.519e-05/2.526, allocations: 36.58 kB / 337.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/2.526, allocations: 119.1 kB / 337.6 MB, free: 9.543 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/2.526, allocations: 77.19 kB / 337.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/2.526, allocations: 4.062 kB / 337.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/2.526, allocations: 352.2 kB / 338 MB, free: 9.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/2.527, allocations: 131.6 kB / 338.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/2.527, allocations: 226.4 kB / 338.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005841/2.528, allocations: 167.4 kB / 338.5 MB, free: 8.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/2.528, allocations: 0 / 338.5 MB, free: 8.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001243/2.529, allocations: 438.3 kB / 338.9 MB, free: 8.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/2.529, allocations: 8 kB / 338.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/2.529, allocations: 4 kB / 338.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/2.529, allocations: 4 kB / 338.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/2.529, allocations: 20.11 kB / 339 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/2.529, allocations: 8 kB / 339 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/2.53, allocations: 23.83 kB / 339 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/2.53, allocations: 19.62 kB / 339 MB, free: 8.262 MB / 282.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: 52 ($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,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.0004172/2.53, allocations: 333.1 kB / 339.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/2.53, allocations: 35.62 kB / 339.4 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/2.53, allocations: 28.58 kB / 339.4 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/2.53, allocations: 4 kB / 339.4 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/2.53, allocations: 3.938 kB / 339.4 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/2.53, allocations: 7.906 kB / 339.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/2.531, allocations: 0.5585 MB / 340 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/2.532, allocations: 0 / 340 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.732e-05/2.532, allocations: 4 kB / 340 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/2.532, allocations: 0 / 340 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/2.532, allocations: 18.92 kB / 340 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/2.532, allocations: 4 kB / 340 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/2.532, allocations: 7.984 kB / 340 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001797/2.534, allocations: 0.5633 MB / 340.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001805/2.536, allocations: 0.9334 MB / 341.5 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/2.536, allocations: 104.7 kB / 341.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/2.536, allocations: 19.94 kB / 341.6 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/2.536, allocations: 31.97 kB / 341.7 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/2.536, allocations: 23.22 kB / 341.7 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/2.537, allocations: 31.59 kB / 341.7 MB, free: 5.688 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0003037/2.537, allocations: 193.8 kB / 341.9 MB, free: 5.531 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003357/2.54, allocations: 143.7 kB / 342 MB, free: 5.395 MB / 282.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: 31 ($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,$whenCondition8,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition9,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 29 (integerTable.index,integerTable.nextTime,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition8,timeTable.last,timeTable.nextEvent,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.001299/2.542, allocations: 243.4 kB / 342.3 MB, free: 5.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001851/2.543, allocations: 0.5844 MB / 342.9 MB, free: 4.602 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/2.544, allocations: 0 / 342.9 MB, free: 4.602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/2.545, allocations: 429 kB / 343.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/2.545, allocations: 16.53 kB / 343.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/2.548, allocations: 476.8 kB / 343.8 MB, free: 3.805 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007946/2.548, allocations: 0.7969 MB / 344.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/2.548, allocations: 0 / 344.6 MB, free: 2.988 MB / 282.7 MB