Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.000993/0.0009929, allocations: 181.9 kB / 8.521 MB, free: 1.824 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.227/1.227, allocations: 221.4 MB / 230.3 MB, free: 7.711 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.0009117/0.0009115, allocations: 86.36 kB / 281.2 MB, free: 5.52 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.1987/0.1987, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.267/0.4658, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.5997, allocations: 61.92 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4072/1.007, allocations: 86.69 MB / 0.5788 GB, free: 10.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/1.007, allocations: 75.09 kB / 0.5789 GB, free: 9.977 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.01345/1.021, allocations: 4.572 MB / 0.5834 GB, free: 5.363 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.021, allocations: 15.77 kB / 0.5834 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/1.021, allocations: 11.81 kB / 0.5834 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/1.021, allocations: 174.9 kB / 0.5836 GB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/1.021, allocations: 4 kB / 0.5836 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/1.021, allocations: 7.984 kB / 0.5836 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.772e-05/1.021, allocations: 32 kB / 0.5836 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/1.021, allocations: 183.2 kB / 0.5838 GB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.021, allocations: 0 / 0.5838 GB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/1.021, allocations: 4 kB / 0.5838 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/1.021, allocations: 11.98 kB / 0.5838 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009419/1.022, allocations: 1.678 MB / 0.5854 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/1.022, allocations: 165.1 kB / 0.5856 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/1.022, allocations: 88.05 kB / 0.5857 GB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/1.022, allocations: 75.28 kB / 0.5858 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/1.023, allocations: 113.8 kB / 0.5859 GB, free: 2.605 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/1.023, allocations: 0 / 0.5859 GB, free: 2.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.000101/1.023, allocations: 33.61 kB / 0.5859 GB, free: 2.566 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/1.023, allocations: 55.34 kB / 0.586 GB, free: 2.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/1.023, allocations: 169.2 kB / 0.5861 GB, free: 2.328 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/1.023, allocations: 25.7 kB / 0.5861 GB, free: 2.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.023, allocations: 147.1 kB / 0.5863 GB, free: 2.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.15e-06/1.023, allocations: 8 kB / 0.5863 GB, free: 2.141 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/1.023, allocations: 4 kB / 0.5863 GB, free: 2.137 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.859e-05/1.023, allocations: 318.8 kB / 0.5866 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/1.023, allocations: 27.98 kB / 0.5866 GB, free: 1.789 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/1.023, allocations: 147.7 kB / 0.5868 GB, free: 1.586 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.738e-05/1.023, allocations: 63.89 kB / 0.5868 GB, free: 1.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.023, allocations: 4 kB / 0.5868 GB, free: 1.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002918/1.024, allocations: 165.2 kB / 0.587 GB, free: 1.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.024, allocations: 10.97 kB / 0.587 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.024, allocations: 8 kB / 0.587 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.024, allocations: 4 kB / 0.587 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/1.024, allocations: 39.92 kB / 0.587 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.024, allocations: 11.92 kB / 0.5871 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.304e-05/1.024, allocations: 23.69 kB / 0.5871 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/1.024, allocations: 8 kB / 0.5871 GB, free: 1.25 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 0.0001035/1.024, allocations: 196.1 kB / 0.5873 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/1.024, allocations: 112.8 kB / 0.5874 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.372e-05/1.024, allocations: 116.4 kB / 0.5875 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.601e-05/1.024, allocations: 180.3 kB / 0.5877 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.977e-05/1.024, allocations: 186.6 kB / 0.5878 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.935e-05/1.025, allocations: 180.3 kB / 0.588 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/1.025, allocations: 401.7 kB / 0.5884 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.884e-05/1.025, allocations: 113 kB / 0.5885 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/1.025, allocations: 101 kB / 0.5886 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-05/1.025, allocations: 180.3 kB / 0.5888 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.163e-05/1.025, allocations: 184.1 kB / 0.5889 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.442e-05/1.025, allocations: 176.3 kB / 0.5891 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.822e-05/1.025, allocations: 184.2 kB / 0.5893 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001244/1.025, allocations: 311.7 kB / 0.5896 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002591/1.026, allocations: 0.6799 MB / 0.5903 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-05/1.026, allocations: 194 kB / 0.5904 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/1.026, allocations: 180.2 kB / 0.5906 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/1.026, allocations: 105 kB / 0.5907 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/1.026, allocations: 188.2 kB / 0.5909 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/1.026, allocations: 104.9 kB / 0.591 GB, free: 13.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.063e-05/1.026, allocations: 123.2 kB / 0.5911 GB, free: 12.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00098/1.027, allocations: 15.91 kB / 0.5911 GB, free: 12.88 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 (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.0004377/1.027, allocations: 240.5 kB / 0.5914 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/1.028, allocations: 63.86 kB / 0.5914 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.028, allocations: 0 / 0.5914 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/1.028, allocations: 0 / 0.5914 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/1.028, allocations: 0.5414 MB / 0.5919 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/1.028, allocations: 186.8 kB / 0.5921 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/1.029, allocations: 0.7196 MB / 0.5928 GB, free: 11.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.963e-06/1.029, allocations: 4 kB / 0.5928 GB, free: 11.1 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1)