Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33",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.002286/0.002286, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 99.2 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5707/0.5707, allocations: 43.55 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 20 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5137/0.6489, allocations: 86.62 MB / 0.5634 GB, free: 44 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/0.6494, allocations: 72.05 kB / 0.5635 GB, free: 15.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01817/0.6675, allocations: 4.309 MB / 0.5677 GB, free: 11.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6676, allocations: 0 / 0.5677 GB, free: 11.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.6676, allocations: 0.6562 kB / 0.5677 GB, free: 11.7 MB / 394.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.0005524/0.6682, allocations: 391.7 kB / 0.5681 GB, free: 11.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.6682, allocations: 11.97 kB / 0.5681 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.6683, allocations: 30.56 kB / 0.5681 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.6684, allocations: 15.34 kB / 0.5681 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.6686, allocations: 190.9 kB / 0.5683 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.6687, allocations: 4 kB / 0.5683 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.6687, allocations: 4 kB / 0.5683 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.6689, allocations: 67.33 kB / 0.5684 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.6689, allocations: 0 / 0.5684 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.669, allocations: 0 / 0.5684 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.669, allocations: 0 / 0.5684 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.6691, allocations: 29.02 kB / 0.5684 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.6696, allocations: 268.9 kB / 0.5687 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.6698, allocations: 50.5 kB / 0.5687 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.6699, allocations: 0 / 0.5687 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.6699, allocations: 38.56 kB / 0.5688 GB, free: 10.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.67, allocations: 0 / 0.5688 GB, free: 10.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008451/0.6708, allocations: 153.7 kB / 0.5689 GB, free: 10.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.6709, allocations: 85 kB / 0.569 GB, free: 10.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.6711, allocations: 126.5 kB / 0.5691 GB, free: 10.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.6711, allocations: 25.7 kB / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.6712, allocations: 158.6 kB / 0.5693 GB, free: 9.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.6712, allocations: 15.75 kB / 0.5693 GB, free: 9.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.6713, allocations: 0 / 0.5693 GB, free: 9.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6714, allocations: 318.8 kB / 0.5696 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.6716, allocations: 23.98 kB / 0.5696 GB, free: 9.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.6717, allocations: 33.7 kB / 0.5697 GB, free: 9.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.6718, allocations: 31.95 kB / 0.5697 GB, free: 9.449 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6719, allocations: 0 / 0.5697 GB, free: 9.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002974/0.6722, allocations: 77.67 kB / 0.5698 GB, free: 9.367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.6722, allocations: 4 kB / 0.5698 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6722, allocations: 2.969 kB / 0.5698 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.6722, allocations: 0 / 0.5698 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.6724, allocations: 23.98 kB / 0.5698 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.6724, allocations: 0 / 0.5698 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.604e-05/0.6725, allocations: 11.95 kB / 0.5698 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.6725, allocations: 0 / 0.5698 GB, free: 9.328 MB / 394.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 (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 prepare postOptimizeDAE: time 0.0001171/0.6726, allocations: 121.8 kB / 0.5699 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.6727, allocations: 7.906 kB / 0.5699 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.6731, allocations: 97.81 kB / 0.57 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6731, allocations: 0 / 0.57 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.6731, allocations: 4.062 kB / 0.57 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6731, allocations: 0 / 0.57 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.6738, allocations: 366.7 kB / 0.5704 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.6738, allocations: 3.984 kB / 0.5704 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.6739, allocations: 12 kB / 0.5704 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.289e-06/0.6739, allocations: 0 / 0.5704 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.674, allocations: 0 / 0.5704 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.674, allocations: 0 / 0.5704 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/0.674, allocations: 7.938 kB / 0.5704 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.6744, allocations: 191.4 kB / 0.5706 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-05/0.6745, allocations: 85.02 kB / 0.5707 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.6745, allocations: 7.984 kB / 0.5707 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.6746, allocations: 7.938 kB / 0.5707 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.6747, allocations: 8 kB / 0.5707 GB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.6747, allocations: 7.938 kB / 0.5707 GB, free: 8.312 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.6748, allocations: 110.5 kB / 0.5708 GB, free: 8.207 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6749, allocations: 0 / 0.5708 GB, free: 8.207 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003661/0.6752, allocations: 28 kB / 0.5708 GB, free: 8.18 MB / 394.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.001898/0.6771, allocations: 1.057 MB / 0.5719 GB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003453/0.6775, allocations: 59.91 kB / 0.5719 GB, free: 7.141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6775, allocations: 0 / 0.5719 GB, free: 7.141 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.6777, allocations: 27.98 kB / 0.5719 GB, free: 7.113 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.678, allocations: 11.98 kB / 0.5719 GB, free: 7.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.6794, allocations: 0.557 MB / 0.5725 GB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.6798, allocations: 0.6926 MB / 0.5732 GB, free: 5.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.6799, allocations: 23.48 kB / 0.5732 GB, free: 5.75 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6799, allocations: 0 / 0.5732 GB, free: 5.75 MB / 394.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33InitializeParameter.cpp:39:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33Initialize.cpp:245:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp15); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33FMU.cpp:11: /var/lib/jenkins1/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_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.o] Error 1