Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",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 4.0.0+maint.om/package.mo): time 0.001721/0.001722, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 221.4 MB / 230.3 MB, free: 7.617 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009255/0.0009255, allocations: 88.67 kB / 281.2 MB, free: 5.441 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2039/0.2039, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2593/0.4632, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.6084, allocations: 61.9 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/0.8562, allocations: 87.97 MB / 0.5801 GB, free: 8.758 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.8565, allocations: 75.95 kB / 0.5802 GB, free: 8.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01595/0.8724, allocations: 6.503 MB / 0.5865 GB, free: 2.145 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.8725, allocations: 11.94 kB / 0.5865 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.8725, allocations: 7.906 kB / 0.5865 GB, free: 2.125 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.8727, allocations: 190.8 kB / 0.5867 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.8727, allocations: 7.906 kB / 0.5867 GB, free: 1.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.8727, allocations: 4 kB / 0.5867 GB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.5e-05/0.8728, allocations: 23.98 kB / 0.5867 GB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.654e-05/0.8729, allocations: 55.41 kB / 0.5868 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8729, allocations: 0 / 0.5868 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.8729, allocations: 4 kB / 0.5868 GB, free: 1.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.873, allocations: 0 / 0.5868 GB, free: 1.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.8733, allocations: 273.3 kB / 0.5871 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.708e-05/0.8733, allocations: 30.58 kB / 0.5871 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.8734, allocations: 12.86 kB / 0.5871 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.8734, allocations: 0 / 0.5871 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.8734, allocations: 34.56 kB / 0.5871 GB, free: 1.391 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.8734, allocations: 0 / 0.5871 GB, free: 1.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004278/0.8739, allocations: 129.3 kB / 0.5873 GB, free: 1.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.8739, allocations: 89.09 kB / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.874, allocations: 124.4 kB / 0.5875 GB, free: 1.023 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.874, allocations: 25.7 kB / 0.5875 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.8741, allocations: 92.14 kB / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.8741, allocations: 23.7 kB / 0.5876 GB, free: 0.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.8741, allocations: 0 / 0.5876 GB, free: 0.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.8742, allocations: 314.8 kB / 0.5879 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/0.8742, allocations: 12 kB / 0.5879 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.8743, allocations: 33.7 kB / 0.5879 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.192e-05/0.8743, allocations: 12.23 kB / 0.588 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8743, allocations: 3.906 kB / 0.588 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001122/0.8744, allocations: 85.61 kB / 0.588 GB, free: 412 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.8744, allocations: 4 kB / 0.588 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8745, allocations: 4 kB / 0.588 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.8745, allocations: 3.938 kB / 0.588 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.8746, allocations: 19.98 kB / 0.5881 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.8746, allocations: 4 kB / 0.5881 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.8747, allocations: 19.92 kB / 0.5881 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.8747, allocations: 4 kB / 0.5881 GB, free: 352 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 (7): * Single equations (assignments): 7 * 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.084e-05/0.8748, allocations: 101 kB / 0.5882 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.8748, allocations: 7.906 kB / 0.5882 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.875, allocations: 90.02 kB / 0.5883 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.875, allocations: 4 kB / 0.5883 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.875, allocations: 3.938 kB / 0.5883 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.875, allocations: 0 / 0.5883 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.8753, allocations: 331 kB / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8753, allocations: 0 / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.499e-05/0.8754, allocations: 23.98 kB / 0.5886 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.8754, allocations: 4 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.8754, allocations: 0 / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8754, allocations: 0 / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.8755, allocations: 3.938 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000129/0.8756, allocations: 163.8 kB / 0.5888 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002134/0.8758, allocations: 0.5468 MB / 0.5893 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.8759, allocations: 89 kB / 0.5894 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.8759, allocations: 0 / 0.5894 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.876, allocations: 15.98 kB / 0.5894 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.876, allocations: 11.97 kB / 0.5894 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.8761, allocations: 12 kB / 0.5895 GB, free: 14.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.009e-05/0.8761, allocations: 103.3 kB / 0.5895 GB, free: 14.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008082/0.8769, allocations: 39.91 kB / 0.5896 GB, free: 14.7 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 (7): * Single equations (assignments): 7 * 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.0006565/0.8776, allocations: 345.5 kB / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.8777, allocations: 36 kB / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.8777, allocations: 0 / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.8778, allocations: 27.92 kB / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.878, allocations: 8.812 kB / 0.59 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.8783, allocations: 111.9 kB / 0.5901 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.8785, allocations: 0.7153 MB / 0.5908 GB, free: 13.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.8785, allocations: 0 / 0.5908 GB, free: 13.5 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat does not exist to compare? outputFormat=mat