Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test62",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.31/2.31, allocations: 235 MB / 242 MB, free: 9.652 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1477/2.458, allocations: 57.2 MB / 299.2 MB, free: 340 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/2.727, allocations: 54.86 MB / 354.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/2.929, allocations: 81.16 MB / 435.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004306/2.93, allocations: 79.95 kB / 435.3 MB, free: 12.02 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02824/2.958, allocations: 4.77 MB / 440.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.455e-05/2.958, allocations: 11.98 kB / 440.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/2.958, allocations: 15.81 kB / 440.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/2.959, allocations: 218.7 kB / 440.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/2.959, allocations: 4 kB / 440.3 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/2.959, allocations: 4 kB / 440.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/2.959, allocations: 15.98 kB / 440.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/2.959, allocations: 53.66 kB / 440.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/2.959, allocations: 0 / 440.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/2.959, allocations: 0 / 440.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/2.959, allocations: 4 kB / 440.4 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/2.96, allocations: 182.1 kB / 440.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/2.96, allocations: 54.56 kB / 440.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.551e-05/2.96, allocations: 16.86 kB / 440.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/2.96, allocations: 4 kB / 440.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/2.96, allocations: 59.5 kB / 440.7 MB, free: 6.438 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.124e-06/2.96, allocations: 0 / 440.7 MB, free: 6.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002939/2.96, allocations: 77.48 kB / 440.8 MB, free: 6.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/2.961, allocations: 55.41 kB / 440.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005569/2.961, allocations: 218.9 kB / 441.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/2.961, allocations: 25.7 kB / 441.1 MB, free: 6.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/2.961, allocations: 112 kB / 441.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/2.961, allocations: 11.78 kB / 441.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/2.961, allocations: 4 kB / 441.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/2.962, allocations: 326.8 kB / 441.5 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/2.962, allocations: 23.98 kB / 441.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/2.962, allocations: 37.72 kB / 441.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/2.962, allocations: 31.98 kB / 441.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/2.962, allocations: 0 / 441.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004642/2.963, allocations: 125.4 kB / 441.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/2.963, allocations: 4 kB / 441.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/2.963, allocations: 0 / 441.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/2.963, allocations: 7.906 kB / 441.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/2.963, allocations: 15.98 kB / 441.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/2.963, allocations: 0 / 441.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/2.963, allocations: 4 kB / 441.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/2.963, allocations: 4.078 kB / 441.8 MB, free: 5.316 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 (8): * Single equations (assignments): 7 * 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.0001159/2.963, allocations: 116.9 kB / 441.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/2.963, allocations: 11.81 kB / 441.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/2.964, allocations: 86.77 kB / 442 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/2.964, allocations: 0 / 442 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/2.964, allocations: 3.984 kB / 442 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/2.964, allocations: 0 / 442 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/2.964, allocations: 174.2 kB / 442.2 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/2.964, allocations: 3.906 kB / 442.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/2.964, allocations: 11.92 kB / 442.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/2.964, allocations: 0 / 442.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/2.964, allocations: 4 kB / 442.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/2.964, allocations: 3.984 kB / 442.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/2.964, allocations: 4 kB / 442.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002577/2.965, allocations: 100.9 kB / 442.3 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005197/2.965, allocations: 489.6 kB / 442.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/2.965, allocations: 112.8 kB / 442.9 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/2.965, allocations: 4.062 kB / 442.9 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/2.966, allocations: 3.984 kB / 442.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/2.966, allocations: 7.906 kB / 442.9 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/2.966, allocations: 8 kB / 442.9 MB, free: 4.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003286/2.966, allocations: 183 kB / 443.1 MB, free: 3.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001943/2.968, allocations: 31.98 kB / 443.1 MB, free: 3.879 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001445/2.969, allocations: 323.3 kB / 443.4 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004732/2.97, allocations: 93.7 kB / 443.5 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/2.97, allocations: 0 / 443.5 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/2.97, allocations: 31.86 kB / 443.6 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/2.971, allocations: 12.19 kB / 443.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/2.972, allocations: 192 kB / 443.8 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/2.972, allocations: 0.7433 MB / 444.5 MB, free: 2.512 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/2.972, allocations: 0 / 444.5 MB, free: 2.512 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat