Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.0009866/0.0009867, allocations: 182.8 kB / 8.525 MB, free: 1.73 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.245/1.245, allocations: 221.4 MB / 230.3 MB, free: 7.641 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.0009975/0.0009973, allocations: 81.86 kB / 281.2 MB, free: 5.477 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.2004/0.2004, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2764/0.4768, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.6136, allocations: 61.9 MB / 0.4942 GB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/1.024, allocations: 86.7 MB / 0.5788 GB, free: 10.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/1.025, allocations: 75.95 kB / 0.5789 GB, free: 10.11 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.01257/1.037, allocations: 4.583 MB / 0.5834 GB, free: 5.484 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/1.037, allocations: 11.94 kB / 0.5834 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/1.037, allocations: 15.64 kB / 0.5834 GB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/1.037, allocations: 171 kB / 0.5836 GB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.038, allocations: 4 kB / 0.5836 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/1.038, allocations: 4 kB / 0.5836 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001159/1.038, allocations: 39.98 kB / 0.5836 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/1.038, allocations: 175.2 kB / 0.5838 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/1.038, allocations: 0 / 0.5838 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/1.038, allocations: 0 / 0.5838 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/1.038, allocations: 15.98 kB / 0.5838 GB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009726/1.039, allocations: 1.678 MB / 0.5854 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.869e-05/1.039, allocations: 173.1 kB / 0.5856 GB, free: 3.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/1.039, allocations: 87.98 kB / 0.5857 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/1.039, allocations: 75.28 kB / 0.5858 GB, free: 2.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/1.039, allocations: 109.8 kB / 0.5859 GB, free: 2.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/1.039, allocations: 0 / 0.5859 GB, free: 2.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.817e-05/1.039, allocations: 37.59 kB / 0.5859 GB, free: 2.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/1.039, allocations: 55.41 kB / 0.586 GB, free: 2.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/1.039, allocations: 165.2 kB / 0.5861 GB, free: 2.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/1.039, allocations: 25.7 kB / 0.5861 GB, free: 2.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/1.04, allocations: 147.1 kB / 0.5863 GB, free: 2.273 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/1.04, allocations: 0 / 0.5863 GB, free: 2.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/1.04, allocations: 0 / 0.5863 GB, free: 2.273 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/1.04, allocations: 322.8 kB / 0.5866 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/1.04, allocations: 31.98 kB / 0.5866 GB, free: 1.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/1.04, allocations: 149.1 kB / 0.5868 GB, free: 1.711 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.307e-05/1.04, allocations: 63.91 kB / 0.5868 GB, free: 1.648 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.04, allocations: 0 / 0.5868 GB, free: 1.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002796/1.04, allocations: 165.3 kB / 0.587 GB, free: 1.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.04, allocations: 4 kB / 0.587 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.04, allocations: 4 kB / 0.587 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.04, allocations: 8 kB / 0.587 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/1.041, allocations: 39.92 kB / 0.587 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/1.041, allocations: 16.48 kB / 0.5871 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.562e-05/1.041, allocations: 27.69 kB / 0.5871 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/1.041, allocations: 8 kB / 0.5871 GB, free: 1.375 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.0001016/1.041, allocations: 188.1 kB / 0.5873 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/1.041, allocations: 112.8 kB / 0.5874 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.478e-05/1.041, allocations: 120.3 kB / 0.5875 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.532e-05/1.041, allocations: 180.2 kB / 0.5877 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.718e-05/1.041, allocations: 186.7 kB / 0.5878 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.978e-05/1.041, allocations: 176.3 kB / 0.588 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/1.041, allocations: 409.7 kB / 0.5884 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/1.041, allocations: 101 kB / 0.5885 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/1.041, allocations: 101 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.714e-05/1.041, allocations: 180.2 kB / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/1.042, allocations: 192.2 kB / 0.5889 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.915e-05/1.042, allocations: 180.3 kB / 0.5891 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.604e-05/1.042, allocations: 180.2 kB / 0.5893 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001257/1.042, allocations: 303.7 kB / 0.5896 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002486/1.042, allocations: 0.6877 MB / 0.5902 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/1.042, allocations: 186 kB / 0.5904 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/1.042, allocations: 192.1 kB / 0.5906 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/1.042, allocations: 101 kB / 0.5907 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/1.042, allocations: 180.3 kB / 0.5909 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/1.042, allocations: 108.9 kB / 0.591 GB, free: 13.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.857e-05/1.043, allocations: 127.2 kB / 0.5911 GB, free: 13.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009496/1.043, allocations: 15.91 kB / 0.5911 GB, free: 13 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.0004799/1.044, allocations: 245.2 kB / 0.5914 GB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00015/1.044, allocations: 65.05 kB / 0.5914 GB, free: 12.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.044, allocations: 8 kB / 0.5914 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/1.044, allocations: 0 / 0.5914 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/1.044, allocations: 0.5224 MB / 0.5919 GB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/1.045, allocations: 190.8 kB / 0.5921 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/1.045, allocations: 0.7196 MB / 0.5928 GB, free: 11.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/1.045, allocations: 0 / 0.5928 GB, free: 11.23 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1)