Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_Interaction1",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.661/1.661, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2006/1.861, allocations: 46.82 MB / 249.4 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/1.951, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2765/2.228, allocations: 72.8 MB / 366.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/2.228, allocations: 66.39 kB / 366.8 MB, free: 7.156 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.03661/2.264, allocations: 8.006 MB / 374.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/2.264, allocations: 7.75 kB / 374.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/2.265, allocations: 39.03 kB / 374.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/2.265, allocations: 302.6 kB / 375.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/2.265, allocations: 7.75 kB / 375.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/2.265, allocations: 11.75 kB / 375.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003682/2.266, allocations: 132.2 kB / 375.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/2.266, allocations: 262.7 kB / 375.5 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/2.266, allocations: 0 / 375.5 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/2.266, allocations: 12.84 kB / 375.5 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/2.266, allocations: 4.438 kB / 375.5 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/2.268, allocations: 0.9879 MB / 376.5 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/2.268, allocations: 230.7 kB / 376.7 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/2.268, allocations: 164 kB / 376.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/2.268, allocations: 0 / 376.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005816/2.269, allocations: 491.7 kB / 377.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/2.269, allocations: 0 / 377.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009349/2.27, allocations: 375.7 kB / 377.8 MB, free: 20.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002866/2.27, allocations: 498.7 kB / 378.2 MB, free: 19.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/2.271, allocations: 254.7 kB / 378.5 MB, free: 19.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.127e-05/2.271, allocations: 36.7 kB / 378.5 MB, free: 19.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/2.271, allocations: 121.5 kB / 378.6 MB, free: 19.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.676e-05/2.271, allocations: 74.19 kB / 378.7 MB, free: 19.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/2.271, allocations: 3.844 kB / 378.7 MB, free: 19.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/2.271, allocations: 350.5 kB / 379.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/2.271, allocations: 133.5 kB / 379.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/2.272, allocations: 237.8 kB / 379.4 MB, free: 18.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/2.272, allocations: 162.9 kB / 379.6 MB, free: 18.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/2.272, allocations: 3.906 kB / 379.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001104/2.274, allocations: 454.6 kB / 380 MB, free: 18.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/2.274, allocations: 3.844 kB / 380 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/2.274, allocations: 3.875 kB / 380 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/2.274, allocations: 7.766 kB / 380 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/2.274, allocations: 19.56 kB / 380.1 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/2.274, allocations: 7.781 kB / 380.1 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/2.274, allocations: 27.8 kB / 380.1 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/2.274, allocations: 27.22 kB / 380.1 MB, free: 18.74 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.0003455/2.274, allocations: 344.9 kB / 380.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/2.275, allocations: 42.95 kB / 380.5 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.943e-05/2.275, allocations: 24.03 kB / 380.5 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/2.275, allocations: 7.875 kB / 380.5 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/2.275, allocations: 7.922 kB / 380.5 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/2.275, allocations: 3.906 kB / 380.6 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008643/2.276, allocations: 0.5588 MB / 381.1 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/2.276, allocations: 0 / 381.1 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/2.276, allocations: 3.844 kB / 381.1 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/2.276, allocations: 0 / 381.1 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.598e-05/2.276, allocations: 21.2 kB / 381.1 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/2.276, allocations: 15.78 kB / 381.2 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/2.276, allocations: 0 / 381.2 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001018/2.277, allocations: 0.5747 MB / 381.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001187/2.278, allocations: 0.9467 MB / 382.7 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/2.278, allocations: 108.2 kB / 382.8 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/2.278, allocations: 26.23 kB / 382.8 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/2.279, allocations: 23.45 kB / 382.8 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/2.279, allocations: 29.94 kB / 382.9 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/2.279, allocations: 29.89 kB / 382.9 MB, free: 16.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002498/2.279, allocations: 196.6 kB / 383.1 MB, free: 16.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001825/2.281, allocations: 149.1 kB / 383.2 MB, free: 16.81 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.0006032/2.282, allocations: 249.1 kB / 383.5 MB, free: 16.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009198/2.283, allocations: 0.6007 MB / 384.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/2.283, allocations: 3.938 kB / 384.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006128/2.283, allocations: 440 kB / 384.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/2.284, allocations: 30.19 kB / 384.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/2.285, allocations: 483.3 kB / 385 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/2.285, allocations: 0.8006 MB / 385.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/2.285, allocations: 3.938 kB / 385.8 MB, free: 15.17 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.Interaction1_res.mat does not exist to compare? outputFormat=mat