Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",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.0009938/0.0009938, allocations: 195.1 kB / 8.538 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.098/1.098, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008265/0.0008265, allocations: 90.28 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1537/0.1537, allocations: 45.14 MB / 383.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1751/0.3288, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07684/0.4056, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2374/0.6431, allocations: 91.75 MB / 0.5935 GB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001649/0.6433, allocations: 68.97 kB / 0.5935 GB, free: 11.09 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.02398/0.6673, allocations: 10.36 MB / 0.6036 GB, free: 2.355 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.6673, allocations: 12 kB / 0.6037 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.834e-05/0.6674, allocations: 47.42 kB / 0.6037 GB, free: 2.297 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.6679, allocations: 382.3 kB / 0.6041 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.6679, allocations: 11.98 kB / 0.6041 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.668, allocations: 8 kB / 0.6041 GB, free: 1.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001299/0.6681, allocations: 64.23 kB / 0.6041 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.6683, allocations: 108.5 kB / 0.6043 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6683, allocations: 4 kB / 0.6043 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.6683, allocations: 0 / 0.6043 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.6683, allocations: 7.906 kB / 0.6043 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.6689, allocations: 0.5062 MB / 0.6048 GB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.6691, allocations: 96.81 kB / 0.6048 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.6691, allocations: 34.84 kB / 0.6049 GB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.6692, allocations: 4 kB / 0.6049 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.6692, allocations: 30.56 kB / 0.6049 GB, free: 1.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.6692, allocations: 0 / 0.6049 GB, free: 1.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006777/0.6699, allocations: 377.3 kB / 0.6053 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.6699, allocations: 59.41 kB / 0.6053 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005108/0.6704, allocations: 0.5075 MB / 0.6058 GB, free: 344 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.6704, allocations: 25.7 kB / 0.6059 GB, free: 312 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.6705, allocations: 145.5 kB / 0.606 GB, free: 176 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.6706, allocations: 50.2 kB / 0.606 GB, free: 132 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-06/0.6706, allocations: 0 / 0.606 GB, free: 132 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6707, allocations: 356.2 kB / 0.6064 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.178e-05/0.6708, allocations: 56.72 kB / 0.6064 GB, free: 15.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.681e-05/0.6709, allocations: 59.83 kB / 0.6065 GB, free: 15.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.388e-05/0.6709, allocations: 65.09 kB / 0.6066 GB, free: 15.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.671, allocations: 0 / 0.6066 GB, free: 15.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002537/0.6712, allocations: 202.3 kB / 0.6067 GB, free: 15.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.6712, allocations: 4 kB / 0.6067 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.6712, allocations: 0 / 0.6067 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.6712, allocations: 3.906 kB / 0.6068 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.6714, allocations: 47.16 kB / 0.6068 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.6714, allocations: 4 kB / 0.6068 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.6715, allocations: 11.94 kB / 0.6068 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.6715, allocations: 4 kB / 0.6068 GB, free: 15.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 5.948e-05/0.6716, allocations: 105 kB / 0.6069 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.6717, allocations: 43.44 kB / 0.607 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.6721, allocations: 274.9 kB / 0.6072 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6721, allocations: 3.938 kB / 0.6072 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.6721, allocations: 0 / 0.6072 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6721, allocations: 0 / 0.6072 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007687/0.6729, allocations: 0.6908 MB / 0.6079 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6729, allocations: 0 / 0.6079 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.673, allocations: 39.67 kB / 0.6079 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6731, allocations: 0 / 0.6079 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.6731, allocations: 4 kB / 0.6079 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6731, allocations: 0 / 0.6079 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6731, allocations: 0 / 0.6079 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003105/0.6734, allocations: 317.2 kB / 0.6082 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004005/0.6738, allocations: 0.6821 MB / 0.6089 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.6739, allocations: 151 kB / 0.6091 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/0.674, allocations: 0 / 0.6091 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.6741, allocations: 15.98 kB / 0.6091 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.6742, allocations: 7.984 kB / 0.6091 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.6742, allocations: 7.062 kB / 0.6091 GB, free: 13.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000381/0.6746, allocations: 418.1 kB / 0.6095 GB, free: 12.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009776/0.6756, allocations: 74.88 kB / 0.6096 GB, free: 12.91 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0009078/0.6765, allocations: 0.4885 MB / 0.61 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.6767, allocations: 138.8 kB / 0.6102 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6767, allocations: 4 kB / 0.6102 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.578e-05/0.6768, allocations: 81.78 kB / 0.6102 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.6772, allocations: 63.42 kB / 0.6103 GB, free: 12.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008717/0.6781, allocations: 0.5613 MB / 0.6109 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.6785, allocations: 0.8818 MB / 0.6117 GB, free: 10.94 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6785, allocations: 0 / 0.6117 GB, free: 10.94 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat