Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test24.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.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.922/1.922, allocations: 209.2 MB / 224.8 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006983/0.0006986, allocations: 8 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4456, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test24): time 0.002209/0.4479, allocations: 1.207 MB / 332.5 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.4493, allocations: 0.8228 MB / 333.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.4494, allocations: 0.5312 kB / 333.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.4496, allocations: 18.05 kB / 333.3 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.4498, allocations: 22.78 kB / 333.3 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.45, allocations: 35.66 kB / 333.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.4501, allocations: 35.02 kB / 333.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.4503, allocations: 20.69 kB / 333.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.416e-05/0.4503, allocations: 16.91 kB / 333.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.4505, allocations: 24.19 kB / 333.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.4505, allocations: 2.344 kB / 333.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.4507, allocations: 39.58 kB / 333.5 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.4507, allocations: 4.094 kB / 333.5 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.4508, allocations: 35.77 kB / 333.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.4509, allocations: 59.53 kB / 333.6 MB, free: 5.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.451, allocations: 5.281 kB / 333.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.451, allocations: 0 / 333.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.451, allocations: 0 / 333.6 MB, free: 5.172 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004775/0.4515, allocations: 388.5 kB / 334 MB, free: 4.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4515, allocations: 10.31 kB / 334 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.4516, allocations: 32.22 kB / 334 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.4516, allocations: 5.625 kB / 334 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.4518, allocations: 183.5 kB / 334.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4518, allocations: 5.438 kB / 334.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.4519, allocations: 9.688 kB / 334.2 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.4521, allocations: 65.03 kB / 334.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4521, allocations: 0.6562 kB / 334.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.4521, allocations: 0 / 334.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4521, allocations: 1.219 kB / 334.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.4523, allocations: 35.19 kB / 334.3 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.4527, allocations: 281.5 kB / 334.6 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.453, allocations: 53.05 kB / 334.7 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.4531, allocations: 0 / 334.7 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.4531, allocations: 36.75 kB / 334.7 MB, free: 4.078 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4531, allocations: 0 / 334.7 MB, free: 4.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008239/0.4539, allocations: 163.7 kB / 334.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.454, allocations: 79.5 kB / 334.9 MB, free: 3.918 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.4541, allocations: 133.1 kB / 335.1 MB, free: 3.801 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.4542, allocations: 25.7 kB / 335.1 MB, free: 3.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.4542, allocations: 156.6 kB / 335.2 MB, free: 3.617 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.4542, allocations: 15.97 kB / 335.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.4543, allocations: 0 / 335.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.4543, allocations: 320.9 kB / 335.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.4545, allocations: 25.77 kB / 335.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.4546, allocations: 39.78 kB / 335.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.4548, allocations: 73.28 kB / 335.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4548, allocations: 1.531 kB / 335.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003495/0.4552, allocations: 121.4 kB / 335.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.4552, allocations: 32.25 kB / 335.9 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4552, allocations: 0.7031 kB / 335.9 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.4553, allocations: 1.438 kB / 335.9 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.4554, allocations: 18.14 kB / 335.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4554, allocations: 1.125 kB / 335.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.4555, allocations: 10.56 kB / 335.9 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.4555, allocations: 6.188 kB / 335.9 MB, free: 3.086 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 (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.096e-05/0.4556, allocations: 115.7 kB / 336 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.4557, allocations: 7.188 kB / 336 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.456, allocations: 113.4 kB / 336.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4561, allocations: 1.406 kB / 336.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4561, allocations: 0 / 336.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4561, allocations: 1.078 kB / 336.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.4567, allocations: 362.9 kB / 336.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4567, allocations: 4.828 kB / 336.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.4568, allocations: 13.88 kB / 336.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4568, allocations: 1.469 kB / 336.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.4568, allocations: 0 / 336.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4568, allocations: 2.359 kB / 336.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.4569, allocations: 4.234 kB / 336.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.4572, allocations: 192.9 kB / 336.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.4572, allocations: 91.69 kB / 336.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.4573, allocations: 2.297 kB / 336.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.4574, allocations: 6.516 kB / 336.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.4575, allocations: 13.19 kB / 336.8 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.4575, allocations: 5.484 kB / 336.8 MB, free: 2.293 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.991e-05/0.4576, allocations: 102.2 kB / 336.9 MB, free: 2.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4576, allocations: 0 / 336.9 MB, free: 2.207 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000346/0.4579, allocations: 25.3 kB / 336.9 MB, free: 2.199 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 (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.00127/0.4592, allocations: 0.9391 MB / 337.9 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.4596, allocations: 124.7 kB / 338 MB, free: 1.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4596, allocations: 0 / 338 MB, free: 1.332 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.4598, allocations: 30.64 kB / 338 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.4601, allocations: 9.109 kB / 338 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007572/0.4608, allocations: 416.9 kB / 338.4 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.461, allocations: 0.6934 MB / 339.1 MB, free: 236 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.023e-05/0.4611, allocations: 20.86 kB / 339.2 MB, free: 224 kB / 266.7 MB Notification: Performance of SimCode: time 9.41e-07/0.4611, allocations: 0 / 339.2 MB, free: 224 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_CombiTable1D_Test24CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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.1/Resources/Data/Tables/test.txt", tmp21); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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.1/Resources/Data/Tables/test.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.o] Error 1