Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.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.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15",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.001606/0.001606, allocations: 185.9 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.211/2.211, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001554/0.001554, allocations: 96.11 kB / 270.9 MB, free: 8.387 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.5892/0.5892, allocations: 43.55 MB / 362.7 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.000502, allocations: 23.92 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.149, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5809/0.73, allocations: 86.22 MB / 0.563 GB, free: 216 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.7303, allocations: 82.17 kB / 0.5631 GB, free: 136 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01165/0.742, allocations: 3.161 MB / 0.5662 GB, free: 12.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.959e-06/0.742, allocations: 3.984 kB / 0.5662 GB, free: 12.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.742, allocations: 0 / 0.5662 GB, free: 12.98 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000446/0.7425, allocations: 366.4 kB / 0.5665 GB, free: 12.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.7426, allocations: 8.031 kB / 0.5665 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.859e-05/0.7426, allocations: 50.48 kB / 0.5666 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.7427, allocations: 7.906 kB / 0.5666 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.7429, allocations: 175.5 kB / 0.5668 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.7429, allocations: 0 / 0.5668 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.7429, allocations: 8 kB / 0.5668 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.7432, allocations: 184.3 kB / 0.567 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.7433, allocations: 4 kB / 0.567 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.7433, allocations: 2.766 kB / 0.567 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/0.7433, allocations: 15.89 kB / 0.567 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.7435, allocations: 63.78 kB / 0.567 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.7449, allocations: 1.701 MB / 0.5687 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.745, allocations: 169.1 kB / 0.5689 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.7451, allocations: 78.89 kB / 0.5689 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/0.7451, allocations: 109.8 kB / 0.569 GB, free: 9.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.885e-06/0.7451, allocations: 0 / 0.569 GB, free: 9.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001028/0.7453, allocations: 45.53 kB / 0.5691 GB, free: 9.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.7453, allocations: 130.6 kB / 0.5692 GB, free: 9.602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.7456, allocations: 165.1 kB / 0.5694 GB, free: 9.438 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.7456, allocations: 25.7 kB / 0.5694 GB, free: 9.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.7458, allocations: 217.6 kB / 0.5696 GB, free: 9.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.7458, allocations: 4 kB / 0.5696 GB, free: 9.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.7459, allocations: 4 kB / 0.5696 GB, free: 9.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.746, allocations: 318.8 kB / 0.5699 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.7461, allocations: 31.98 kB / 0.5699 GB, free: 8.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.7463, allocations: 158 kB / 0.5701 GB, free: 8.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.7465, allocations: 71.94 kB / 0.5702 GB, free: 8.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7465, allocations: 3.938 kB / 0.5702 GB, free: 8.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004552/0.747, allocations: 189.1 kB / 0.5703 GB, free: 8.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.747, allocations: 8 kB / 0.5703 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.747, allocations: 4 kB / 0.5704 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.7471, allocations: 8.625 kB / 0.5704 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.7473, allocations: 39.92 kB / 0.5704 GB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/0.7473, allocations: 19.92 kB / 0.5704 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.7475, allocations: 19.75 kB / 0.5704 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.7475, allocations: 12.62 kB / 0.5704 GB, free: 8.242 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001783/0.7477, allocations: 217 kB / 0.5707 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/0.7478, allocations: 120.8 kB / 0.5708 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.929e-05/0.7479, allocations: 116.8 kB / 0.5709 GB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-05/0.748, allocations: 180.3 kB / 0.5711 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-05/0.7481, allocations: 180.2 kB / 0.5712 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.683e-05/0.7482, allocations: 184.2 kB / 0.5714 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.7485, allocations: 420.1 kB / 0.5718 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-05/0.7486, allocations: 108.9 kB / 0.5719 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.7486, allocations: 103 kB / 0.572 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.167e-05/0.7487, allocations: 180.3 kB / 0.5722 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.905e-05/0.7488, allocations: 192.1 kB / 0.5724 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.57e-05/0.7489, allocations: 180.3 kB / 0.5725 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.663e-05/0.749, allocations: 184.2 kB / 0.5727 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.7492, allocations: 311.7 kB / 0.573 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.7494, allocations: 185.9 kB / 0.5732 GB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.7495, allocations: 188.2 kB / 0.5734 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.7496, allocations: 108.9 kB / 0.5735 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.7497, allocations: 176.3 kB / 0.5736 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.7498, allocations: 105 kB / 0.5737 GB, free: 4.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.75, allocations: 140.7 kB / 0.5739 GB, free: 4.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.75, allocations: 0 / 0.5739 GB, free: 4.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.7504, allocations: 16 kB / 0.5739 GB, free: 4.508 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 (0): * Single equations (assignments): 0 * 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.001049/0.7514, allocations: 0.915 MB / 0.5748 GB, free: 3.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.7517, allocations: 76.14 kB / 0.5748 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7517, allocations: 1.25 kB / 0.5748 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/0.7518, allocations: 0 / 0.5748 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.7522, allocations: 0.5418 MB / 0.5754 GB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.7551, allocations: 3.661 MB / 0.579 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.7556, allocations: 0.7009 MB / 0.5796 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.7558, allocations: 27.42 kB / 0.5797 GB, free: 14.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/0.7558, allocations: 0 / 0.5797 GB, free: 14.46 MB / 410.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_CombiTable2D_Test15CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:374:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:375:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp4); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15FMU.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 2 errors generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o] Error 1