Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.017/2.017, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004387, allocations: 12 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3789, allocations: 48.71 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002991/0.3819, allocations: 1.219 MB / 332.5 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.384, allocations: 0.823 MB / 333.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.3842, allocations: 4.938 kB / 333.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.3844, allocations: 8.703 kB / 333.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.3847, allocations: 31.58 kB / 333.4 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.3849, allocations: 36.55 kB / 333.4 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.3851, allocations: 43.92 kB / 333.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3853, allocations: 21.81 kB / 333.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.759e-05/0.3853, allocations: 14.84 kB / 333.5 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.3856, allocations: 30.48 kB / 333.5 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.3856, allocations: 1.375 kB / 333.5 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.3858, allocations: 40.11 kB / 333.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.3858, allocations: 5.547 kB / 333.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.3859, allocations: 37.55 kB / 333.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3862, allocations: 66.73 kB / 333.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3862, allocations: 0 / 333.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3862, allocations: 1.469 kB / 333.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3862, allocations: 0 / 333.7 MB, free: 5.164 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005953/0.3868, allocations: 395 kB / 334 MB, free: 4.758 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.3869, allocations: 9.406 kB / 334.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.3869, allocations: 37.36 kB / 334.1 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.387, allocations: 14.88 kB / 334.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.3872, allocations: 188.8 kB / 334.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3873, allocations: 6.531 kB / 334.3 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.3873, allocations: 7.078 kB / 334.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.3876, allocations: 71 kB / 334.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.3876, allocations: 1.25 kB / 334.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3877, allocations: 8 kB / 334.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3877, allocations: 1.281 kB / 334.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.388, allocations: 34.23 kB / 334.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.3885, allocations: 293.8 kB / 334.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.3887, allocations: 62.66 kB / 334.8 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.3888, allocations: 1.828 kB / 334.8 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.3888, allocations: 31.25 kB / 334.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 2.384e-06/0.3888, allocations: 1.125 kB / 334.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.001183/0.39, allocations: 202.8 kB / 335 MB, free: 3.953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.3901, allocations: 79.2 kB / 335.1 MB, free: 3.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.3903, allocations: 137.3 kB / 335.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3903, allocations: 31.36 kB / 335.2 MB, free: 3.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.3904, allocations: 153.2 kB / 335.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.3904, allocations: 34.12 kB / 335.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.3905, allocations: 4 kB / 335.4 MB, free: 3.527 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.3905, allocations: 313.2 kB / 335.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.3908, allocations: 32.75 kB / 335.8 MB, free: 3.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.391, allocations: 50.09 kB / 335.8 MB, free: 3.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.3912, allocations: 59.2 kB / 335.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3912, allocations: 3.938 kB / 335.9 MB, free: 3.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000525/0.3918, allocations: 145.3 kB / 336 MB, free: 3.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.3918, allocations: 36.42 kB / 336 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3919, allocations: 0 / 336 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3919, allocations: 1.922 kB / 336.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.3921, allocations: 18.31 kB / 336.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.3922, allocations: 9.688 kB / 336.1 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3923, allocations: 7.328 kB / 336.1 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.3923, allocations: 6.906 kB / 336.1 MB, free: 3 MB / 266.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001147/0.3925, allocations: 123.8 kB / 336.2 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.3925, allocations: 7.281 kB / 336.2 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/0.3931, allocations: 122.3 kB / 336.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.3931, allocations: 1.219 kB / 336.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3932, allocations: 4.688 kB / 336.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.3932, allocations: 5.016 kB / 336.4 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009167/0.3941, allocations: 398.4 kB / 336.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3941, allocations: 1.188 kB / 336.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.3943, allocations: 19.61 kB / 336.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3943, allocations: 4 kB / 336.8 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3944, allocations: 5.922 kB / 336.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3944, allocations: 0 / 336.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3944, allocations: 1.812 kB / 336.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.3949, allocations: 197.9 kB / 337 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.395, allocations: 92.56 kB / 337.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.395, allocations: 1.766 kB / 337.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.3952, allocations: 9.781 kB / 337.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.3953, allocations: 6.594 kB / 337.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3953, allocations: 6.781 kB / 337.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.3955, allocations: 97.89 kB / 337.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3955, allocations: 0 / 337.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006614/0.3962, allocations: 28.5 kB / 337.2 MB, free: 2.102 MB / 266.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001835/0.398, allocations: 0.9618 MB / 338.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005355/0.3986, allocations: 133.5 kB / 338.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3986, allocations: 1.188 kB / 338.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.3988, allocations: 42.97 kB / 338.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.3993, allocations: 14.16 kB / 338.4 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.4004, allocations: 443.2 kB / 338.8 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.4006, allocations: 0.7011 MB / 339.5 MB, free: 88 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.4007, allocations: 30.62 kB / 339.5 MB, free: 68 kB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4008, allocations: 0 / 339.5 MB, free: 68 kB / 266.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=5 -DSUNDIALS_MINOR_VERSION=4 -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_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18InitializeParameter.cpp:36:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp25; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_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.1/Resources/Data/Tables/test.txt", tmp25); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp11; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_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.1/Resources/Data/Tables/test.txt", tmp11); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:295:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:296:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18.cpp:745:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_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_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.o] Error 1