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.001551/0.001551, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.122/2.122, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001592/0.001591, allocations: 86.64 kB / 267.5 MB, free: 14.11 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.2905/0.2905, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.55e-05, allocations: 0 / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4986/0.6276, allocations: 86.99 MB / 0.5578 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.6279, allocations: 76.61 kB / 0.5579 GB, free: 476 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01864/0.6465, allocations: 4.304 MB / 0.5621 GB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.6466, allocations: 0 / 0.5621 GB, free: 13.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.494e-05/0.6466, allocations: 7.609 kB / 0.5621 GB, free: 13.04 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.0006283/0.6473, allocations: 377.5 kB / 0.5625 GB, free: 12.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.6474, allocations: 12.03 kB / 0.5625 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.289e-05/0.6474, allocations: 34.56 kB / 0.5625 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.6475, allocations: 15.84 kB / 0.5625 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.6478, allocations: 193.3 kB / 0.5627 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.6479, allocations: 4 kB / 0.5627 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.6479, allocations: 0 / 0.5627 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.6481, allocations: 62.25 kB / 0.5628 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.6481, allocations: 4 kB / 0.5628 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.6481, allocations: 0 / 0.5628 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6482, allocations: 4 kB / 0.5628 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.487e-05/0.6483, allocations: 26.44 kB / 0.5628 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.6488, allocations: 297.3 kB / 0.5631 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.6489, allocations: 30.02 kB / 0.5631 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.649, allocations: 16.67 kB / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-05/0.6491, allocations: 4 kB / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.6491, allocations: 34.06 kB / 0.5632 GB, free: 11.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.6491, allocations: 0 / 0.5632 GB, free: 11.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007563/0.6499, allocations: 145.8 kB / 0.5633 GB, free: 11.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.65, allocations: 81.11 kB / 0.5634 GB, free: 11.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.6502, allocations: 135.9 kB / 0.5635 GB, free: 11.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.6503, allocations: 25.7 kB / 0.5636 GB, free: 11.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.6504, allocations: 156.1 kB / 0.5637 GB, free: 11.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.6504, allocations: 22.95 kB / 0.5637 GB, free: 11.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/0.6505, allocations: 0 / 0.5637 GB, free: 11.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6506, allocations: 314.8 kB / 0.564 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.984e-05/0.6507, allocations: 19 kB / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.6508, allocations: 36.09 kB / 0.5641 GB, free: 10.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.254e-05/0.6509, allocations: 27.3 kB / 0.5641 GB, free: 10.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6509, allocations: 0 / 0.5641 GB, free: 10.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002069/0.6511, allocations: 64.88 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.6511, allocations: 11.95 kB / 0.5642 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.6511, allocations: 0 / 0.5642 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.6512, allocations: 0 / 0.5642 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.6514, allocations: 23.98 kB / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.6514, allocations: 0 / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.6516, allocations: 23.86 kB / 0.5642 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.6517, allocations: 4 kB / 0.5642 GB, free: 10.78 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 () * 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 9.675e-05/0.6518, allocations: 104.5 kB / 0.5643 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.6518, allocations: 7.906 kB / 0.5643 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.6521, allocations: 91.53 kB / 0.5644 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6522, allocations: 0 / 0.5644 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6522, allocations: 4 kB / 0.5644 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6522, allocations: 4 kB / 0.5644 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.6528, allocations: 356.2 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.6528, allocations: 0 / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.6531, allocations: 30.75 kB / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.6531, allocations: 0 / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.6531, allocations: 0 / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.6531, allocations: 0 / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6531, allocations: 0 / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.6534, allocations: 181.4 kB / 0.565 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.6535, allocations: 88.75 kB / 0.5651 GB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.6536, allocations: 11.89 kB / 0.5651 GB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.6537, allocations: 11.98 kB / 0.5651 GB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.6538, allocations: 11.23 kB / 0.5651 GB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.6538, allocations: 0 / 0.5651 GB, free: 9.867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.654, allocations: 110.6 kB / 0.5652 GB, free: 9.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.654, allocations: 0 / 0.5652 GB, free: 9.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003654/0.6544, allocations: 35.31 kB / 0.5652 GB, free: 9.738 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 () * 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.001828/0.6562, allocations: 1.011 MB / 0.5662 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.6565, allocations: 44.92 kB / 0.5663 GB, free: 8.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6565, allocations: 0 / 0.5663 GB, free: 8.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.6566, allocations: 26.25 kB / 0.5663 GB, free: 8.723 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.6569, allocations: 10.95 kB / 0.5663 GB, free: 8.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008252/0.6578, allocations: 210.4 kB / 0.5665 GB, free: 8.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.6582, allocations: 0.7004 MB / 0.5672 GB, free: 7.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.6584, allocations: 29.92 kB / 0.5672 GB, free: 7.738 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6584, allocations: 0 / 0.5672 GB, free: 7.738 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=2 -DSUNDIALS_MINOR_VERSION=6 -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:277:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:278: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