Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_VectorDelay",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.706/1.706, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2066/1.913, allocations: 46.82 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/2.003, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2875/2.291, allocations: 75.79 MB / 369.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/2.291, allocations: 71.47 kB / 369.8 MB, free: 7.164 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.04514/2.336, allocations: 13.88 MB / 383.6 MB, free: 3.602 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/2.336, allocations: 7.75 kB / 383.6 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/2.337, allocations: 97.22 kB / 383.7 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007767/2.337, allocations: 437.7 kB / 384.2 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/2.337, allocations: 15.58 kB / 384.2 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/2.337, allocations: 15.62 kB / 384.2 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005064/2.338, allocations: 185.6 kB / 384.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/2.339, allocations: 333.7 kB / 384.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/2.339, allocations: 0 / 384.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/2.339, allocations: 11.59 kB / 384.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/2.339, allocations: 0 / 384.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/2.341, allocations: 0.9548 MB / 385.7 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/2.341, allocations: 289.5 kB / 386 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/2.342, allocations: 269.8 kB / 386.2 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/2.342, allocations: 3.938 kB / 386.2 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007757/2.343, allocations: 0.544 MB / 386.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 3.898e-06/2.343, allocations: 0 / 386.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001296/2.344, allocations: 0.511 MB / 387.3 MB, free: 1.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/2.344, allocations: 275.9 kB / 387.5 MB, free: 17.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002903/2.347, allocations: 1.249 MB / 388.8 MB, free: 16.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001616/2.347, allocations: 40.52 kB / 388.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/2.347, allocations: 101.3 kB / 388.9 MB, free: 16.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/2.348, allocations: 75.73 kB / 389 MB, free: 16.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/2.348, allocations: 7.734 kB / 389 MB, free: 16.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/2.348, allocations: 332.3 kB / 389.3 MB, free: 16.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/2.348, allocations: 207 kB / 389.5 MB, free: 16.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/2.349, allocations: 226.8 kB / 389.8 MB, free: 16.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/2.349, allocations: 165 kB / 389.9 MB, free: 16.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/2.349, allocations: 0 / 389.9 MB, free: 16.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00114/2.35, allocations: 473 kB / 390.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/2.351, allocations: 3.875 kB / 390.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/2.351, allocations: 0 / 390.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/2.351, allocations: 7.719 kB / 390.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.504e-05/2.351, allocations: 7.984 kB / 390.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/2.351, allocations: 3.875 kB / 390.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/2.351, allocations: 27.14 kB / 390.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/2.351, allocations: 89.64 kB / 390.5 MB, free: 16.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * 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.0004212/2.352, allocations: 345.7 kB / 390.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/2.352, allocations: 101.1 kB / 391 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006849/2.353, allocations: 202 kB / 391.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/2.353, allocations: 7.75 kB / 391.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/2.353, allocations: 0 / 391.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/2.353, allocations: 0 / 391.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/2.355, allocations: 1.383 MB / 392.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/2.355, allocations: 0 / 392.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/2.355, allocations: 7.844 kB / 392.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/2.355, allocations: 4 kB / 392.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.374e-05/2.356, allocations: 27.33 kB / 392.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/2.356, allocations: 0 / 392.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/2.356, allocations: 3.938 kB / 392.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001549/2.357, allocations: 0.8528 MB / 393.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001609/2.359, allocations: 1.241 MB / 394.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/2.361, allocations: 0.6032 MB / 395.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/2.361, allocations: 62.58 kB / 395.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/2.362, allocations: 37.16 kB / 395.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/2.362, allocations: 76.5 kB / 395.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/2.362, allocations: 99.77 kB / 395.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.00286/2.365, allocations: 1.041 MB / 396.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001935/2.367, allocations: 91.66 kB / 396.7 MB, free: 12.88 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: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * 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 Backend phase and start with SimCode phase: time 0.0004058/2.368, allocations: 191.9 kB / 396.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/2.369, allocations: 0.6307 MB / 397.5 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/2.369, allocations: 0 / 397.5 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/2.37, allocations: 0.6327 MB / 398.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/2.372, allocations: 200.5 kB / 398.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005492/2.378, allocations: 1.805 MB / 400.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/2.38, allocations: 1.117 MB / 401.3 MB, free: 10.63 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/2.38, allocations: 1.25 kB / 401.3 MB, free: 10.63 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat