Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",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.001405/0.001405, allocations: 179.3 kB / 8.518 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.369/1.369, allocations: 221.4 MB / 230.3 MB, free: 7.781 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.001007/0.001007, allocations: 91.22 kB / 281.2 MB, free: 5.516 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.2117/0.2117, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2506/0.4623, allocations: 68.02 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.5771, allocations: 61.92 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.949, allocations: 89.61 MB / 0.5817 GB, free: 7.066 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.9493, allocations: 71.95 kB / 0.5818 GB, free: 6.996 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.02344/0.9728, allocations: 8.724 MB / 0.5903 GB, free: 14.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.9728, allocations: 11.94 kB / 0.5903 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.973, allocations: 35.53 kB / 0.5903 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006635/0.9737, allocations: 337.1 kB / 0.5906 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.9737, allocations: 4 kB / 0.5907 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.9738, allocations: 4 kB / 0.5907 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001374/0.9739, allocations: 32 kB / 0.5907 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.9741, allocations: 61.67 kB / 0.5907 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.9741, allocations: 4 kB / 0.5907 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.9741, allocations: 0 / 0.5907 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.9742, allocations: 4 kB / 0.5908 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008559/0.975, allocations: 433 kB / 0.5912 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.9752, allocations: 50.56 kB / 0.5912 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.615e-05/0.9752, allocations: 24.89 kB / 0.5912 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.9752, allocations: 0 / 0.5912 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.9753, allocations: 38.56 kB / 0.5913 GB, free: 13.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.9753, allocations: 0 / 0.5913 GB, free: 13.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003117/0.9756, allocations: 89.25 kB / 0.5914 GB, free: 13.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.9757, allocations: 55.41 kB / 0.5914 GB, free: 12.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000663/0.9763, allocations: 473 kB / 0.5919 GB, free: 12.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.9764, allocations: 25.7 kB / 0.5919 GB, free: 12.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.9765, allocations: 132.3 kB / 0.592 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.9765, allocations: 23.7 kB / 0.592 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.9765, allocations: 0 / 0.592 GB, free: 12.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.9767, allocations: 346.8 kB / 0.5924 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.621e-05/0.9767, allocations: 15.98 kB / 0.5924 GB, free: 11.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.9768, allocations: 16 kB / 0.5924 GB, free: 11.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.9768, allocations: 15.94 kB / 0.5924 GB, free: 11.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9768, allocations: 0 / 0.5924 GB, free: 11.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00018/0.977, allocations: 97.22 kB / 0.5925 GB, free: 11.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.9771, allocations: 11.94 kB / 0.5925 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.9771, allocations: 0 / 0.5925 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.9771, allocations: 0 / 0.5925 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.9772, allocations: 15.98 kB / 0.5925 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.9772, allocations: 0 / 0.5925 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.718e-05/0.9773, allocations: 11.94 kB / 0.5925 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.9773, allocations: 0 / 0.5925 GB, free: 11.76 MB / 410.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 (6): * Single equations (assignments): 6 * 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 8.972e-05/0.9774, allocations: 104.9 kB / 0.5926 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/0.9775, allocations: 43.52 kB / 0.5927 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.9778, allocations: 116.9 kB / 0.5928 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.9778, allocations: 0 / 0.5928 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.9778, allocations: 3.938 kB / 0.5928 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.9778, allocations: 0 / 0.5928 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.9781, allocations: 270 kB / 0.5931 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.9782, allocations: 3.984 kB / 0.5931 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.9782, allocations: 12.31 kB / 0.5931 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.9782, allocations: 4 kB / 0.5931 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.9783, allocations: 8 kB / 0.5931 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.9783, allocations: 0 / 0.5931 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9783, allocations: 0 / 0.5931 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002247/0.9785, allocations: 199.1 kB / 0.5933 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003276/0.9788, allocations: 0.5736 MB / 0.5938 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.979, allocations: 136.7 kB / 0.594 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.979, allocations: 0 / 0.594 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.9792, allocations: 4 kB / 0.594 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.9792, allocations: 11.89 kB / 0.594 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.9792, allocations: 4 kB / 0.594 GB, free: 10.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004248/0.9796, allocations: 371.2 kB / 0.5943 GB, free: 9.809 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008904/0.9805, allocations: 59.86 kB / 0.5944 GB, free: 9.75 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 (6): * Single equations (assignments): 6 * 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.00101/0.9816, allocations: 441.8 kB / 0.5948 GB, free: 9.422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.9817, allocations: 35.94 kB / 0.5949 GB, free: 9.387 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9817, allocations: 4 kB / 0.5949 GB, free: 9.383 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.9818, allocations: 20 kB / 0.5949 GB, free: 9.363 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.9822, allocations: 62.86 kB / 0.5949 GB, free: 9.305 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009575/0.9832, allocations: 452.4 kB / 0.5954 GB, free: 8.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006061/0.9838, allocations: 0.8211 MB / 0.5962 GB, free: 7.992 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9838, allocations: 4 kB / 0.5962 GB, free: 7.988 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1)