Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002336/0.002343, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001175, allocations: 86.8 kB / 270.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3696/0.3696, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007966/0.0007968, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1646, allocations: 58.87 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.002741/0.1675, allocations: 1.309 MB / 491.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1686, allocations: 0.637 MB / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.898e-05/0.1687, allocations: 0 / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.169, allocations: 27.84 kB / 492.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1692, allocations: 27.91 kB / 492.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.362e-06/0.1692, allocations: 0 / 492.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1694, allocations: 31.89 kB / 492.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.1694, allocations: 0 / 492.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.1695, allocations: 7.938 kB / 492.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.688e-05/0.1696, allocations: 15.92 kB / 492.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1696, allocations: 4 kB / 492.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.959e-05/0.1697, allocations: 4 kB / 492.4 MB, free: 7.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.1697, allocations: 19.98 kB / 492.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.1698, allocations: 33.64 kB / 492.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1699, allocations: 52.14 kB / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1699, allocations: 0 / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1699, allocations: 0 / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.17, allocations: 0 / 492.5 MB, free: 7.051 MB / 330.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.0004537/0.1704, allocations: 351.2 kB / 492.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1705, allocations: 12.03 kB / 492.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.399e-05/0.1706, allocations: 42.55 kB / 492.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.1706, allocations: 7.906 kB / 492.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1708, allocations: 178.9 kB / 493.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1708, allocations: 0 / 493.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.1708, allocations: 4 kB / 493.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.1711, allocations: 122.8 kB / 493.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1711, allocations: 4 kB / 493.2 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1711, allocations: 3.984 kB / 493.2 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.735e-05/0.1712, allocations: 23.98 kB / 493.2 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1713, allocations: 43.91 kB / 493.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008973/0.1723, allocations: 0.8905 MB / 494.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1724, allocations: 181.1 kB / 494.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.1724, allocations: 75.28 kB / 494.4 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.018e-05/0.1725, allocations: 109.8 kB / 494.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.274e-06/0.1725, allocations: 0 / 494.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 9.764e-05/0.1726, allocations: 33.61 kB / 494.5 MB, free: 4.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.1727, allocations: 126.7 kB / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.173, allocations: 190 kB / 494.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.173, allocations: 25.7 kB / 494.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1732, allocations: 221.5 kB / 495.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-06/0.1732, allocations: 0 / 495.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.1732, allocations: 12 kB / 495.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1734, allocations: 322.7 kB / 495.4 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.1735, allocations: 31.98 kB / 495.5 MB, free: 3.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.1737, allocations: 153.2 kB / 495.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1739, allocations: 67.91 kB / 495.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1739, allocations: 0 / 495.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004509/0.1743, allocations: 189.8 kB / 495.9 MB, free: 3.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.1744, allocations: 8 kB / 495.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.1744, allocations: 11.95 kB / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.1745, allocations: 11.98 kB / 495.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.1747, allocations: 39.92 kB / 495.9 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.1747, allocations: 4 kB / 495.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.1749, allocations: 23.69 kB / 496 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.1749, allocations: 16 kB / 496 MB, free: 3.242 MB / 330.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 () * Number of clocked 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.0001796/0.1751, allocations: 217 kB / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-05/0.1752, allocations: 112.8 kB / 496.3 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.589e-05/0.1753, allocations: 116.8 kB / 496.4 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.164e-05/0.1754, allocations: 192.2 kB / 496.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.677e-05/0.1755, allocations: 180.2 kB / 496.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.998e-05/0.1756, allocations: 176.3 kB / 496.9 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.1759, allocations: 429.1 kB / 497.4 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-05/0.176, allocations: 105 kB / 497.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.176, allocations: 108.9 kB / 497.6 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-05/0.1761, allocations: 176.3 kB / 497.7 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.058e-05/0.1762, allocations: 180.2 kB / 497.9 MB, free: 1.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.048e-05/0.1763, allocations: 184.2 kB / 498.1 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.414e-05/0.1764, allocations: 188.2 kB / 498.3 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.1766, allocations: 311.7 kB / 498.6 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.1767, allocations: 194 kB / 498.8 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.1769, allocations: 180.2 kB / 499 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.177, allocations: 101 kB / 499.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/0.1771, allocations: 192.2 kB / 499.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.1772, allocations: 105 kB / 499.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001759/0.1774, allocations: 127.2 kB / 499.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1774, allocations: 0 / 499.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.1778, allocations: 12 kB / 499.5 MB, free: 15.51 MB / 346.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 () * Number of clocked 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.0009949/0.1788, allocations: 0.9108 MB / 0.4887 GB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1791, allocations: 71.78 kB / 0.4887 GB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1791, allocations: 5.25 kB / 0.4887 GB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.1791, allocations: 0 / 0.4887 GB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.1795, allocations: 0.5224 MB / 0.4892 GB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.1823, allocations: 3.676 MB / 0.4928 GB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.1828, allocations: 0.7047 MB / 0.4935 GB, free: 9.449 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.1829, allocations: 31.36 kB / 0.4936 GB, free: 9.418 MB / 346.7 MB Notification: Performance of SimCode: time 1.853e-06/0.1829, allocations: 0 / 0.4936 GB, free: 9.418 MB / 346.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:373:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp2; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:374:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp2); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17FMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.o] Error 1