Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test23",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.674/2.674, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2139/2.888, allocations: 57.2 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/3.211, allocations: 54.86 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/3.397, allocations: 81.28 MB / 435.4 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/3.398, allocations: 75.84 kB / 435.4 MB, free: 11.93 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.03374/3.431, allocations: 4.576 MB / 440 MB, free: 7.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/3.431, allocations: 11.94 kB / 440 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/3.432, allocations: 11.91 kB / 440 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/3.432, allocations: 210.8 kB / 440.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/3.432, allocations: 0 / 440.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/3.432, allocations: 11.98 kB / 440.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001585/3.433, allocations: 16 kB / 440.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/3.433, allocations: 49.67 kB / 440.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/3.433, allocations: 0 / 440.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/3.433, allocations: 0 / 440.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/3.433, allocations: 0 / 440.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008338/3.434, allocations: 301.3 kB / 440.6 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/3.434, allocations: 46.69 kB / 440.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/3.434, allocations: 20.98 kB / 440.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/3.434, allocations: 0 / 440.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/3.434, allocations: 67.3 kB / 440.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.627e-06/3.434, allocations: 4 kB / 440.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008978/3.435, allocations: 145.1 kB / 440.9 MB, free: 6.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/3.435, allocations: 51.41 kB / 440.9 MB, free: 6.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/3.436, allocations: 174.4 kB / 441.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/3.436, allocations: 29.7 kB / 441.1 MB, free: 6.012 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/3.436, allocations: 88.14 kB / 441.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/3.436, allocations: 27.64 kB / 441.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/3.436, allocations: 0 / 441.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000206/3.436, allocations: 330.7 kB / 441.6 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/3.436, allocations: 32 kB / 441.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/3.437, allocations: 49.7 kB / 441.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/3.437, allocations: 39.92 kB / 441.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/3.437, allocations: 0 / 441.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006178/3.438, allocations: 129.5 kB / 441.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/3.438, allocations: 4 kB / 441.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/3.438, allocations: 0 / 441.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/3.438, allocations: 8.031 kB / 441.8 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/3.438, allocations: 23.92 kB / 441.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/3.438, allocations: 0 / 441.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/3.438, allocations: 7.906 kB / 441.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/3.438, allocations: 4.094 kB / 441.9 MB, free: 5.258 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 (11): * Single equations (assignments): 10 * 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.0001918/3.438, allocations: 108.9 kB / 442 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/3.439, allocations: 11.81 kB / 442 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/3.439, allocations: 115 kB / 442.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/3.439, allocations: 0 / 442.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/3.439, allocations: 0 / 442.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/3.439, allocations: 0 / 442.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007164/3.44, allocations: 376 kB / 442.5 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/3.44, allocations: 7.984 kB / 442.5 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/3.44, allocations: 15.98 kB / 442.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/3.44, allocations: 0 / 442.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/3.44, allocations: 0 / 442.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/3.44, allocations: 8.031 kB / 442.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/3.44, allocations: 0 / 442.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003409/3.44, allocations: 205.9 kB / 442.7 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005041/3.441, allocations: 0.5764 MB / 443.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/3.441, allocations: 100.9 kB / 443.4 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/3.441, allocations: 4 kB / 443.4 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/3.441, allocations: 3.984 kB / 443.4 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/3.441, allocations: 4 kB / 443.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/3.441, allocations: 8 kB / 443.4 MB, free: 3.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002028/3.442, allocations: 140 kB / 443.5 MB, free: 3.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001506/3.443, allocations: 47.83 kB / 443.6 MB, free: 3.418 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001262/3.444, allocations: 365.4 kB / 443.9 MB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000434/3.445, allocations: 117.6 kB / 444.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/3.445, allocations: 4.062 kB / 444.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/3.445, allocations: 31.94 kB / 444.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/3.446, allocations: 15.98 kB / 444.1 MB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006662/3.446, allocations: 165 kB / 444.3 MB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/3.447, allocations: 0.7271 MB / 445 MB, free: 2.031 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/3.447, allocations: 7.938 kB / 445 MB, free: 2.023 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat