Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test35",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.845/2.845, allocations: 235 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1902/3.035, allocations: 57.2 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/3.333, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/3.497, allocations: 81.32 MB / 435.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/3.497, allocations: 63.97 kB / 435.5 MB, free: 11.89 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.02858/3.526, allocations: 4.842 MB / 440.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/3.526, allocations: 16 kB / 440.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/3.526, allocations: 11.81 kB / 440.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/3.526, allocations: 214.9 kB / 440.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/3.526, allocations: 0 / 440.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/3.526, allocations: 4 kB / 440.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001154/3.527, allocations: 23.92 kB / 440.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/3.527, allocations: 49.69 kB / 440.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/3.527, allocations: 3.906 kB / 440.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/3.527, allocations: 0 / 440.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/3.527, allocations: 3.984 kB / 440.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/3.527, allocations: 297.4 kB / 440.9 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/3.528, allocations: 54.69 kB / 441 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/3.528, allocations: 20.92 kB / 441 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/3.528, allocations: 0 / 441 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/3.528, allocations: 71.38 kB / 441.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/3.528, allocations: 0 / 441.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006709/3.529, allocations: 145.1 kB / 441.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/3.529, allocations: 51.41 kB / 441.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/3.529, allocations: 194.6 kB / 441.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/3.529, allocations: 29.7 kB / 441.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/3.529, allocations: 92.12 kB / 441.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/3.529, allocations: 23.66 kB / 441.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/3.529, allocations: 11.94 kB / 441.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/3.529, allocations: 326.8 kB / 441.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/3.529, allocations: 32 kB / 441.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/3.53, allocations: 45.66 kB / 442 MB, free: 5.145 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/3.53, allocations: 47.89 kB / 442 MB, free: 5.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/3.53, allocations: 0 / 442 MB, free: 5.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004126/3.53, allocations: 133.5 kB / 442.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/3.53, allocations: 12.03 kB / 442.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/3.53, allocations: 0 / 442.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/3.53, allocations: 0 / 442.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/3.531, allocations: 19.91 kB / 442.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/3.531, allocations: 0 / 442.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/3.531, allocations: 7.984 kB / 442.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/3.531, allocations: 4 kB / 442.2 MB, free: 4.918 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.0001056/3.531, allocations: 105 kB / 442.3 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/3.531, allocations: 11.81 kB / 442.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/3.531, allocations: 115 kB / 442.4 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/3.531, allocations: 0 / 442.4 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/3.531, allocations: 0 / 442.4 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/3.531, allocations: 0 / 442.4 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/3.532, allocations: 383.8 kB / 442.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/3.532, allocations: 0 / 442.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/3.532, allocations: 12 kB / 442.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/3.532, allocations: 0 / 442.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/3.532, allocations: 4.031 kB / 442.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/3.532, allocations: 7.938 kB / 442.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/3.532, allocations: 4.062 kB / 442.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003274/3.533, allocations: 209.9 kB / 443 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004592/3.533, allocations: 0.5806 MB / 443.6 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/3.533, allocations: 105.1 kB / 443.7 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/3.533, allocations: 7.984 kB / 443.7 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/3.533, allocations: 4 kB / 443.7 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/3.533, allocations: 4 kB / 443.7 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/3.534, allocations: 7.984 kB / 443.8 MB, free: 3.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000259/3.534, allocations: 160.3 kB / 443.9 MB, free: 3.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001498/3.535, allocations: 43.88 kB / 444 MB, free: 3.047 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.001108/3.536, allocations: 357 kB / 444.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003583/3.537, allocations: 117.6 kB / 444.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/3.537, allocations: 0 / 444.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/3.537, allocations: 31.98 kB / 444.4 MB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/3.537, allocations: 19.84 kB / 444.5 MB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006743/3.538, allocations: 187.8 kB / 444.6 MB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/3.539, allocations: 0.7388 MB / 445.4 MB, free: 1.633 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/3.539, allocations: 0 / 445.4 MB, free: 1.633 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat