Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test38",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(ModelicaTest): time 2.56/2.56, allocations: 235 MB / 242 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1569/2.716, allocations: 57.21 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/3.027, allocations: 54.86 MB / 354.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/3.196, allocations: 81.14 MB / 435.2 MB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/3.197, allocations: 79.88 kB / 435.3 MB, free: 12.08 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02195/3.219, allocations: 4.453 MB / 439.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/3.219, allocations: 12 kB / 439.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/3.219, allocations: 7.906 kB / 439.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/3.219, allocations: 218.7 kB / 440 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/3.219, allocations: 4 kB / 440 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/3.219, allocations: 4 kB / 440 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001048/3.219, allocations: 15.98 kB / 440 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/3.22, allocations: 45.59 kB / 440.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/3.22, allocations: 0 / 440.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/3.22, allocations: 0 / 440.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/3.22, allocations: 4 kB / 440.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/3.22, allocations: 178.2 kB / 440.2 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/3.22, allocations: 54.56 kB / 440.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.922e-05/3.22, allocations: 20.77 kB / 440.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/3.22, allocations: 0 / 440.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/3.22, allocations: 59.5 kB / 440.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.784e-06/3.22, allocations: 0 / 440.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002902/3.221, allocations: 69.58 kB / 440.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/3.221, allocations: 55.41 kB / 440.5 MB, free: 6.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/3.221, allocations: 161.3 kB / 440.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/3.221, allocations: 25.7 kB / 440.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/3.221, allocations: 96.03 kB / 440.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/3.221, allocations: 11.91 kB / 440.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/3.221, allocations: 0 / 440.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/3.221, allocations: 330.7 kB / 441.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.637e-05/3.221, allocations: 24 kB / 441.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/3.222, allocations: 45.7 kB / 441.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/3.222, allocations: 31.92 kB / 441.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/3.222, allocations: 0 / 441.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003505/3.222, allocations: 117.5 kB / 441.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/3.222, allocations: 4 kB / 441.3 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/3.222, allocations: 128 / 441.3 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/3.222, allocations: 0 / 441.3 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/3.222, allocations: 19.94 kB / 441.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/3.222, allocations: 4.031 kB / 441.3 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/3.223, allocations: 11.84 kB / 441.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/3.223, allocations: 7.984 kB / 441.4 MB, free: 5.789 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001244/3.223, allocations: 105 kB / 441.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/3.223, allocations: 15.75 kB / 441.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/3.223, allocations: 77.86 kB / 441.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/3.223, allocations: 4 kB / 441.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/3.223, allocations: 0 / 441.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/3.223, allocations: 4 kB / 441.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/3.223, allocations: 170.1 kB / 441.7 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/3.223, allocations: 0 / 441.7 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/3.223, allocations: 4 kB / 441.7 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/3.223, allocations: 3.984 kB / 441.7 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/3.223, allocations: 4 kB / 441.7 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/3.223, allocations: 4 kB / 441.7 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/3.223, allocations: 0 / 441.7 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002245/3.224, allocations: 104.9 kB / 441.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003599/3.224, allocations: 485.3 kB / 442.3 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/3.224, allocations: 93 kB / 442.4 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/3.224, allocations: 0 / 442.4 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/3.224, allocations: 4.172 kB / 442.4 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/3.224, allocations: 15.94 kB / 442.4 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/3.224, allocations: 4 kB / 442.4 MB, free: 4.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001728/3.225, allocations: 135.2 kB / 442.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00139/3.226, allocations: 35.84 kB / 442.6 MB, free: 4.434 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001094/3.227, allocations: 311.1 kB / 442.9 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003787/3.228, allocations: 97.69 kB / 443 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/3.228, allocations: 0 / 443 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.793e-05/3.228, allocations: 23.94 kB / 443 MB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/3.228, allocations: 20.05 kB / 443 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/3.229, allocations: 131.8 kB / 443.2 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/3.229, allocations: 0.7241 MB / 443.9 MB, free: 3.145 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/3.229, allocations: 0 / 443.9 MB, free: 3.145 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat