Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",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.0009518/0.0009519, allocations: 205.8 kB / 8.544 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.086/1.086, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008268/0.0008268, allocations: 86.94 kB / 286.3 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1525/0.1525, allocations: 45.14 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1732/0.3257, allocations: 69.37 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07471/0.4004, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2315/0.632, allocations: 91.9 MB / 0.5936 GB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.6322, allocations: 75.52 kB / 0.5937 GB, free: 10.85 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.02609/0.6583, allocations: 11.13 MB / 0.6046 GB, free: 1.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6584, allocations: 15.94 kB / 0.6046 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/0.6585, allocations: 47.12 kB / 0.6046 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.6591, allocations: 383.2 kB / 0.605 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.6591, allocations: 4 kB / 0.605 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.6591, allocations: 11.25 kB / 0.605 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001405/0.6593, allocations: 73.22 kB / 0.6051 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.6594, allocations: 103 kB / 0.6052 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.6594, allocations: 7.984 kB / 0.6052 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.6595, allocations: 0 / 0.6052 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.6595, allocations: 3.906 kB / 0.6052 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.6601, allocations: 0.5097 MB / 0.6057 GB, free: 424 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.6603, allocations: 94.06 kB / 0.6058 GB, free: 348 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.6603, allocations: 27.48 kB / 0.6058 GB, free: 324 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.6603, allocations: 8.203 kB / 0.6058 GB, free: 316 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.6604, allocations: 38.38 kB / 0.6058 GB, free: 272 kB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.6604, allocations: 4 kB / 0.6058 GB, free: 268 kB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007164/0.6611, allocations: 368.7 kB / 0.6062 GB, free: 15.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.6611, allocations: 55.41 kB / 0.6062 GB, free: 15.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.6617, allocations: 0.503 MB / 0.6067 GB, free: 15.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.6617, allocations: 25.7 kB / 0.6068 GB, free: 15.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.6618, allocations: 148.3 kB / 0.6069 GB, free: 15.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.6618, allocations: 58.12 kB / 0.607 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.6618, allocations: 4 kB / 0.607 GB, free: 15.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.662, allocations: 352 kB / 0.6073 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.6621, allocations: 53.86 kB / 0.6073 GB, free: 14.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.662e-05/0.6622, allocations: 53.27 kB / 0.6074 GB, free: 14.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.364e-05/0.6623, allocations: 69.3 kB / 0.6075 GB, free: 14.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.6623, allocations: 0 / 0.6075 GB, free: 14.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002675/0.6625, allocations: 207.8 kB / 0.6077 GB, free: 14.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.6626, allocations: 4 kB / 0.6077 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.6626, allocations: 0 / 0.6077 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.6626, allocations: 8 kB / 0.6077 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6627, allocations: 35.89 kB / 0.6077 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.6628, allocations: 0 / 0.6077 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.06e-05/0.6628, allocations: 15.92 kB / 0.6077 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.6629, allocations: 7.875 kB / 0.6077 GB, free: 14.57 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 6.289e-05/0.6629, allocations: 108.9 kB / 0.6078 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.663, allocations: 43.44 kB / 0.6079 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/0.6634, allocations: 273 kB / 0.6081 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6634, allocations: 3.906 kB / 0.6081 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6634, allocations: 0 / 0.6081 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.6635, allocations: 4 kB / 0.6081 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007493/0.6642, allocations: 0.6872 MB / 0.6088 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.6642, allocations: 4 kB / 0.6088 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.6643, allocations: 39.91 kB / 0.6089 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6644, allocations: 0 / 0.6089 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.6644, allocations: 6.75 kB / 0.6089 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6644, allocations: 0 / 0.6089 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.6644, allocations: 0 / 0.6089 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000295/0.6647, allocations: 313.5 kB / 0.6092 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004058/0.6651, allocations: 0.6881 MB / 0.6098 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.6652, allocations: 147 kB / 0.61 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.6653, allocations: 4 kB / 0.61 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.6654, allocations: 11.98 kB / 0.61 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.6655, allocations: 15.8 kB / 0.61 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.6655, allocations: 4 kB / 0.61 GB, free: 12.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003783/0.6659, allocations: 410.1 kB / 0.6104 GB, free: 12.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009628/0.6668, allocations: 74.86 kB / 0.6105 GB, free: 12.04 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.0008773/0.6677, allocations: 0.4918 MB / 0.611 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.6679, allocations: 139.3 kB / 0.6111 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6679, allocations: 0 / 0.6111 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.552e-05/0.668, allocations: 85.72 kB / 0.6112 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.6684, allocations: 52.11 kB / 0.6112 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008715/0.6693, allocations: 0.5685 MB / 0.6118 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000452/0.6698, allocations: 0.8815 MB / 0.6126 GB, free: 10.07 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6698, allocations: 0 / 0.6126 GB, free: 10.07 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat