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.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.261/2.261, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.203e-05, allocations: 4 kB / 309.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3778, allocations: 54.86 MB / 364.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.522, allocations: 81.25 MB / 445.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.5223, allocations: 71.97 kB / 445.9 MB, free: 15.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.5376, allocations: 3.631 MB / 449.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5377, allocations: 0 / 449.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.5377, allocations: 8 kB / 449.6 MB, free: 11.45 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000496/0.5382, allocations: 393.2 kB / 450 MB, free: 11.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.5383, allocations: 16.03 kB / 450 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.5383, allocations: 38.55 kB / 450 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.5384, allocations: 7.953 kB / 450 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.5387, allocations: 186.9 kB / 450.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5387, allocations: 4 kB / 450.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.5387, allocations: 8 kB / 450.2 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.5389, allocations: 77.05 kB / 450.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.539, allocations: 4 kB / 450.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.539, allocations: 0 / 450.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.539, allocations: 7.953 kB / 450.3 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.5391, allocations: 29.39 kB / 450.3 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005859/0.5397, allocations: 385.6 kB / 450.7 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.5401, allocations: 93.16 kB / 450.8 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.859e-05/0.5402, allocations: 21.72 kB / 450.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.5402, allocations: 7.938 kB / 450.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.5403, allocations: 38.52 kB / 450.9 MB, free: 9.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.325e-06/0.5403, allocations: 4 kB / 450.9 MB, free: 9.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007936/0.5411, allocations: 185.3 kB / 451.1 MB, free: 9.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.5412, allocations: 110.8 kB / 451.2 MB, free: 9.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.5413, allocations: 118 kB / 451.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.5414, allocations: 29.7 kB / 451.3 MB, free: 9.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.5415, allocations: 154.6 kB / 451.5 MB, free: 9.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.5415, allocations: 31.55 kB / 451.5 MB, free: 9.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.5415, allocations: 4 kB / 451.5 MB, free: 9.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5417, allocations: 318.8 kB / 451.8 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-05/0.5418, allocations: 27.94 kB / 451.8 MB, free: 8.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.5419, allocations: 42.47 kB / 451.9 MB, free: 8.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.542, allocations: 61.52 kB / 451.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.542, allocations: 0 / 451.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003072/0.5423, allocations: 147 kB / 452.1 MB, free: 8.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.5424, allocations: 33.69 kB / 452.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5424, allocations: 4.031 kB / 452.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5425, allocations: 0 / 452.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.5426, allocations: 23.98 kB / 452.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.5427, allocations: 3.984 kB / 452.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.66e-05/0.5428, allocations: 12 kB / 452.2 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.5428, allocations: 0 / 452.2 MB, free: 8.598 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 (11): * Single equations (assignments): 10 * 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 9.301e-05/0.5429, allocations: 109 kB / 452.3 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.543, allocations: 15.86 kB / 452.3 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/0.5434, allocations: 129.6 kB / 452.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.5434, allocations: 4.281 kB / 452.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5434, allocations: 0 / 452.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5434, allocations: 0 / 452.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008164/0.5442, allocations: 498.4 kB / 452.9 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5443, allocations: 4.031 kB / 452.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.5445, allocations: 23.98 kB / 452.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5445, allocations: 0 / 452.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.5445, allocations: 4 kB / 452.9 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.5445, allocations: 4 kB / 452.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.5445, allocations: 11.86 kB / 452.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.545, allocations: 299 kB / 453.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.5451, allocations: 89.02 kB / 453.3 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.5451, allocations: 256 / 453.3 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.5453, allocations: 15.98 kB / 453.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.5453, allocations: 11.98 kB / 453.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.5454, allocations: 7.953 kB / 453.4 MB, free: 7.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.5455, allocations: 99.28 kB / 453.5 MB, free: 7.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5455, allocations: 0 / 453.5 MB, free: 7.176 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004176/0.5459, allocations: 39.98 kB / 453.5 MB, free: 7.137 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001661/0.5476, allocations: 1.218 MB / 454.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.548, allocations: 135.3 kB / 454.8 MB, free: 5.824 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.548, allocations: 0 / 454.8 MB, free: 5.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.5481, allocations: 39.92 kB / 454.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.5485, allocations: 11.95 kB / 454.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008188/0.5493, allocations: 238.1 kB / 455.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.5496, allocations: 0.7005 MB / 455.8 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.5498, allocations: 31.42 kB / 455.9 MB, free: 4.734 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5498, allocations: 0 / 455.9 MB, free: 4.734 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_Test18CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18InitializeParameter.cpp:36:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18InitializeParameter.cpp:37: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_CombiTable1D_Test18CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp11; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.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", tmp11); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:315:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:316:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18.cpp:765:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18FMU.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_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.o] Error 1