Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001589/0.001589, allocations: 204.5 kB / 8.54 MB, free: 1.809 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.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008231/0.0008231, allocations: 93.52 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1585/0.1585, allocations: 45.14 MB / 383.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1767/0.3353, allocations: 69.38 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08057/0.4158, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2441/0.66, allocations: 91.58 MB / 0.5933 GB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.6602, allocations: 67.58 kB / 0.5934 GB, free: 11.23 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.02449/0.6847, allocations: 10.23 MB / 0.6034 GB, free: 2.617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.6848, allocations: 12 kB / 0.6034 GB, free: 2.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/0.6848, allocations: 39.44 kB / 0.6034 GB, free: 2.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.6854, allocations: 376.5 kB / 0.6038 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.6854, allocations: 4 kB / 0.6038 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.6854, allocations: 4 kB / 0.6038 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001132/0.6856, allocations: 64.91 kB / 0.6038 GB, free: 2.137 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.6857, allocations: 71.11 kB / 0.6039 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.6857, allocations: 4 kB / 0.6039 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.6857, allocations: 0 / 0.6039 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.6857, allocations: 0 / 0.6039 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.6863, allocations: 477 kB / 0.6044 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.768e-05/0.6864, allocations: 65.28 kB / 0.6044 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.6865, allocations: 31.78 kB / 0.6045 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.6865, allocations: 0 / 0.6045 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.6865, allocations: 37.06 kB / 0.6045 GB, free: 1.504 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.6865, allocations: 0 / 0.6045 GB, free: 1.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002272/0.6868, allocations: 122.8 kB / 0.6046 GB, free: 1.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.6868, allocations: 55.41 kB / 0.6047 GB, free: 1.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005531/0.6874, allocations: 0.504 MB / 0.6051 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.6874, allocations: 25.7 kB / 0.6052 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.6875, allocations: 137.2 kB / 0.6053 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.6875, allocations: 15.31 kB / 0.6053 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.6875, allocations: 0 / 0.6053 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6876, allocations: 356.1 kB / 0.6057 GB, free: 424 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/0.6876, allocations: 22.92 kB / 0.6057 GB, free: 408 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.6877, allocations: 27.17 kB / 0.6057 GB, free: 388 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.6877, allocations: 27.23 kB / 0.6057 GB, free: 368 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6877, allocations: 0 / 0.6057 GB, free: 368 kB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001575/0.6879, allocations: 118.5 kB / 0.6058 GB, free: 256 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.6879, allocations: 8 kB / 0.6059 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6879, allocations: 0 / 0.6059 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.6879, allocations: 3.938 kB / 0.6059 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.081e-05/0.688, allocations: 15.98 kB / 0.6059 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.6881, allocations: 0 / 0.6059 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.6881, allocations: 15.84 kB / 0.6059 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.6881, allocations: 0 / 0.6059 GB, free: 212 kB / 394.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 (6): * Single equations (assignments): 6 * 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.76e-05/0.6882, allocations: 105 kB / 0.606 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.6883, allocations: 39.44 kB / 0.606 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.6885, allocations: 149 kB / 0.6062 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6885, allocations: 0 / 0.6062 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6886, allocations: 4 kB / 0.6062 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6886, allocations: 7.906 kB / 0.6062 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.6888, allocations: 286.5 kB / 0.6065 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6888, allocations: 0 / 0.6065 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.6889, allocations: 11.98 kB / 0.6065 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.6889, allocations: 4 kB / 0.6065 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.6889, allocations: 0 / 0.6065 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6889, allocations: 3.938 kB / 0.6065 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.689, allocations: 3.984 kB / 0.6065 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002008/0.6892, allocations: 228.4 kB / 0.6067 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002906/0.6895, allocations: 0.5942 MB / 0.6073 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.6896, allocations: 146.9 kB / 0.6074 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.6896, allocations: 0 / 0.6074 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.6897, allocations: 4 kB / 0.6074 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.6898, allocations: 15.55 kB / 0.6074 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.6898, allocations: 0 / 0.6074 GB, free: 14.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004083/0.6902, allocations: 410 kB / 0.6078 GB, free: 14.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000827/0.691, allocations: 58.84 kB / 0.6079 GB, free: 14.28 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 (6): * Single equations (assignments): 6 * 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.000803/0.6919, allocations: 441.3 kB / 0.6083 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.692, allocations: 50.8 kB / 0.6083 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.692, allocations: 0 / 0.6083 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.692, allocations: 30.67 kB / 0.6084 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.6924, allocations: 57.02 kB / 0.6084 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.6932, allocations: 0.4936 MB / 0.6089 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/0.6936, allocations: 0.8508 MB / 0.6097 GB, free: 12.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6936, allocations: 4 kB / 0.6097 GB, free: 12.52 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat does not exist to compare? outputFormat=mat