Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test30",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.602/2.602, allocations: 235 MB / 242 MB, free: 9.73 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1617/2.764, allocations: 57.21 MB / 299.2 MB, free: 408 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/3.049, allocations: 54.86 MB / 354.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/3.23, allocations: 81.32 MB / 435.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/3.23, allocations: 71.97 kB / 435.5 MB, free: 11.87 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.03172/3.262, allocations: 4.631 MB / 440.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/3.262, allocations: 12 kB / 440.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.22e-05/3.262, allocations: 11.91 kB / 440.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/3.263, allocations: 202.8 kB / 440.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/3.263, allocations: 0 / 440.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/3.263, allocations: 11.91 kB / 440.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001242/3.263, allocations: 19.98 kB / 440.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/3.263, allocations: 49.67 kB / 440.4 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/3.263, allocations: 7.938 kB / 440.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/3.263, allocations: 7.938 kB / 440.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/3.263, allocations: 0 / 440.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/3.264, allocations: 289.3 kB / 440.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/3.264, allocations: 50.69 kB / 440.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.057e-05/3.264, allocations: 20.98 kB / 440.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/3.264, allocations: 4 kB / 440.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/3.264, allocations: 63.33 kB / 440.8 MB, free: 6.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.785e-06/3.264, allocations: 0 / 440.8 MB, free: 6.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007296/3.265, allocations: 137.3 kB / 441 MB, free: 6.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/3.265, allocations: 55.41 kB / 441 MB, free: 6.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/3.265, allocations: 161.2 kB / 441.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/3.265, allocations: 29.7 kB / 441.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/3.266, allocations: 103.9 kB / 441.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/3.266, allocations: 19.72 kB / 441.3 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/3.266, allocations: 0 / 441.3 MB, free: 5.793 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/3.266, allocations: 322.8 kB / 441.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/3.266, allocations: 35.98 kB / 441.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/3.266, allocations: 49.59 kB / 441.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/3.266, allocations: 43.98 kB / 441.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/3.266, allocations: 4 kB / 441.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005825/3.267, allocations: 133.5 kB / 441.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/3.267, allocations: 4 kB / 441.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/3.267, allocations: 0 / 441.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/3.267, allocations: 3.984 kB / 441.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/3.267, allocations: 23.94 kB / 441.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/3.267, allocations: 0 / 441.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/3.268, allocations: 4 kB / 441.9 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/3.268, allocations: 7.984 kB / 442 MB, free: 5.152 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.0001778/3.268, allocations: 109 kB / 442.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/3.268, allocations: 15.8 kB / 442.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/3.268, allocations: 102.2 kB / 442.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/3.268, allocations: 4 kB / 442.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/3.268, allocations: 0 / 442.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/3.268, allocations: 3.984 kB / 442.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007148/3.269, allocations: 375.8 kB / 442.6 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/3.269, allocations: 192 / 442.6 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/3.269, allocations: 12.19 kB / 442.6 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-05/3.269, allocations: 7.938 kB / 442.6 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/3.269, allocations: 7.906 kB / 442.6 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/3.269, allocations: 4 kB / 442.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/3.269, allocations: 0 / 442.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003576/3.27, allocations: 209.9 kB / 442.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005121/3.27, allocations: 0.5725 MB / 443.4 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/3.27, allocations: 97 kB / 443.5 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/3.27, allocations: 0 / 443.5 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/3.271, allocations: 11.98 kB / 443.5 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/3.271, allocations: 7.906 kB / 443.5 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/3.271, allocations: 0 / 443.5 MB, free: 3.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002022/3.271, allocations: 139.2 kB / 443.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00154/3.272, allocations: 39.92 kB / 443.6 MB, free: 3.32 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.001233/3.274, allocations: 356.8 kB / 444 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003928/3.274, allocations: 117.6 kB / 444.1 MB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/3.274, allocations: 0 / 444.1 MB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/3.274, allocations: 28 kB / 444.1 MB, free: 2.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/3.275, allocations: 16.17 kB / 444.2 MB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/3.275, allocations: 161.2 kB / 444.3 MB, free: 2.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/3.276, allocations: 0.727 MB / 445 MB, free: 1.953 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/3.276, allocations: 0 / 445 MB, free: 1.953 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat