Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",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.001871/0.00187, allocations: 199.7 kB / 8.537 MB, free: 1.777 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 225.5 MB / 234.4 MB, free: 3.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008927/0.0008929, allocations: 93.64 kB / 286.3 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 45.14 MB / 383.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2667/0.4816, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.6213, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3834/1.005, allocations: 90.23 MB / 0.592 GB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/1.005, allocations: 67.78 kB / 0.592 GB, free: 12.59 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0468/1.052, allocations: 10.32 MB / 0.6021 GB, free: 3.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.711e-05/1.052, allocations: 11.94 kB / 0.6021 GB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007082/1.053, allocations: 79.23 kB / 0.6022 GB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/1.054, allocations: 491.9 kB / 0.6027 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/1.054, allocations: 8 kB / 0.6027 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/1.054, allocations: 7.938 kB / 0.6027 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002303/1.055, allocations: 52.73 kB / 0.6027 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/1.055, allocations: 107.2 kB / 0.6028 GB, free: 3.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/1.055, allocations: 4 kB / 0.6028 GB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/1.055, allocations: 0 / 0.6028 GB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/1.055, allocations: 0 / 0.6028 GB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/1.057, allocations: 0.6836 MB / 0.6035 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/1.057, allocations: 82.36 kB / 0.6036 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.802e-05/1.057, allocations: 28.88 kB / 0.6036 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.087e-05/1.057, allocations: 11.48 kB / 0.6036 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/1.057, allocations: 30.56 kB / 0.6037 GB, free: 2.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/1.057, allocations: 0 / 0.6037 GB, free: 2.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001684/1.059, allocations: 435.5 kB / 0.6041 GB, free: 1.949 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/1.059, allocations: 85.05 kB / 0.6042 GB, free: 1.848 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/1.06, allocations: 0.7801 MB / 0.6049 GB, free: 1.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/1.06, allocations: 29.7 kB / 0.6049 GB, free: 1.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/1.06, allocations: 160 kB / 0.6051 GB, free: 1.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/1.06, allocations: 47.83 kB / 0.6051 GB, free: 1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/1.061, allocations: 4 kB / 0.6052 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002183/1.061, allocations: 375 kB / 0.6055 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.921e-05/1.061, allocations: 33.44 kB / 0.6055 GB, free: 0.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/1.061, allocations: 51.77 kB / 0.6056 GB, free: 0.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/1.061, allocations: 48.97 kB / 0.6056 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/1.061, allocations: 0 / 0.6056 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004309/1.062, allocations: 169.9 kB / 0.6058 GB, free: 412 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.062, allocations: 4 kB / 0.6058 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.062, allocations: 224 / 0.6058 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/1.062, allocations: 7.906 kB / 0.6058 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/1.062, allocations: 47.53 kB / 0.6059 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.062, allocations: 8.062 kB / 0.6059 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/1.062, allocations: 15.98 kB / 0.6059 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/1.062, allocations: 7.984 kB / 0.6059 GB, free: 324 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0001115/1.062, allocations: 108.9 kB / 0.606 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/1.063, allocations: 55.25 kB / 0.606 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/1.063, allocations: 222.8 kB / 0.6063 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.063, allocations: 4 kB / 0.6063 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.063, allocations: 3.906 kB / 0.6063 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.063, allocations: 0 / 0.6063 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/1.065, allocations: 0.7887 MB / 0.607 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.065, allocations: 4 kB / 0.607 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/1.065, allocations: 39.97 kB / 0.6071 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.065, allocations: 4 kB / 0.6071 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/1.065, allocations: 10.61 kB / 0.6071 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.065, allocations: 0 / 0.6071 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.065, allocations: 0 / 0.6071 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003912/1.065, allocations: 370.6 kB / 0.6074 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006106/1.066, allocations: 0.7453 MB / 0.6082 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/1.066, allocations: 175 kB / 0.6083 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/1.066, allocations: 4 kB / 0.6083 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/1.066, allocations: 19.98 kB / 0.6084 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/1.066, allocations: 11.97 kB / 0.6084 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/1.066, allocations: 4 kB / 0.6084 GB, free: 13.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000715/1.067, allocations: 0.6196 MB / 0.609 GB, free: 13.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00114/1.068, allocations: 75.12 kB / 0.6091 GB, free: 13.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0008356/1.069, allocations: 309.2 kB / 0.6093 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002777/1.07, allocations: 96.23 kB / 0.6094 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.07, allocations: 0 / 0.6094 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/1.07, allocations: 61.64 kB / 0.6095 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/1.07, allocations: 65.33 kB / 0.6096 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/1.072, allocations: 0.7018 MB / 0.6102 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006999/1.072, allocations: 0.9212 MB / 0.6111 GB, free: 11.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/1.072, allocations: 0 / 0.6111 GB, free: 11.36 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat does not exist to compare? outputFormat=mat