Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test27",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.62/2.62, allocations: 235 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2135/2.834, allocations: 57.21 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/3.143, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/3.324, allocations: 81.28 MB / 435.4 MB, free: 11.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/3.325, allocations: 71.95 kB / 435.4 MB, free: 11.92 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.02917/3.354, allocations: 4.533 MB / 440 MB, free: 7.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.891e-05/3.354, allocations: 8 kB / 440 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/3.354, allocations: 7.906 kB / 440 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/3.355, allocations: 218.7 kB / 440.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/3.355, allocations: 0 / 440.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/3.355, allocations: 7.906 kB / 440.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001275/3.355, allocations: 16 kB / 440.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/3.355, allocations: 53.67 kB / 440.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/3.355, allocations: 0 / 440.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/3.355, allocations: 4 kB / 440.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/3.355, allocations: 4 kB / 440.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/3.356, allocations: 293.3 kB / 440.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/3.356, allocations: 50.64 kB / 440.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/3.356, allocations: 20.97 kB / 440.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/3.356, allocations: 7.984 kB / 440.6 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/3.357, allocations: 59.41 kB / 440.7 MB, free: 6.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.835e-06/3.357, allocations: 0 / 440.7 MB, free: 6.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006879/3.357, allocations: 145.3 kB / 440.8 MB, free: 6.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/3.357, allocations: 51.41 kB / 440.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/3.358, allocations: 165.2 kB / 441.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/3.358, allocations: 29.69 kB / 441.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/3.358, allocations: 95.94 kB / 441.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.336e-05/3.358, allocations: 27.7 kB / 441.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/3.358, allocations: 0 / 441.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/3.358, allocations: 322.8 kB / 441.5 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/3.358, allocations: 32 kB / 441.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/3.359, allocations: 45.72 kB / 441.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/3.359, allocations: 39.97 kB / 441.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/3.359, allocations: 3.938 kB / 441.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007263/3.36, allocations: 145.5 kB / 441.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/3.36, allocations: 4 kB / 441.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/3.36, allocations: 4 kB / 441.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/3.36, allocations: 4 kB / 441.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/3.36, allocations: 12 kB / 441.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/3.36, allocations: 7.922 kB / 441.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/3.36, allocations: 4 kB / 441.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/3.36, allocations: 8 kB / 441.8 MB, free: 5.297 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.0001861/3.361, allocations: 109 kB / 441.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/3.361, allocations: 11.81 kB / 441.9 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000588/3.361, allocations: 110.1 kB / 442.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/3.361, allocations: 0 / 442.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/3.361, allocations: 0 / 442.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/3.361, allocations: 0 / 442.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/3.362, allocations: 371.9 kB / 442.4 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/3.362, allocations: 0 / 442.4 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/3.363, allocations: 12.03 kB / 442.4 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/3.363, allocations: 0 / 442.4 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/3.363, allocations: 11.89 kB / 442.4 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/3.363, allocations: 80 / 442.4 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/3.363, allocations: 3.984 kB / 442.4 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005749/3.363, allocations: 209.8 kB / 442.6 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008603/3.364, allocations: 0.5803 MB / 443.2 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/3.364, allocations: 93 kB / 443.3 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/3.364, allocations: 8 kB / 443.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/3.365, allocations: 0 / 443.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/3.365, allocations: 15.89 kB / 443.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/3.365, allocations: 4 kB / 443.3 MB, free: 3.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002882/3.365, allocations: 127.2 kB / 443.5 MB, free: 3.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003189/3.368, allocations: 43.92 kB / 443.5 MB, free: 3.473 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.001777/3.37, allocations: 360.8 kB / 443.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000631/3.371, allocations: 117.6 kB / 444 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/3.371, allocations: 0 / 444 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/3.371, allocations: 31.94 kB / 444 MB, free: 3.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007125/3.372, allocations: 15.98 kB / 444 MB, free: 3.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000865/3.373, allocations: 157.3 kB / 444.2 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006426/3.373, allocations: 0.727 MB / 444.9 MB, free: 2.102 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/3.374, allocations: 0 / 444.9 MB, free: 2.102 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat