Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test75",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.447/2.447, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.157/2.604, allocations: 57.21 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/2.885, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/3.083, allocations: 81.44 MB / 435.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004232/3.083, allocations: 67.97 kB / 435.6 MB, free: 11.75 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. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.04332/3.127, allocations: 7.114 MB / 442.7 MB, free: 4.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/3.127, allocations: 8 kB / 442.7 MB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/3.127, allocations: 27.62 kB / 442.7 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007305/3.128, allocations: 283.1 kB / 443 MB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/3.128, allocations: 4 kB / 443 MB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/3.128, allocations: 12 kB / 443 MB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001799/3.128, allocations: 35.97 kB / 443.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/3.128, allocations: 95.31 kB / 443.2 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/3.128, allocations: 0 / 443.2 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/3.128, allocations: 3.906 kB / 443.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/3.128, allocations: 0 / 443.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009096/3.129, allocations: 489.5 kB / 443.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/3.13, allocations: 105.4 kB / 443.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/3.13, allocations: 41.84 kB / 443.8 MB, free: 3.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/3.13, allocations: 4 kB / 443.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/3.13, allocations: 108.9 kB / 443.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.375e-06/3.13, allocations: 0 / 443.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001113/3.131, allocations: 296 kB / 444.2 MB, free: 2.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/3.131, allocations: 81.11 kB / 444.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007291/3.132, allocations: 367.4 kB / 444.6 MB, free: 2.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/3.132, allocations: 33.69 kB / 444.7 MB, free: 2.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/3.132, allocations: 112.5 kB / 444.8 MB, free: 2.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/3.132, allocations: 47.34 kB / 444.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/3.132, allocations: 3.938 kB / 444.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/3.132, allocations: 338.8 kB / 445.1 MB, free: 1.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/3.133, allocations: 64.19 kB / 445.2 MB, free: 1.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/3.133, allocations: 103.6 kB / 445.3 MB, free: 1.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/3.133, allocations: 75.89 kB / 445.4 MB, free: 1.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/3.133, allocations: 0 / 445.4 MB, free: 1.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007501/3.134, allocations: 249.2 kB / 445.6 MB, free: 1.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/3.134, allocations: 4 kB / 445.6 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/3.134, allocations: 4 kB / 445.6 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/3.134, allocations: 0 / 445.6 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/3.134, allocations: 36.05 kB / 445.7 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/3.134, allocations: 3.938 kB / 445.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/3.135, allocations: 12.31 kB / 445.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/3.135, allocations: 15.98 kB / 445.7 MB, free: 1.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0001221/3.135, allocations: 112.9 kB / 445.8 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/3.135, allocations: 31.62 kB / 445.8 MB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006411/3.136, allocations: 196.3 kB / 446 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/3.136, allocations: 0 / 446 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/3.136, allocations: 4.375 kB / 446 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/3.136, allocations: 3.984 kB / 446 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/3.137, allocations: 0.613 MB / 446.7 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/3.137, allocations: 4 kB / 446.7 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/3.137, allocations: 27.92 kB / 446.7 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/3.137, allocations: 4.062 kB / 446.7 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/3.137, allocations: 7.906 kB / 446.7 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/3.137, allocations: 4 kB / 446.7 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/3.137, allocations: 0 / 446.7 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1666/3.304, allocations: 386.7 kB / 447.1 MB, free: 130.8 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005831/3.305, allocations: 0.7551 MB / 447.8 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/3.305, allocations: 131.1 kB / 448 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/3.305, allocations: 3 kB / 448 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/3.305, allocations: 10.34 kB / 448 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/3.305, allocations: 18.06 kB / 448 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/3.305, allocations: 11.5 kB / 448 MB, free: 130.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004636/3.306, allocations: 286.6 kB / 448.3 MB, free: 130 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003173/3.309, allocations: 88.11 kB / 448.4 MB, free: 130 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002963/3.312, allocations: 0.5236 MB / 448.9 MB, free: 129.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008898/3.313, allocations: 237.8 kB / 449.1 MB, free: 129.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/3.313, allocations: 0 / 449.1 MB, free: 129.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/3.313, allocations: 59.19 kB / 449.2 MB, free: 129.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/3.314, allocations: 46.69 kB / 449.2 MB, free: 129.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/3.317, allocations: 397.2 kB / 449.6 MB, free: 129.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/3.317, allocations: 0.8007 MB / 450.4 MB, free: 128.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/3.317, allocations: 0 / 450.4 MB, free: 128.9 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat