Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12",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.001567/0.001567, allocations: 188.9 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001157/0.001157, allocations: 93.97 kB / 270.9 MB, free: 8.371 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.5781/0.5781, allocations: 43.55 MB / 362.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007541/0.0007542, allocations: 20 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1672, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4971/0.6644, allocations: 87.47 MB / 0.5642 GB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.6647, allocations: 75.95 kB / 0.5643 GB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01971/0.6845, allocations: 4.604 MB / 0.5688 GB, free: 10.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.6845, allocations: 0 / 0.5688 GB, free: 10.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.6846, allocations: 2.953 kB / 0.5688 GB, free: 10.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006564/0.6852, allocations: 406.8 kB / 0.5692 GB, free: 10.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.6853, allocations: 8.031 kB / 0.5692 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.262e-05/0.6854, allocations: 35.3 kB / 0.5692 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.6854, allocations: 11.34 kB / 0.5693 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.6857, allocations: 195.4 kB / 0.5694 GB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.6858, allocations: 4 kB / 0.5694 GB, free: 9.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.6858, allocations: 4 kB / 0.5695 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.6861, allocations: 87.3 kB / 0.5695 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.6862, allocations: 3.828 kB / 0.5695 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.6862, allocations: 5.031 kB / 0.5695 GB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.6862, allocations: 3.938 kB / 0.5695 GB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.6865, allocations: 47.97 kB / 0.5696 GB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.6871, allocations: 308.8 kB / 0.5699 GB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.6874, allocations: 58.48 kB / 0.5699 GB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.6874, allocations: 4 kB / 0.5699 GB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.6875, allocations: 30.56 kB / 0.57 GB, free: 9.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.6875, allocations: 0 / 0.57 GB, free: 9.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001416/0.6889, allocations: 265.2 kB / 0.5702 GB, free: 8.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/0.689, allocations: 77.11 kB / 0.5703 GB, free: 8.812 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.6893, allocations: 130.7 kB / 0.5704 GB, free: 8.676 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.6893, allocations: 25.7 kB / 0.5705 GB, free: 8.645 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.6894, allocations: 166.5 kB / 0.5706 GB, free: 8.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.6895, allocations: 27.64 kB / 0.5706 GB, free: 8.453 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.6895, allocations: 0 / 0.5706 GB, free: 8.453 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.6897, allocations: 315.2 kB / 0.5709 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.6899, allocations: 39.97 kB / 0.571 GB, free: 8.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.6902, allocations: 69.67 kB / 0.571 GB, free: 8.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.6905, allocations: 48 kB / 0.5711 GB, free: 7.977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6905, allocations: 4 kB / 0.5711 GB, free: 7.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005721/0.6911, allocations: 129.6 kB / 0.5712 GB, free: 7.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6911, allocations: 8 kB / 0.5712 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.6911, allocations: 4 kB / 0.5712 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6912, allocations: 3.953 kB / 0.5712 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.6914, allocations: 23.97 kB / 0.5713 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.6914, allocations: 0 / 0.5713 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.6916, allocations: 16 kB / 0.5713 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.6916, allocations: 4 kB / 0.5713 GB, free: 7.781 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 (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.0001445/0.6918, allocations: 125.8 kB / 0.5714 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.6918, allocations: 7.906 kB / 0.5714 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006536/0.6925, allocations: 154.3 kB / 0.5715 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.6925, allocations: 7.953 kB / 0.5716 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6925, allocations: 0 / 0.5716 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.6925, allocations: 0 / 0.5716 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.6937, allocations: 430.3 kB / 0.572 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.6938, allocations: 4 kB / 0.572 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.6941, allocations: 27.92 kB / 0.572 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.6941, allocations: 4.234 kB / 0.572 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.6941, allocations: 8 kB / 0.572 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.6942, allocations: 4.469 kB / 0.572 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6942, allocations: 0 / 0.572 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006452/0.6948, allocations: 239.4 kB / 0.5722 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.6949, allocations: 85.09 kB / 0.5723 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.695, allocations: 7.891 kB / 0.5723 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.6952, allocations: 19.98 kB / 0.5723 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.6952, allocations: 4 kB / 0.5724 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.579e-06/0.6952, allocations: 4 kB / 0.5724 GB, free: 6.566 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001499/0.6954, allocations: 116.6 kB / 0.5725 GB, free: 6.453 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.895e-06/0.6954, allocations: 0 / 0.5725 GB, free: 6.453 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004636/0.6959, allocations: 43.86 kB / 0.5725 GB, free: 6.41 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 (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.002648/0.6986, allocations: 1.108 MB / 0.5736 GB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008737/0.6995, allocations: 103.9 kB / 0.5737 GB, free: 5.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6995, allocations: 8 kB / 0.5737 GB, free: 5.273 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.6998, allocations: 47.97 kB / 0.5737 GB, free: 5.227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.7001, allocations: 19.94 kB / 0.5738 GB, free: 5.207 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.7026, allocations: 0.7291 MB / 0.5745 GB, free: 4.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.7031, allocations: 0.7004 MB / 0.5752 GB, free: 3.703 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.7032, allocations: 31.42 kB / 0.5752 GB, free: 3.672 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7032, allocations: 0 / 0.5752 GB, free: 3.672 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_CombiTable2Dv_Test12CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12InitializeParameter.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_v7.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12Initialize.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_v7.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12Initialize.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_Test12CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12.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_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12FMU.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_CombiTable2Dv_Test12CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12CalcHelperMain.o] Error 1