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.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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 235 MB / 248.1 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.937e-05/3.952e-05, allocations: 4 kB / 309.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5032/0.5032, allocations: 54.84 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.6572, allocations: 81.14 MB / 445.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.6576, allocations: 71.97 kB / 445.8 MB, free: 15.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01484/0.6724, allocations: 3.317 MB / 449.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.43e-06/0.6725, allocations: 4 kB / 449.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.6725, allocations: 0 / 449.1 MB, free: 12.02 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.0005526/0.6731, allocations: 396.6 kB / 449.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.6732, allocations: 8.031 kB / 449.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.6732, allocations: 30.56 kB / 449.6 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.6733, allocations: 15.8 kB / 449.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.6736, allocations: 183.8 kB / 449.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.6736, allocations: 4 kB / 449.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.6736, allocations: 4 kB / 449.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.6738, allocations: 56.28 kB / 449.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6739, allocations: 0 / 449.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.6739, allocations: 8.844 kB / 449.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.6739, allocations: 3.953 kB / 449.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.674, allocations: 19.92 kB / 449.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.6746, allocations: 257 kB / 450.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.6749, allocations: 46.56 kB / 450.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.675, allocations: 8.859 kB / 450.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.675, allocations: 4 kB / 450.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.6751, allocations: 46.45 kB / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.346e-06/0.6751, allocations: 0 / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006535/0.6758, allocations: 106.3 kB / 450.3 MB, free: 10.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.6759, allocations: 81.11 kB / 450.4 MB, free: 10.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.6761, allocations: 119.4 kB / 450.5 MB, free: 10.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.6761, allocations: 25.7 kB / 450.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.6762, allocations: 158.6 kB / 450.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.6763, allocations: 19.66 kB / 450.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.6763, allocations: 0 / 450.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.6765, allocations: 314.8 kB / 451 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.217e-05/0.6765, allocations: 11.94 kB / 451 MB, free: 9.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.179e-05/0.6767, allocations: 38.73 kB / 451.1 MB, free: 9.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.063e-05/0.6768, allocations: 37.7 kB / 451.1 MB, free: 9.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6768, allocations: 0 / 451.1 MB, free: 9.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002721/0.6771, allocations: 91.39 kB / 451.2 MB, free: 9.715 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/0.6771, allocations: 37.66 kB / 451.2 MB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6772, allocations: 0 / 451.2 MB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.6772, allocations: 0 / 451.2 MB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.6774, allocations: 19.92 kB / 451.3 MB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.6774, allocations: 8.016 kB / 451.3 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.6775, allocations: 7.984 kB / 451.3 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.6776, allocations: 4 kB / 451.3 MB, free: 9.633 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 0.0001095/0.6777, allocations: 108.9 kB / 451.4 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.6778, allocations: 4 kB / 451.4 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.6781, allocations: 73.64 kB / 451.5 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-05/0.6781, allocations: 4 kB / 451.5 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.6781, allocations: 0 / 451.5 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.6782, allocations: 4 kB / 451.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.6788, allocations: 322.5 kB / 451.8 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.6788, allocations: 384 / 451.8 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.679, allocations: 19.94 kB / 451.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.679, allocations: 0 / 451.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.679, allocations: 4 kB / 451.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.6791, allocations: 0 / 451.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6791, allocations: 4 kB / 451.8 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.6793, allocations: 159.5 kB / 452 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.6794, allocations: 85.02 kB / 452 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.6795, allocations: 7.938 kB / 452.1 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.6797, allocations: 8 kB / 452.1 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.6797, allocations: 4 kB / 452.1 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.6798, allocations: 0 / 452.1 MB, free: 8.738 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.6799, allocations: 100.1 kB / 452.2 MB, free: 8.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.946e-06/0.6799, allocations: 0 / 452.2 MB, free: 8.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005963/0.6805, allocations: 27.94 kB / 452.2 MB, free: 8.613 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.002061/0.6826, allocations: 0.9514 MB / 453.1 MB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.683, allocations: 87.41 kB / 453.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.683, allocations: 0 / 453.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.6831, allocations: 19.94 kB / 453.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.6835, allocations: 11.95 kB / 453.3 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.6844, allocations: 180.5 kB / 453.4 MB, free: 7.375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.6849, allocations: 0.6848 MB / 454.1 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.685, allocations: 23.42 kB / 454.1 MB, free: 6.641 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6851, allocations: 0 / 454.1 MB, free: 6.641 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_Test24CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test24CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test24Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test24CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24.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_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.o] Error 1