Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test14,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14",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.001666/0.001666, allocations: 182.1 kB / 16.4 MB, free: 5.75 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.159/2.159, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001208/0.001208, allocations: 104.3 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5554/0.5554, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007195/0.0007197, allocations: 12 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1632, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test14): time 0.002432/0.1657, allocations: 1.313 MB / 491.6 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1674, allocations: 0.8635 MB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.1675, allocations: 0 / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.1677, allocations: 11.94 kB / 492.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.1679, allocations: 47.81 kB / 492.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.1683, allocations: 99.75 kB / 492.6 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.1685, allocations: 35.95 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.1686, allocations: 4.188 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.517e-05/0.1687, allocations: 31.84 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1688, allocations: 19.92 kB / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1689, allocations: 0 / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.169, allocations: 39.91 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.1691, allocations: 15.92 kB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.1691, allocations: 33.64 kB / 492.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.1693, allocations: 64.17 kB / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.1693, allocations: 0 / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1693, allocations: 4 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1693, allocations: 0 / 492.9 MB, free: 8.527 MB / 378.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.0006201/0.17, allocations: 402.6 kB / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.17, allocations: 12.03 kB / 493.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.1701, allocations: 30.56 kB / 493.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.1701, allocations: 7.953 kB / 493.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1704, allocations: 187 kB / 493.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1704, allocations: 3.984 kB / 493.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.1705, allocations: 4 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.1707, allocations: 83.31 kB / 493.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1707, allocations: 0 / 493.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1708, allocations: 3.938 kB / 493.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1708, allocations: 0 / 493.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.1711, allocations: 51.92 kB / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.1715, allocations: 296.7 kB / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1717, allocations: 42.56 kB / 494 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1718, allocations: 4 kB / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1718, allocations: 34.56 kB / 494 MB, free: 7.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.1718, allocations: 4 kB / 494 MB, free: 7.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001202/0.173, allocations: 237.3 kB / 494.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.1731, allocations: 77.11 kB / 494.3 MB, free: 6.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1733, allocations: 141.8 kB / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1733, allocations: 29.7 kB / 494.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.1734, allocations: 158.5 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.1735, allocations: 23.7 kB / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.1735, allocations: 0 / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1737, allocations: 314.8 kB / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.1739, allocations: 47.91 kB / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.1741, allocations: 53.62 kB / 495.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.1743, allocations: 44 kB / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1744, allocations: 0 / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000494/0.1749, allocations: 129.7 kB / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.1749, allocations: 8 kB / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1749, allocations: 0 / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.175, allocations: 0 / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.1752, allocations: 23.98 kB / 495.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1752, allocations: 4 kB / 495.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.1753, allocations: 11.98 kB / 495.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1753, allocations: 4 kB / 495.3 MB, free: 5.867 MB / 378.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 () * Number of clocked 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.000122/0.1755, allocations: 121.8 kB / 495.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.1755, allocations: 11.86 kB / 495.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005535/0.1761, allocations: 150.5 kB / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.1761, allocations: 0 / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1761, allocations: 0 / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1761, allocations: 3.984 kB / 495.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.177, allocations: 414.4 kB / 496 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.177, allocations: 7.938 kB / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.1772, allocations: 23.98 kB / 496 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1772, allocations: 0 / 496 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1772, allocations: 4 kB / 496 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.1772, allocations: 0 / 496 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1772, allocations: 0 / 496 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/0.1778, allocations: 227.3 kB / 496.3 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.1779, allocations: 88.97 kB / 496.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.1779, allocations: 4 kB / 496.3 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.1781, allocations: 19.98 kB / 496.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.1781, allocations: 7.984 kB / 496.4 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1782, allocations: 0 / 496.4 MB, free: 4.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.1783, allocations: 107.2 kB / 496.5 MB, free: 4.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1783, allocations: 0 / 496.5 MB, free: 4.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003677/0.1787, allocations: 20 kB / 496.5 MB, free: 4.574 MB / 378.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 (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.00215/0.1809, allocations: 1.108 MB / 497.6 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.1814, allocations: 95.88 kB / 497.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1814, allocations: 0 / 497.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.1816, allocations: 51.97 kB / 497.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.1819, allocations: 15.98 kB / 497.8 MB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1838, allocations: 0.6634 MB / 498.4 MB, free: 2.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1841, allocations: 0.6965 MB / 499.1 MB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.1842, allocations: 27.42 kB / 499.2 MB, free: 1.867 MB / 378.7 MB Notification: Performance of SimCode: time 2.815e-06/0.1843, allocations: 0 / 499.2 MB, free: 1.867 MB / 378.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_Test14CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14InitializeParameter.cpp:41:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/test.txt", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/test.txt", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:279:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14.cpp:758:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14FMU.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 7 errors generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.o] Error 1