Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",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.001594/0.001594, allocations: 177.1 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.392/1.392, allocations: 221.4 MB / 230.3 MB, free: 7.656 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.0008847/0.0008847, allocations: 86.16 kB / 281.2 MB, free: 5.461 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.2134/0.2134, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2624/0.4759, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.62, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.295/0.915, allocations: 87.69 MB / 0.5798 GB, free: 9.008 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.9153, allocations: 73.45 kB / 0.5799 GB, free: 8.938 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.01708/0.9324, allocations: 7.931 MB / 0.5876 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.9325, allocations: 11.94 kB / 0.5876 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.334e-05/0.9326, allocations: 47.38 kB / 0.5877 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.933, allocations: 319.4 kB / 0.588 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.933, allocations: 0 / 0.588 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.9331, allocations: 7.938 kB / 0.588 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.454e-05/0.9331, allocations: 16 kB / 0.588 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.049e-05/0.9332, allocations: 41.69 kB / 0.5881 GB, free: 496 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.9332, allocations: 0 / 0.5881 GB, free: 496 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.9332, allocations: 8 kB / 0.5881 GB, free: 488 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.9333, allocations: 0 / 0.5881 GB, free: 488 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.9338, allocations: 417.1 kB / 0.5885 GB, free: 28 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.934, allocations: 33.66 kB / 0.5885 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.934, allocations: 8.859 kB / 0.5885 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.934, allocations: 12.08 kB / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.9341, allocations: 30.56 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.9341, allocations: 0 / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004259/0.9345, allocations: 180.2 kB / 0.5887 GB, free: 15.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.9345, allocations: 51.41 kB / 0.5888 GB, free: 15.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.9357, allocations: 0.7512 MB / 0.5895 GB, free: 14.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.9357, allocations: 25.7 kB / 0.5895 GB, free: 14.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.9358, allocations: 140 kB / 0.5896 GB, free: 14.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.9358, allocations: 15.75 kB / 0.5897 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.9358, allocations: 0 / 0.5897 GB, free: 14.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9359, allocations: 362.8 kB / 0.59 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.936, allocations: 11.94 kB / 0.59 GB, free: 14.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.936, allocations: 8 kB / 0.59 GB, free: 14.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.936, allocations: 12 kB / 0.59 GB, free: 14.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.936, allocations: 4 kB / 0.59 GB, free: 14.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001437/0.9362, allocations: 93.12 kB / 0.5901 GB, free: 14.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.9362, allocations: 4 kB / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.9362, allocations: 4 kB / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.9362, allocations: 3.984 kB / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.9363, allocations: 19.92 kB / 0.5902 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.9363, allocations: 0 / 0.5902 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.9364, allocations: 8 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.9364, allocations: 4 kB / 0.5902 GB, free: 14.2 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 (5): * Single equations (assignments): 5 * 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.445e-05/0.9365, allocations: 104.9 kB / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.9365, allocations: 39.44 kB / 0.5903 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.9367, allocations: 117.2 kB / 0.5904 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.9368, allocations: 0 / 0.5904 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.9368, allocations: 4 kB / 0.5904 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.9368, allocations: 0 / 0.5904 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006212/0.9374, allocations: 0.5381 MB / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.9374, allocations: 12 kB / 0.591 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.9375, allocations: 12 kB / 0.591 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.9375, allocations: 4 kB / 0.591 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.9375, allocations: 0 / 0.591 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.9375, allocations: 0 / 0.591 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.9375, allocations: 3.984 kB / 0.591 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001745/0.9377, allocations: 187 kB / 0.5912 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002838/0.938, allocations: 0.5696 MB / 0.5917 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.9382, allocations: 160.5 kB / 0.5919 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.9383, allocations: 0 / 0.5919 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.9384, allocations: 16 kB / 0.5919 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.9384, allocations: 3.984 kB / 0.5919 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.9384, allocations: 4 kB / 0.5919 GB, free: 12.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006036/0.939, allocations: 0.6043 MB / 0.5925 GB, free: 11.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009069/0.9399, allocations: 63.84 kB / 0.5925 GB, free: 11.65 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 (5): * Single equations (assignments): 5 * 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.0005879/0.9405, allocations: 307.3 kB / 0.5928 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.564e-05/0.9406, allocations: 27.94 kB / 0.5929 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9406, allocations: 3.938 kB / 0.5929 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.793e-05/0.9407, allocations: 16 kB / 0.5929 GB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.9409, allocations: 22.7 kB / 0.5929 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.942, allocations: 0.6918 MB / 0.5936 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/0.9425, allocations: 0.8489 MB / 0.5944 GB, free: 9.754 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.9425, allocations: 0 / 0.5944 GB, free: 9.754 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1)