Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",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.001704/0.001704, allocations: 196.3 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 225.5 MB / 234.4 MB, free: 3.359 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008128/0.0008128, allocations: 85.81 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1776/0.1776, allocations: 45.15 MB / 383.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2196/0.3972, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09461/0.4918, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2974/0.7893, allocations: 87.76 MB / 0.5896 GB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.7895, allocations: 73.2 kB / 0.5896 GB, free: 15.02 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01126/0.8008, allocations: 4.627 MB / 0.5941 GB, free: 11.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.8009, allocations: 12 kB / 0.5942 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.8009, allocations: 7.906 kB / 0.5942 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.801, allocations: 167 kB / 0.5943 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.801, allocations: 4 kB / 0.5943 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.8011, allocations: 4 kB / 0.5943 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.492e-05/0.8011, allocations: 41.2 kB / 0.5944 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.8013, allocations: 180.2 kB / 0.5945 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.8013, allocations: 0 / 0.5945 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.8013, allocations: 0 / 0.5945 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.8014, allocations: 11.98 kB / 0.5946 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008149/0.8022, allocations: 1.679 MB / 0.5962 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.672e-05/0.8023, allocations: 169 kB / 0.5964 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.8023, allocations: 80.14 kB / 0.5964 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.8024, allocations: 79.28 kB / 0.5965 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.8024, allocations: 113.8 kB / 0.5966 GB, free: 8.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.8024, allocations: 4 kB / 0.5966 GB, free: 8.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.527e-05/0.8025, allocations: 37.55 kB / 0.5967 GB, free: 8.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.8025, allocations: 51.41 kB / 0.5967 GB, free: 8.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.8027, allocations: 162.2 kB / 0.5969 GB, free: 8.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.8027, allocations: 25.7 kB / 0.5969 GB, free: 8.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.8028, allocations: 150.4 kB / 0.597 GB, free: 8.203 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-06/0.8028, allocations: 7.688 kB / 0.597 GB, free: 8.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.8028, allocations: 0 / 0.597 GB, free: 8.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.8029, allocations: 322.4 kB / 0.5973 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.879e-05/0.8029, allocations: 27.89 kB / 0.5974 GB, free: 7.859 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.535e-05/0.803, allocations: 155.4 kB / 0.5975 GB, free: 7.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.518e-05/0.8031, allocations: 64.41 kB / 0.5976 GB, free: 7.609 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8031, allocations: 0 / 0.5976 GB, free: 7.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00026/0.8034, allocations: 172.6 kB / 0.5977 GB, free: 7.453 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.8034, allocations: 4 kB / 0.5977 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.8034, allocations: 7.984 kB / 0.5978 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.8035, allocations: 8 kB / 0.5978 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.8036, allocations: 35.92 kB / 0.5978 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.8036, allocations: 11.94 kB / 0.5978 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.8037, allocations: 19.75 kB / 0.5978 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.8037, allocations: 11.38 kB / 0.5978 GB, free: 7.359 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.63e-05/0.8038, allocations: 192.1 kB / 0.598 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.8039, allocations: 112.9 kB / 0.5981 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.8039, allocations: 115.5 kB / 0.5982 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.35e-05/0.804, allocations: 180.2 kB / 0.5984 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.76e-05/0.8041, allocations: 186.7 kB / 0.5986 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.72e-05/0.8042, allocations: 179.4 kB / 0.5988 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.8044, allocations: 413.2 kB / 0.5992 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.759e-05/0.8044, allocations: 101 kB / 0.5993 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.8045, allocations: 101 kB / 0.5993 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.808e-05/0.8045, allocations: 188.1 kB / 0.5995 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/0.8046, allocations: 180.3 kB / 0.5997 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.447e-05/0.8047, allocations: 176.3 kB / 0.5999 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.337e-05/0.8047, allocations: 184.2 kB / 0.6 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001549/0.8049, allocations: 311.5 kB / 0.6003 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002593/0.8051, allocations: 0.6871 MB / 0.601 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.8052, allocations: 190 kB / 0.6012 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.8053, allocations: 184.2 kB / 0.6014 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.8054, allocations: 101 kB / 0.6015 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.8055, allocations: 176.3 kB / 0.6016 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.8055, allocations: 104.9 kB / 0.6017 GB, free: 3.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.18e-05/0.8056, allocations: 135.3 kB / 0.6019 GB, free: 3.035 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009933/0.8066, allocations: 19.84 kB / 0.6019 GB, free: 3.016 MB / 394.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 (0): * Single equations (assignments): 0 * 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.0003922/0.807, allocations: 245.3 kB / 0.6021 GB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.8072, allocations: 62.23 kB / 0.6022 GB, free: 2.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8072, allocations: 0 / 0.6022 GB, free: 2.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.8072, allocations: 1.25 kB / 0.6022 GB, free: 2.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.8075, allocations: 0.53 MB / 0.6027 GB, free: 2.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.8079, allocations: 193.6 kB / 0.6029 GB, free: 2.008 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.8083, allocations: 0.7234 MB / 0.6036 GB, free: 1.262 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.8083, allocations: 0 / 0.6036 GB, free: 1.262 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat does not exist to compare? outputFormat=mat