Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",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.001256/0.001256, allocations: 199.2 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.096/1.096, allocations: 225.5 MB / 234.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00082/0.0008201, allocations: 99.45 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1556/0.1556, allocations: 45.14 MB / 383.3 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.182/0.3376, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07748/0.4151, allocations: 63.24 MB / 0.5039 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/0.6514, allocations: 89.64 MB / 0.5914 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.6517, allocations: 71.03 kB / 0.5915 GB, free: 13.04 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01341/0.6651, allocations: 5.494 MB / 0.5968 GB, free: 8.406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.6651, allocations: 8 kB / 0.5968 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.6652, allocations: 15.81 kB / 0.5969 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.6654, allocations: 207.6 kB / 0.5971 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.6654, allocations: 0 / 0.5971 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.6655, allocations: 4 kB / 0.5971 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.013e-05/0.6655, allocations: 30.92 kB / 0.5971 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.294e-05/0.6656, allocations: 56.34 kB / 0.5971 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.6657, allocations: 0 / 0.5971 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.6657, allocations: 4 kB / 0.5972 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6657, allocations: 0 / 0.5972 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.6661, allocations: 301.3 kB / 0.5974 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.6663, allocations: 41.23 kB / 0.5975 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.6663, allocations: 15.36 kB / 0.5975 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.6663, allocations: 4 kB / 0.5975 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.6663, allocations: 30.56 kB / 0.5975 GB, free: 7.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.6664, allocations: 0 / 0.5975 GB, free: 7.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006121/0.667, allocations: 238.2 kB / 0.5978 GB, free: 7.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.667, allocations: 55.31 kB / 0.5978 GB, free: 7.391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.6672, allocations: 160.8 kB / 0.598 GB, free: 7.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.6672, allocations: 29.7 kB / 0.598 GB, free: 7.211 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.6672, allocations: 90.94 kB / 0.5981 GB, free: 7.121 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.6673, allocations: 35.2 kB / 0.5981 GB, free: 7.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.6673, allocations: 0 / 0.5981 GB, free: 7.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.6674, allocations: 326 kB / 0.5984 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.066e-05/0.6674, allocations: 37.11 kB / 0.5985 GB, free: 6.746 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.6675, allocations: 32.88 kB / 0.5985 GB, free: 6.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/0.6675, allocations: 41.97 kB / 0.5985 GB, free: 6.699 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.6676, allocations: 0 / 0.5985 GB, free: 6.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001731/0.6677, allocations: 128.9 kB / 0.5986 GB, free: 6.594 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.6678, allocations: 8 kB / 0.5987 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6678, allocations: 0 / 0.5987 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.6678, allocations: 0 / 0.5987 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.6679, allocations: 35.91 kB / 0.5987 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.6679, allocations: 0 / 0.5987 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.668, allocations: 19.98 kB / 0.5987 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.668, allocations: 7.984 kB / 0.5987 GB, free: 6.523 MB / 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 (11): * Single equations (assignments): 11 * 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.859e-05/0.6681, allocations: 104.9 kB / 0.5988 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.6681, allocations: 7.906 kB / 0.5988 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.6684, allocations: 156.7 kB / 0.599 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6684, allocations: 7.938 kB / 0.599 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6684, allocations: 0 / 0.599 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.6684, allocations: 0 / 0.599 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.6689, allocations: 455 kB / 0.5994 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6689, allocations: 0 / 0.5994 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.669, allocations: 36.36 kB / 0.5994 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.669, allocations: 4 kB / 0.5995 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.669, allocations: 3.438 kB / 0.5995 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.669, allocations: 4 kB / 0.5995 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6691, allocations: 4 kB / 0.5995 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002135/0.6693, allocations: 254.2 kB / 0.5997 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003124/0.6696, allocations: 0.6285 MB / 0.6003 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.6697, allocations: 100.3 kB / 0.6004 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.6697, allocations: 0 / 0.6004 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.6698, allocations: 15.98 kB / 0.6004 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.6698, allocations: 11.98 kB / 0.6004 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.6699, allocations: 4 kB / 0.6004 GB, free: 4.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.012e-05/0.67, allocations: 133.6 kB / 0.6006 GB, free: 4.645 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008535/0.6708, allocations: 35.55 kB / 0.6006 GB, free: 4.617 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0006073/0.6714, allocations: 337.2 kB / 0.6009 GB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.6716, allocations: 81.67 kB / 0.601 GB, free: 4.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6716, allocations: 0 / 0.601 GB, free: 4.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.622e-05/0.6717, allocations: 54.67 kB / 0.6011 GB, free: 4.266 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.6719, allocations: 15.33 kB / 0.6011 GB, free: 4.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.6723, allocations: 222.2 kB / 0.6013 GB, free: 4.035 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.6726, allocations: 0.7421 MB / 0.602 GB, free: 3.27 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6726, allocations: 0 / 0.602 GB, free: 3.27 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat does not exist to compare? outputFormat=mat