Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test24.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.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.771e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4113, allocations: 54.85 MB / 364.6 MB, free: 5.426 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.5605, allocations: 81.14 MB / 445.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.5608, allocations: 71.95 kB / 445.8 MB, free: 15.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01347/0.5743, allocations: 3.34 MB / 449.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5744, allocations: 0 / 449.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.5744, allocations: 0 / 449.2 MB, free: 11.87 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004701/0.5749, allocations: 396 kB / 449.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5749, allocations: 8.031 kB / 449.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.575, allocations: 34.56 kB / 449.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.575, allocations: 15.88 kB / 449.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.5753, allocations: 179.7 kB / 449.8 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.5753, allocations: 14.86 kB / 449.8 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.5753, allocations: 0 / 449.8 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.5755, allocations: 59.41 kB / 449.9 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5755, allocations: 0 / 449.9 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.5756, allocations: 0.6562 kB / 449.9 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.5756, allocations: 3.953 kB / 449.9 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.5756, allocations: 23.92 kB / 449.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.5761, allocations: 277 kB / 450.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.5764, allocations: 38.56 kB / 450.2 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.5764, allocations: 12.86 kB / 450.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.5765, allocations: 0 / 450.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.5765, allocations: 47.2 kB / 450.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.5765, allocations: 0 / 450.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005024/0.577, allocations: 109.5 kB / 450.4 MB, free: 10.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.5771, allocations: 77.11 kB / 450.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.5772, allocations: 118.2 kB / 450.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.5773, allocations: 25.7 kB / 450.6 MB, free: 10.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.5774, allocations: 162.6 kB / 450.7 MB, free: 10.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.5774, allocations: 19.64 kB / 450.8 MB, free: 10.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.5774, allocations: 4.656 kB / 450.8 MB, free: 10.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5775, allocations: 318.8 kB / 451.1 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.5776, allocations: 12 kB / 451.1 MB, free: 9.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.976e-05/0.5777, allocations: 29.72 kB / 451.1 MB, free: 9.691 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.506e-05/0.5778, allocations: 45.62 kB / 451.2 MB, free: 9.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5778, allocations: 0 / 451.2 MB, free: 9.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002046/0.578, allocations: 100.3 kB / 451.3 MB, free: 9.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.5781, allocations: 34.59 kB / 451.3 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5781, allocations: 3.984 kB / 451.3 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5781, allocations: 4 kB / 451.3 MB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.5782, allocations: 15.94 kB / 451.3 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5782, allocations: 0 / 451.3 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-05/0.5783, allocations: 11.98 kB / 451.3 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.5784, allocations: 4 kB / 451.3 MB, free: 9.453 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 (6): * Single equations (assignments): 5 * 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 7.689e-05/0.5785, allocations: 105 kB / 451.4 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.5785, allocations: 7.906 kB / 451.4 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.5788, allocations: 85.97 kB / 451.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5788, allocations: 0.6562 kB / 451.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.5788, allocations: 0 / 451.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5788, allocations: 0 / 451.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.5793, allocations: 334.5 kB / 451.9 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5793, allocations: 3.953 kB / 451.9 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.5794, allocations: 19.98 kB / 451.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.5794, allocations: 0 / 451.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.5794, allocations: 1.219 kB / 451.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5794, allocations: 0 / 451.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5795, allocations: 0 / 451.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.5797, allocations: 171.4 kB / 452 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.5797, allocations: 81.06 kB / 452.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.5798, allocations: 4 kB / 452.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.5799, allocations: 12 kB / 452.1 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.58, allocations: 3.984 kB / 452.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.58, allocations: 4.141 kB / 452.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.659e-05/0.5801, allocations: 96.91 kB / 452.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5801, allocations: 0 / 452.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.5804, allocations: 27.94 kB / 452.3 MB, free: 8.414 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 (5): * Single equations (assignments): 5 * 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.001364/0.5818, allocations: 0.972 MB / 453.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.5821, allocations: 91.39 kB / 453.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5821, allocations: 0 / 453.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.568e-05/0.5822, allocations: 19.94 kB / 453.4 MB, free: 7.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.5824, allocations: 15.92 kB / 453.4 MB, free: 7.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006156/0.583, allocations: 180.2 kB / 453.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.5834, allocations: 0.6887 MB / 454.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.5835, allocations: 31.42 kB / 454.3 MB, free: 6.398 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5835, allocations: 0 / 454.3 MB, free: 6.398 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/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_CombiTable1D_Test24CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24InitializeParameter.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", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:262:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp16); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24FMU.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_CombiTable1D_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.o] Error 1