Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001062/0.001062, 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.268/1.268, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.001165/0.001165, allocations: 90.78 kB / 281.2 MB, free: 5.465 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.1995/0.1995, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2449/0.4444, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.5663, allocations: 61.92 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3222/0.8886, allocations: 87.98 MB / 0.5801 GB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.889, allocations: 77.52 kB / 0.5802 GB, free: 8.668 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01898/0.908, allocations: 8.095 MB / 0.5881 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.908, allocations: 11.94 kB / 0.5881 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.9081, allocations: 43.44 kB / 0.5881 GB, free: 476 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.9087, allocations: 327.2 kB / 0.5884 GB, free: 108 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.9087, allocations: 4 kB / 0.5885 GB, free: 104 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.9087, allocations: 4 kB / 0.5885 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.783e-05/0.9088, allocations: 15.98 kB / 0.5885 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.729e-05/0.9089, allocations: 41.7 kB / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.9089, allocations: 0 / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.9089, allocations: 0 / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.9089, allocations: 4 kB / 0.5885 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.9096, allocations: 417.2 kB / 0.5889 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.199e-05/0.9097, allocations: 26.58 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.9097, allocations: 20.64 kB / 0.589 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.9097, allocations: 4 kB / 0.589 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.9098, allocations: 34.56 kB / 0.589 GB, free: 15.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.023e-06/0.9098, allocations: 0 / 0.589 GB, free: 15.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002552/0.91, allocations: 73.23 kB / 0.5891 GB, free: 15.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.9101, allocations: 55.44 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.9113, allocations: 0.7589 MB / 0.5899 GB, free: 14.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.9113, allocations: 25.7 kB / 0.5899 GB, free: 14.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.9114, allocations: 132 kB / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.9114, allocations: 8.75 kB / 0.59 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.9114, allocations: 0 / 0.59 GB, free: 14.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9116, allocations: 362.8 kB / 0.5904 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.9116, allocations: 4 kB / 0.5904 GB, free: 14.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.9116, allocations: 12 kB / 0.5904 GB, free: 14.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.9116, allocations: 4 kB / 0.5904 GB, free: 14.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9117, allocations: 0 / 0.5904 GB, free: 14.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001296/0.9118, allocations: 85.12 kB / 0.5905 GB, free: 13.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.9118, allocations: 4 kB / 0.5905 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.9118, allocations: 3.938 kB / 0.5905 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.9118, allocations: 0 / 0.5905 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.9119, allocations: 8 kB / 0.5905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.912, allocations: 3.984 kB / 0.5905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.278e-05/0.912, allocations: 8.094 kB / 0.5905 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.912, allocations: 0 / 0.5905 GB, free: 13.9 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 (2): * Single equations (assignments): 2 * 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 7.197e-05/0.9121, allocations: 112.8 kB / 0.5906 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/0.9122, allocations: 35.53 kB / 0.5906 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.9124, allocations: 108.7 kB / 0.5907 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.9124, allocations: 0 / 0.5907 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.9124, allocations: 7.906 kB / 0.5907 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9125, allocations: 8.016 kB / 0.5908 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.9128, allocations: 298 kB / 0.591 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9128, allocations: 0 / 0.591 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.9128, allocations: 8 kB / 0.591 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.9128, allocations: 0 / 0.591 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.9129, allocations: 0 / 0.591 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9129, allocations: 3.938 kB / 0.591 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9129, allocations: 0 / 0.591 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001701/0.913, allocations: 182.9 kB / 0.5912 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003011/0.9134, allocations: 0.5541 MB / 0.5918 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.9136, allocations: 160.5 kB / 0.5919 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.9136, allocations: 4 kB / 0.5919 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.9137, allocations: 8.062 kB / 0.5919 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.9138, allocations: 3.984 kB / 0.5919 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.9138, allocations: 0 / 0.5919 GB, free: 12.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007066/0.9145, allocations: 0.612 MB / 0.5925 GB, free: 11.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008943/0.9154, allocations: 52 kB / 0.5926 GB, free: 11.66 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 (2): * Single equations (assignments): 2 * 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.0007393/0.9161, allocations: 259.1 kB / 0.5928 GB, free: 11.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.9163, allocations: 15.98 kB / 0.5928 GB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9163, allocations: 0 / 0.5928 GB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.222e-05/0.9163, allocations: 4 kB / 0.5928 GB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.9166, allocations: 28.05 kB / 0.5929 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.918, allocations: 0.6953 MB / 0.5936 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005721/0.9186, allocations: 0.8411 MB / 0.5944 GB, free: 9.828 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9186, allocations: 0 / 0.5944 GB, free: 9.828 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1)