Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_ShowLogicalSources",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.697/1.697, allocations: 194.9 MB / 202.6 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2179/1.915, allocations: 46.82 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/2.004, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2744/2.279, allocations: 71.09 MB / 365 MB, free: 7.211 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/2.279, allocations: 57.33 kB / 365 MB, free: 7.211 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.008191/2.287, allocations: 1.835 MB / 366.9 MB, free: 6.723 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/2.287, allocations: 7.75 kB / 366.9 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/2.287, allocations: 8.469 kB / 366.9 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/2.288, allocations: 180.3 kB / 367.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/2.288, allocations: 0 / 367.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/2.288, allocations: 3.875 kB / 367.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001383/2.288, allocations: 35.23 kB / 367.1 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/2.288, allocations: 90.44 kB / 367.2 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/2.288, allocations: 3.984 kB / 367.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/2.288, allocations: 0 / 367.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/2.288, allocations: 8.656 kB / 367.2 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/2.288, allocations: 354.2 kB / 367.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/2.289, allocations: 86.38 kB / 367.6 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/2.289, allocations: 40.3 kB / 367.7 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/2.289, allocations: 1.5 kB / 367.7 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/2.289, allocations: 137.3 kB / 367.8 MB, free: 5.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/2.289, allocations: 0 / 367.8 MB, free: 5.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.00029/2.289, allocations: 99.03 kB / 367.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/2.289, allocations: 164 kB / 368.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/2.289, allocations: 121.3 kB / 368.2 MB, free: 5.566 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/2.289, allocations: 35.16 kB / 368.2 MB, free: 5.527 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/2.289, allocations: 88.77 kB / 368.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/2.289, allocations: 19.69 kB / 368.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/2.289, allocations: 3.375 kB / 368.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/2.29, allocations: 320.8 kB / 368.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/2.29, allocations: 21.12 kB / 368.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.289e-05/2.29, allocations: 48.03 kB / 368.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/2.29, allocations: 35.48 kB / 368.8 MB, free: 21.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/2.29, allocations: 0 / 368.8 MB, free: 21.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002702/2.29, allocations: 101.5 kB / 368.8 MB, free: 21.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/2.29, allocations: 3.875 kB / 368.9 MB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/2.29, allocations: 5.078 kB / 368.9 MB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/2.29, allocations: 3.875 kB / 368.9 MB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/2.29, allocations: 3.875 kB / 368.9 MB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/2.29, allocations: 1.125 kB / 368.9 MB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/2.291, allocations: 22.19 kB / 368.9 MB, free: 21.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/2.291, allocations: 7.469 kB / 368.9 MB, free: 21.03 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,step.y,pulse.y,$PRE.pulse.pulsStart,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,$PRE.table.y,table.y,$PRE.table.nextTime,table.nextTime,$PRE.table.index,table.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001351/2.291, allocations: 145.2 kB / 369 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/2.291, allocations: 15.06 kB / 369.1 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/2.291, allocations: 9.203 kB / 369.1 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/2.291, allocations: 9.109 kB / 369.1 MB, free: 20.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/2.291, allocations: 3.875 kB / 369.1 MB, free: 20.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/2.291, allocations: 0 / 369.1 MB, free: 20.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/2.291, allocations: 171.9 kB / 369.2 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/2.291, allocations: 1.359 kB / 369.2 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/2.291, allocations: 0 / 369.2 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/2.291, allocations: 3.875 kB / 369.2 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/2.291, allocations: 8.359 kB / 369.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/2.291, allocations: 192 / 369.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/2.291, allocations: 3.938 kB / 369.3 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00026/2.291, allocations: 173.8 kB / 369.4 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003991/2.292, allocations: 0.5431 MB / 370 MB, free: 20.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/2.292, allocations: 81.02 kB / 370.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/2.292, allocations: 12.41 kB / 370.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/2.292, allocations: 18.34 kB / 370.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/2.292, allocations: 9.781 kB / 370.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/2.292, allocations: 6.75 kB / 370.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.379e-05/2.292, allocations: 94.89 kB / 370.2 MB, free: 19.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001259/2.294, allocations: 31.12 kB / 370.2 MB, free: 19.9 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: 10 ($whenCondition2,step.y,pulse.y,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,table.y,table.nextTime,table.index) * Number of discrete states: 4 (table.y,table.nextTime,table.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0002297/2.294, allocations: 121.8 kB / 370.3 MB, free: 19.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002653/2.294, allocations: 126.1 kB / 370.5 MB, free: 19.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/2.294, allocations: 3.625 kB / 370.5 MB, free: 19.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/2.294, allocations: 85.8 kB / 370.5 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/2.295, allocations: 13.69 kB / 370.6 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/2.295, allocations: 144.5 kB / 370.7 MB, free: 19.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/2.295, allocations: 0.7182 MB / 371.4 MB, free: 18.9 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/2.296, allocations: 0 / 371.4 MB, free: 18.9 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.ShowLogicalSources_res.mat does not exist to compare? outputFormat=mat