Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.471e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3983, allocations: 54.84 MB / 364.6 MB, free: 5.434 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1874/0.5857, allocations: 81.14 MB / 445.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.5861, allocations: 72.72 kB / 445.8 MB, free: 15.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01841/0.6046, allocations: 3.324 MB / 449.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6046, allocations: 0 / 449.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.6046, allocations: 4 kB / 449.2 MB, free: 11.88 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.0006061/0.6053, allocations: 392 kB / 449.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.6053, allocations: 8.031 kB / 449.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.137e-05/0.6054, allocations: 43.61 kB / 449.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.6055, allocations: 7.953 kB / 449.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.6058, allocations: 183 kB / 449.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.6059, allocations: 4 kB / 449.8 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.6059, allocations: 4 kB / 449.8 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.6061, allocations: 51.41 kB / 449.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.6061, allocations: 0 / 449.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.6061, allocations: 4.875 kB / 449.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.6062, allocations: 12.61 kB / 449.9 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.6062, allocations: 15.94 kB / 449.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.6068, allocations: 261 kB / 450.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.607, allocations: 42.56 kB / 450.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.6071, allocations: 8.859 kB / 450.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.6071, allocations: 4 kB / 450.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.6071, allocations: 46.45 kB / 450.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.354e-06/0.6072, allocations: 0.75 kB / 450.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005379/0.6077, allocations: 108.2 kB / 450.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.6078, allocations: 81.05 kB / 450.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.608, allocations: 110.4 kB / 450.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.608, allocations: 25.7 kB / 450.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/0.6081, allocations: 166.5 kB / 450.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.6081, allocations: 19.66 kB / 450.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.6081, allocations: 0 / 450.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6083, allocations: 311.9 kB / 451 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.6083, allocations: 12 kB / 451 MB, free: 9.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.6084, allocations: 33.7 kB / 451.1 MB, free: 9.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.763e-05/0.6085, allocations: 41.64 kB / 451.1 MB, free: 9.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6085, allocations: 4.031 kB / 451.1 MB, free: 9.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002183/0.6088, allocations: 91.39 kB / 451.2 MB, free: 9.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.6088, allocations: 33.66 kB / 451.2 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.6088, allocations: 4 kB / 451.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.6089, allocations: 0 / 451.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.609, allocations: 19.92 kB / 451.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.6091, allocations: 0 / 451.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.6092, allocations: 4.844 kB / 451.3 MB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.6092, allocations: 4 kB / 451.3 MB, free: 9.508 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.891e-05/0.6093, allocations: 113 kB / 451.4 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.6094, allocations: 7.906 kB / 451.4 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.6096, allocations: 69.73 kB / 451.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6096, allocations: 0 / 451.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6096, allocations: 6.875 kB / 451.5 MB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.6097, allocations: 0 / 451.5 MB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.6101, allocations: 322.5 kB / 451.8 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6102, allocations: 8.516 kB / 451.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.6103, allocations: 15.98 kB / 451.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.6103, allocations: 0 / 451.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.6103, allocations: 0 / 451.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6104, allocations: 0 / 451.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6104, allocations: 0 / 451.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.6106, allocations: 164.2 kB / 452 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.6107, allocations: 81.06 kB / 452 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.6107, allocations: 8 kB / 452 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.6109, allocations: 11.98 kB / 452.1 MB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.6109, allocations: 4 kB / 452.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.611, allocations: 0.875 kB / 452.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.6111, allocations: 96.14 kB / 452.2 MB, free: 8.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6111, allocations: 0 / 452.2 MB, free: 8.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003531/0.6114, allocations: 27.94 kB / 452.2 MB, free: 8.492 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.001472/0.6129, allocations: 0.9583 MB / 453.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.6132, allocations: 91.39 kB / 453.2 MB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6132, allocations: 0 / 453.2 MB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.922e-05/0.6133, allocations: 23.88 kB / 453.3 MB, free: 7.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.6136, allocations: 8 kB / 453.3 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000662/0.6142, allocations: 172.2 kB / 453.4 MB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.6146, allocations: 0.6926 MB / 454.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.6147, allocations: 23.42 kB / 454.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of SimCode: time 1.684e-06/0.6147, allocations: 0 / 454.1 MB, free: 6.508 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_CombiTable1Ds_Test23CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23InitializeParameter.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_CombiTable1Ds_Test23CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.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_CombiTable1Ds_Test23Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test23CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23FMU.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_CombiTable1Ds_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.o] Error 1