Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [: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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 199 kB / 8.537 MB, free: 1.719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.088/1.088, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008602/0.0008603, allocations: 91.67 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1547/0.1547, allocations: 45.14 MB / 383.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1825/0.3373, allocations: 69.38 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07825/0.4156, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/0.6573, allocations: 90.23 MB / 0.592 GB, free: 12.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001698/0.6575, allocations: 71.59 kB / 0.5921 GB, free: 12.48 MB / 394.7 MB 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.02951/0.6871, allocations: 13.71 MB / 0.6054 GB, free: 1.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.6871, allocations: 8 kB / 0.6055 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.6872, allocations: 7.906 kB / 0.6055 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.6875, allocations: 224.1 kB / 0.6057 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.6875, allocations: 0 / 0.6057 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.6875, allocations: 7.984 kB / 0.6057 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.475e-05/0.6876, allocations: 17.94 kB / 0.6057 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.6877, allocations: 69.7 kB / 0.6058 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.6877, allocations: 0 / 0.6058 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.6878, allocations: 0 / 0.6058 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6878, allocations: 0 / 0.6058 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.6881, allocations: 271.1 kB / 0.606 GB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.226e-05/0.6882, allocations: 51.81 kB / 0.6061 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.6883, allocations: 20.11 kB / 0.6061 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.6883, allocations: 0 / 0.6061 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.095e-05/0.6884, allocations: 62.53 kB / 0.6062 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.6884, allocations: 0 / 0.6062 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003781/0.6888, allocations: 134.9 kB / 0.6063 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.6888, allocations: 81.11 kB / 0.6064 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.6889, allocations: 156.6 kB / 0.6065 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.689, allocations: 25.7 kB / 0.6065 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.689, allocations: 87.56 kB / 0.6066 GB, free: 420 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.689, allocations: 19.22 kB / 0.6066 GB, free: 404 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.6891, allocations: 7.938 kB / 0.6066 GB, free: 396 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.6892, allocations: 322.7 kB / 0.607 GB, free: 68 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.6892, allocations: 23.12 kB / 0.607 GB, free: 52 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.384e-05/0.6892, allocations: 41.81 kB / 0.607 GB, free: 8 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.037e-05/0.6893, allocations: 18.98 kB / 0.607 GB, free: 15.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.6893, allocations: 0 / 0.607 GB, free: 15.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001413/0.6895, allocations: 95.28 kB / 0.6071 GB, free: 15.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.6895, allocations: 6.656 kB / 0.6071 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6895, allocations: 0 / 0.6071 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.6895, allocations: 0 / 0.6071 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.6896, allocations: 15.31 kB / 0.6071 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.6896, allocations: 4 kB / 0.6071 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.6897, allocations: 11.95 kB / 0.6072 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.6897, allocations: 4 kB / 0.6072 GB, free: 15.88 MB / 410.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.141e-05/0.6898, allocations: 108.9 kB / 0.6073 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.6898, allocations: 7.906 kB / 0.6073 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.69, allocations: 116.6 kB / 0.6074 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.69, allocations: 0 / 0.6074 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.6901, allocations: 0 / 0.6074 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6901, allocations: 0 / 0.6074 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.6904, allocations: 370.5 kB / 0.6077 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6904, allocations: 0 / 0.6077 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.6905, allocations: 12 kB / 0.6078 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6905, allocations: 0 / 0.6078 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.6905, allocations: 0 / 0.6078 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.6905, allocations: 7.984 kB / 0.6078 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6905, allocations: 3.938 kB / 0.6078 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001801/0.6907, allocations: 199.7 kB / 0.608 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00026/0.691, allocations: 0.576 MB / 0.6085 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.6911, allocations: 100.5 kB / 0.6086 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.6911, allocations: 7.906 kB / 0.6086 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.6912, allocations: 8.172 kB / 0.6086 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.6912, allocations: 0 / 0.6086 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.6912, allocations: 8 kB / 0.6086 GB, free: 14.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.463e-05/0.6913, allocations: 129.3 kB / 0.6088 GB, free: 14.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008851/0.6922, allocations: 73.11 kB / 0.6088 GB, free: 14.16 MB / 410.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.0007795/0.693, allocations: 436.4 kB / 0.6092 GB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.6931, allocations: 57.17 kB / 0.6093 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6932, allocations: 0 / 0.6093 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.537e-05/0.6932, allocations: 27 kB / 0.6093 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.6935, allocations: 27.28 kB / 0.6093 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.6938, allocations: 142.8 kB / 0.6095 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.6941, allocations: 0.7307 MB / 0.6102 GB, free: 12.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6942, allocations: 0 / 0.6102 GB, free: 12.84 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat