Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00212/0.00212, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.192/2.192, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 100.5 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3203/0.3203, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.249e-05/2.247e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3984, allocations: 58.86 MB / 477.2 MB, free: 5.145 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.5616, allocations: 86.72 MB / 0.5507 GB, free: 12.47 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.5619, allocations: 67.97 kB / 0.5508 GB, free: 12.41 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01874/0.5807, allocations: 4.296 MB / 0.5549 GB, free: 8.098 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5808, allocations: 4 kB / 0.555 GB, free: 8.094 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.5808, allocations: 0 / 0.555 GB, free: 8.094 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005509/0.5814, allocations: 378.9 kB / 0.5553 GB, free: 7.68 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.5814, allocations: 12.03 kB / 0.5553 GB, free: 7.668 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.5815, allocations: 11.94 kB / 0.5553 GB, free: 7.656 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.5818, allocations: 198.8 kB / 0.5555 GB, free: 7.422 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.5818, allocations: 4.547 kB / 0.5555 GB, free: 7.418 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.5819, allocations: 0 / 0.5555 GB, free: 7.418 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001115/0.582, allocations: 20 kB / 0.5555 GB, free: 7.398 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.5822, allocations: 59.41 kB / 0.5556 GB, free: 7.328 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5822, allocations: 0 / 0.5556 GB, free: 7.328 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.5822, allocations: 7.938 kB / 0.5556 GB, free: 7.32 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5822, allocations: 0 / 0.5556 GB, free: 7.32 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.5828, allocations: 297.2 kB / 0.5559 GB, free: 6.992 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.5829, allocations: 34.58 kB / 0.5559 GB, free: 6.949 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.583, allocations: 12.86 kB / 0.5559 GB, free: 6.934 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.583, allocations: 4 kB / 0.5559 GB, free: 6.93 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.5831, allocations: 30.56 kB / 0.556 GB, free: 6.891 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.5831, allocations: 0 / 0.556 GB, free: 6.891 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007209/0.5838, allocations: 157.4 kB / 0.5561 GB, free: 6.73 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.5839, allocations: 81.11 kB / 0.5562 GB, free: 6.633 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.5841, allocations: 132.2 kB / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.5841, allocations: 25.7 kB / 0.5564 GB, free: 6.465 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.5842, allocations: 162.5 kB / 0.5565 GB, free: 6.305 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.5843, allocations: 23.61 kB / 0.5565 GB, free: 6.281 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.5843, allocations: 4 kB / 0.5565 GB, free: 6.277 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5845, allocations: 314.8 kB / 0.5568 GB, free: 5.961 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.147e-05/0.5845, allocations: 20.23 kB / 0.5569 GB, free: 5.941 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.626e-05/0.5846, allocations: 29.72 kB / 0.5569 GB, free: 5.906 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.155e-05/0.5847, allocations: 23.98 kB / 0.5569 GB, free: 5.883 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5847, allocations: 0 / 0.5569 GB, free: 5.883 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000214/0.585, allocations: 85.83 kB / 0.557 GB, free: 5.793 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.585, allocations: 4 kB / 0.557 GB, free: 5.789 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.585, allocations: 4.031 kB / 0.557 GB, free: 5.785 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.585, allocations: 0 / 0.557 GB, free: 5.785 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.5853, allocations: 23.98 kB / 0.557 GB, free: 5.762 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.5853, allocations: 3.953 kB / 0.557 GB, free: 5.758 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.5854, allocations: 15.98 kB / 0.557 GB, free: 5.742 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.5855, allocations: 0 / 0.557 GB, free: 5.742 MB / 395.1 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 (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.000102/0.5856, allocations: 108.9 kB / 0.5571 GB, free: 5.629 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002287/0.5858, allocations: 89.52 kB / 0.5572 GB, free: 5.535 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.5859, allocations: 11.89 kB / 0.5572 GB, free: 5.523 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.5862, allocations: 98.25 kB / 0.5573 GB, free: 5.426 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5862, allocations: 144 / 0.5573 GB, free: 5.426 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.5862, allocations: 7.984 kB / 0.5573 GB, free: 5.418 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.5862, allocations: 3.984 kB / 0.5573 GB, free: 5.414 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.5868, allocations: 351 kB / 0.5577 GB, free: 5.027 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5868, allocations: 0 / 0.5577 GB, free: 5.027 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.587, allocations: 23.98 kB / 0.5577 GB, free: 5.004 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.5871, allocations: 7.953 kB / 0.5577 GB, free: 4.996 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.5871, allocations: 0 / 0.5577 GB, free: 4.996 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5871, allocations: 0 / 0.5577 GB, free: 4.996 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5871, allocations: 0 / 0.5577 GB, free: 4.996 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.5874, allocations: 179.4 kB / 0.5579 GB, free: 4.805 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.5875, allocations: 89 kB / 0.558 GB, free: 4.699 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.5875, allocations: 3.953 kB / 0.558 GB, free: 4.695 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.5877, allocations: 15.98 kB / 0.558 GB, free: 4.68 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.5878, allocations: 7.938 kB / 0.558 GB, free: 4.672 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.5878, allocations: 4 kB / 0.558 GB, free: 4.668 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.5879, allocations: 103.3 kB / 0.5581 GB, free: 4.566 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5879, allocations: 4 kB / 0.5581 GB, free: 4.562 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.5883, allocations: 35.98 kB / 0.5581 GB, free: 4.527 MB / 395.1 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 (7): * Single equations (assignments): 7 * 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.001628/0.59, allocations: 0.9953 MB / 0.5591 GB, free: 3.559 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.5902, allocations: 51.98 kB / 0.5592 GB, free: 3.508 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5903, allocations: 0 / 0.5592 GB, free: 3.508 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.5903, allocations: 24 kB / 0.5592 GB, free: 3.484 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.5907, allocations: 23.8 kB / 0.5592 GB, free: 3.461 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007828/0.5915, allocations: 227.2 kB / 0.5594 GB, free: 3.195 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.5918, allocations: 0.6963 MB / 0.5601 GB, free: 2.473 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.592, allocations: 31.42 kB / 0.5601 GB, free: 2.441 MB / 395.1 MB Notification: Performance of SimCode: time 9.21e-07/0.592, allocations: 0 / 0.5601 GB, free: 2.441 MB / 395.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14InitializeParameter.cpp:42:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/test.txt", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/test.txt", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14Initialize.cpp:279:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14.cpp:763:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14FMU.cpp:11: /var/lib/jenkins1/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_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.o] Error 1