Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",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.001206/0.001206, allocations: 174.1 kB / 8.513 MB, free: 1.848 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.41/1.41, allocations: 221.4 MB / 230.3 MB, free: 7.688 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.0009535/0.0009535, allocations: 92.61 kB / 281.2 MB, free: 5.445 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.1753/0.1753, allocations: 44.14 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1965/0.3719, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.4611, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/0.8108, allocations: 87.64 MB / 0.5798 GB, free: 9.141 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.8112, allocations: 75.95 kB / 0.5798 GB, free: 9.066 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.01941/0.8306, allocations: 7.986 MB / 0.5876 GB, free: 1.035 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.8307, allocations: 15.94 kB / 0.5877 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.8308, allocations: 39.44 kB / 0.5877 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/0.8315, allocations: 331.2 kB / 0.588 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.8316, allocations: 4 kB / 0.588 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.8316, allocations: 4 kB / 0.588 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9e-05/0.8317, allocations: 19.98 kB / 0.588 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.563e-05/0.8318, allocations: 37.7 kB / 0.5881 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.8318, allocations: 0 / 0.5881 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.8318, allocations: 3.906 kB / 0.5881 GB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.8319, allocations: 4 kB / 0.5881 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.8325, allocations: 413.2 kB / 0.5885 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.285e-05/0.8326, allocations: 30.58 kB / 0.5885 GB, free: 60 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.8327, allocations: 12.86 kB / 0.5885 GB, free: 44 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.8327, allocations: 4.094 kB / 0.5885 GB, free: 40 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.8328, allocations: 34.55 kB / 0.5885 GB, free: 16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/0.8328, allocations: 0 / 0.5885 GB, free: 16 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000636/0.8334, allocations: 216.2 kB / 0.5888 GB, free: 15.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.8335, allocations: 55.41 kB / 0.5888 GB, free: 15.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.8347, allocations: 0.755 MB / 0.5895 GB, free: 14.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.8347, allocations: 29.69 kB / 0.5896 GB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.8348, allocations: 136 kB / 0.5897 GB, free: 14.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.8348, allocations: 19.72 kB / 0.5897 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.8348, allocations: 0 / 0.5897 GB, free: 14.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.835, allocations: 358.8 kB / 0.5901 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.8351, allocations: 16 kB / 0.5901 GB, free: 14.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.8351, allocations: 19.89 kB / 0.5901 GB, free: 14.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/0.8352, allocations: 12 kB / 0.5901 GB, free: 14.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.8352, allocations: 0 / 0.5901 GB, free: 14.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002375/0.8354, allocations: 109.9 kB / 0.5902 GB, free: 14.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.8354, allocations: 8 kB / 0.5902 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.8355, allocations: 4 kB / 0.5902 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.8355, allocations: 0 / 0.5902 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.8357, allocations: 23.98 kB / 0.5902 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.8357, allocations: 11.89 kB / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.8358, allocations: 12 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.8358, allocations: 4 kB / 0.5903 GB, free: 14.18 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 (7): * Single equations (assignments): 7 * 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.000103/0.836, allocations: 105 kB / 0.5904 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.8361, allocations: 47.38 kB / 0.5904 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.8365, allocations: 129.4 kB / 0.5905 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.8365, allocations: 0 / 0.5905 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.8365, allocations: 0 / 0.5905 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.8365, allocations: 8 kB / 0.5906 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008932/0.8374, allocations: 0.5538 MB / 0.5911 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.8374, allocations: 0 / 0.5911 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.8375, allocations: 19.98 kB / 0.5911 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.8375, allocations: 4 kB / 0.5911 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.8376, allocations: 7.984 kB / 0.5911 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.8376, allocations: 0 / 0.5911 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.8376, allocations: 3.938 kB / 0.5911 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003034/0.8379, allocations: 210.9 kB / 0.5913 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006039/0.8385, allocations: 0.5736 MB / 0.5919 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.8388, allocations: 168.5 kB / 0.592 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.8388, allocations: 0 / 0.592 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.839, allocations: 11.98 kB / 0.5921 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.8391, allocations: 7.984 kB / 0.5921 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.8391, allocations: 4 kB / 0.5921 GB, free: 12.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007352/0.8398, allocations: 0.6121 MB / 0.5927 GB, free: 11.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009849/0.8408, allocations: 56 kB / 0.5927 GB, free: 11.56 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 (7): * Single equations (assignments): 7 * 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.0009589/0.8418, allocations: 310.4 kB / 0.593 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.842, allocations: 39.94 kB / 0.5931 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.842, allocations: 0 / 0.5931 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.289e-05/0.8421, allocations: 23.94 kB / 0.5931 GB, free: 11.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.8425, allocations: 25.86 kB / 0.5931 GB, free: 11.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.8439, allocations: 0.7129 MB / 0.5938 GB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/0.8444, allocations: 0.8489 MB / 0.5946 GB, free: 9.617 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.8444, allocations: 0 / 0.5946 GB, free: 9.617 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1)