Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test14.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test14,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.581/2.581, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004314, allocations: 8 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3435, allocations: 54.86 MB / 369.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.4916, allocations: 81.21 MB / 450.6 MB, free: 9.266 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.492, allocations: 79.78 kB / 450.7 MB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01392/0.5059, allocations: 3.476 MB / 454.1 MB, free: 5.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.506, allocations: 0 / 454.1 MB, free: 5.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.506, allocations: 4 kB / 454.1 MB, free: 5.703 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.0005832/0.5066, allocations: 420.8 kB / 454.5 MB, free: 5.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5067, allocations: 12.03 kB / 454.6 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.5067, allocations: 38.45 kB / 454.6 MB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.5068, allocations: 7.906 kB / 454.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.507, allocations: 175 kB / 454.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.507, allocations: 7.938 kB / 454.8 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.5071, allocations: 8 kB / 454.8 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.5073, allocations: 75.39 kB / 454.9 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5074, allocations: 0 / 454.9 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.5074, allocations: 3.953 kB / 454.9 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5074, allocations: 0 / 454.9 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.5076, allocations: 47.91 kB / 454.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.5081, allocations: 280.8 kB / 455.2 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.5083, allocations: 42.56 kB / 455.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.5084, allocations: 15.95 kB / 455.2 MB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.5084, allocations: 34.5 kB / 455.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.5084, allocations: 0 / 455.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001217/0.5096, allocations: 245.4 kB / 455.5 MB, free: 4.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.5097, allocations: 77.11 kB / 455.6 MB, free: 4.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.5098, allocations: 105 kB / 455.7 MB, free: 3.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.5099, allocations: 29.7 kB / 455.7 MB, free: 3.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.51, allocations: 162.5 kB / 455.9 MB, free: 3.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.51, allocations: 23.66 kB / 455.9 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.5101, allocations: 0 / 455.9 MB, free: 3.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5102, allocations: 314.8 kB / 456.2 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.5104, allocations: 43.97 kB / 456.3 MB, free: 3.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.5107, allocations: 57.67 kB / 456.3 MB, free: 3.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.5109, allocations: 73.95 kB / 456.4 MB, free: 3.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.511, allocations: 4 kB / 456.4 MB, free: 3.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005428/0.5115, allocations: 171.1 kB / 456.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.5116, allocations: 37.69 kB / 456.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5116, allocations: 0 / 456.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5116, allocations: 0 / 456.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.5118, allocations: 23.98 kB / 456.6 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5119, allocations: 4 kB / 456.6 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.512, allocations: 11.98 kB / 456.6 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.512, allocations: 7.938 kB / 456.6 MB, free: 2.934 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001195/0.5121, allocations: 113.8 kB / 456.7 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.5122, allocations: 15.86 kB / 456.8 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005599/0.5128, allocations: 137.9 kB / 456.9 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5128, allocations: 4 kB / 456.9 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5128, allocations: 0 / 456.9 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5128, allocations: 0 / 456.9 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008184/0.5136, allocations: 398.5 kB / 457.3 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5137, allocations: 4 kB / 457.3 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.5138, allocations: 31.92 kB / 457.3 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5139, allocations: 288 / 457.3 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.5139, allocations: 0 / 457.3 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.5139, allocations: 4 kB / 457.3 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5139, allocations: 0 / 457.3 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.5145, allocations: 227.3 kB / 457.6 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.185e-05/0.5146, allocations: 89 kB / 457.6 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.5146, allocations: 4 kB / 457.6 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.5148, allocations: 15.98 kB / 457.7 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.5149, allocations: 4 kB / 457.7 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.5149, allocations: 0 / 457.7 MB, free: 1.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.515, allocations: 99.7 kB / 457.8 MB, free: 1.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.515, allocations: 0 / 457.8 MB, free: 1.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000405/0.5154, allocations: 39.92 kB / 457.8 MB, free: 1.668 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.001907/0.5173, allocations: 1.043 MB / 458.8 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005602/0.5179, allocations: 155.3 kB / 459 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5179, allocations: 0 / 459 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.5182, allocations: 51.97 kB / 459 MB, free: 468 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.5184, allocations: 11.94 kB / 459.1 MB, free: 456 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.5194, allocations: 436.3 kB / 459.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.5198, allocations: 0.6887 MB / 460.2 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.5199, allocations: 27.42 kB / 460.2 MB, free: 15.22 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5199, allocations: 0 / 460.2 MB, free: 15.22 MB / 394.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14InitializeParameter.cpp:36:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test.txt", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test.txt", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:292:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:293:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp21); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14.cpp:756:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14FMU.cpp:11: /var/lib/jenkins/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_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.o] Error 1