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.Test23.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test23,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.867/2.867, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.363e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3394, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.4911, allocations: 80.47 MB / 438.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4915, allocations: 75.91 kB / 438.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01355/0.505, allocations: 3.21 MB / 441.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5051, allocations: 4 kB / 441.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.5051, allocations: 3.984 kB / 441.9 MB, free: 10.98 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.0004963/0.5056, allocations: 388.1 kB / 442.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.5057, allocations: 12.03 kB / 442.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.5057, allocations: 7.859 kB / 442.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.506, allocations: 183 kB / 442.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.506, allocations: 4 kB / 442.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.5061, allocations: 0 / 442.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.925e-05/0.5062, allocations: 16 kB / 442.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.5063, allocations: 61.47 kB / 442.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.5063, allocations: 3.906 kB / 442.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.5064, allocations: 0 / 442.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.5064, allocations: 3.953 kB / 442.6 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.5068, allocations: 257.5 kB / 442.8 MB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.5071, allocations: 34.56 kB / 442.8 MB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.5071, allocations: 16.86 kB / 442.9 MB, free: 9.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.188e-05/0.5072, allocations: 0 / 442.9 MB, free: 9.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.5072, allocations: 34.64 kB / 442.9 MB, free: 9.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.5072, allocations: 0 / 442.9 MB, free: 9.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005342/0.5078, allocations: 117.3 kB / 443 MB, free: 9.695 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.5079, allocations: 85.05 kB / 443.1 MB, free: 9.594 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.508, allocations: 112.9 kB / 443.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.508, allocations: 25.7 kB / 443.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.5081, allocations: 154.6 kB / 443.4 MB, free: 9.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.5082, allocations: 19.73 kB / 443.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.5082, allocations: 0 / 443.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5083, allocations: 314.8 kB / 443.7 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.5084, allocations: 12 kB / 443.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.485e-05/0.5085, allocations: 37.77 kB / 443.7 MB, free: 8.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.5085, allocations: 15.94 kB / 443.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5085, allocations: 0 / 443.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001812/0.5087, allocations: 81.52 kB / 443.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.5088, allocations: 29.7 kB / 443.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5088, allocations: 0 / 443.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5088, allocations: 0 / 443.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.509, allocations: 23.97 kB / 443.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.509, allocations: 0 / 443.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.5091, allocations: 8 kB / 443.9 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.5091, allocations: 0 / 443.9 MB, free: 8.734 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 8.788e-05/0.5092, allocations: 107 kB / 444 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001626/0.5094, allocations: 65.62 kB / 444.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.5094, allocations: 7.906 kB / 444.1 MB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.5096, allocations: 74.03 kB / 444.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.5097, allocations: 8 kB / 444.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5097, allocations: 0 / 444.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5097, allocations: 0 / 444.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.5101, allocations: 303.1 kB / 444.5 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.5101, allocations: 4 kB / 444.5 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.5103, allocations: 11.98 kB / 444.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.5103, allocations: 8.094 kB / 444.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.5103, allocations: 384 / 444.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5103, allocations: 4 kB / 444.5 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5103, allocations: 4 kB / 444.5 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.5105, allocations: 167.4 kB / 444.6 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.5106, allocations: 81.02 kB / 444.7 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.5107, allocations: 7.953 kB / 444.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.5108, allocations: 4 kB / 444.7 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.5108, allocations: 3.984 kB / 444.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.5109, allocations: 8 kB / 444.8 MB, free: 7.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.225e-05/0.5109, allocations: 95.27 kB / 444.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.511, allocations: 3.938 kB / 444.8 MB, free: 7.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003963/0.5114, allocations: 23.94 kB / 444.9 MB, free: 7.672 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.001302/0.5127, allocations: 0.9137 MB / 445.8 MB, free: 6.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.5129, allocations: 99.33 kB / 445.9 MB, free: 6.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5129, allocations: 0 / 445.9 MB, free: 6.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.499e-05/0.513, allocations: 16 kB / 445.9 MB, free: 6.652 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5133, allocations: 15.92 kB / 445.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.5139, allocations: 175.3 kB / 446.1 MB, free: 6.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.5142, allocations: 0.6885 MB / 446.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.5143, allocations: 27.42 kB / 446.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of SimCode: time 2.805e-06/0.5143, allocations: 4 kB / 446.8 MB, free: 5.672 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=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23InitializeParameter.cpp:36:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Test23CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.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_Test23CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23.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_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23FMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.o] Error 1