Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16",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.002885/0.002884, allocations: 186.2 kB / 16.4 MB, free: 5.625 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.392/2.392, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001198/0.001198, allocations: 82.89 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3593/0.3593, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004722, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.139, allocations: 58.85 MB / 490.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.002793/0.1419, allocations: 1.309 MB / 491.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1431, allocations: 0.6448 MB / 492.3 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.1433, allocations: 0 / 492.3 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.1435, allocations: 23.86 kB / 492.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1438, allocations: 23.91 kB / 492.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.853e-06/0.1438, allocations: 0 / 492.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.1439, allocations: 23.91 kB / 492.3 MB, free: 7.215 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.159e-05/0.144, allocations: 11.97 kB / 492.4 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.69e-05/0.1441, allocations: 11.94 kB / 492.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.55e-05/0.1442, allocations: 15.88 kB / 492.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1442, allocations: 4 kB / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.1443, allocations: 4 kB / 492.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.1443, allocations: 11.98 kB / 492.4 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.1444, allocations: 37.64 kB / 492.4 MB, free: 7.113 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1446, allocations: 52.14 kB / 492.5 MB, free: 7.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1446, allocations: 0 / 492.5 MB, free: 7.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1446, allocations: 0 / 492.5 MB, free: 7.062 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1446, allocations: 0 / 492.5 MB, free: 7.062 MB / 330.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.0004952/0.1451, allocations: 351.2 kB / 492.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.1452, allocations: 8.031 kB / 492.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/0.1452, allocations: 46.55 kB / 492.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.1453, allocations: 3.906 kB / 492.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1455, allocations: 182.9 kB / 493.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1455, allocations: 4 kB / 493.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1455, allocations: 0 / 493.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.1458, allocations: 130.4 kB / 493.2 MB, free: 6.234 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1458, allocations: 0 / 493.2 MB, free: 6.234 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1459, allocations: 0 / 493.2 MB, free: 6.234 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.448e-05/0.1459, allocations: 27.97 kB / 493.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1461, allocations: 39.92 kB / 493.3 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009528/0.147, allocations: 0.8944 MB / 494.2 MB, free: 5.203 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1472, allocations: 177.1 kB / 494.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.1473, allocations: 75.28 kB / 494.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.652e-05/0.1473, allocations: 113.8 kB / 494.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.585e-06/0.1473, allocations: 4 kB / 494.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001103/0.1475, allocations: 33.61 kB / 494.6 MB, free: 4.781 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.1475, allocations: 126.7 kB / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.1479, allocations: 182 kB / 494.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1479, allocations: 25.7 kB / 494.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1481, allocations: 217.6 kB / 495.1 MB, free: 4.211 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.1481, allocations: 12 kB / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.1481, allocations: 0 / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1483, allocations: 322.8 kB / 495.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.328e-05/0.1484, allocations: 35.91 kB / 495.5 MB, free: 3.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.1486, allocations: 153.2 kB / 495.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1488, allocations: 63.92 kB / 495.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.1488, allocations: 0 / 495.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004785/0.1493, allocations: 193.8 kB / 495.9 MB, free: 3.371 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1493, allocations: 8 kB / 495.9 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.1493, allocations: 15.97 kB / 495.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.1494, allocations: 11.94 kB / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.1496, allocations: 35.92 kB / 495.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.1496, allocations: 11.98 kB / 495.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.1498, allocations: 31.67 kB / 496 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.1498, allocations: 8 kB / 496 MB, free: 3.25 MB / 330.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.0001932/0.15, allocations: 213 kB / 496.2 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1501, allocations: 124.8 kB / 496.3 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.652e-05/0.1502, allocations: 112.9 kB / 496.4 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.53e-05/0.1503, allocations: 184.2 kB / 496.6 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.131e-05/0.1504, allocations: 180.2 kB / 496.8 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.752e-05/0.1505, allocations: 184.3 kB / 497 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.1509, allocations: 421.1 kB / 497.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.283e-05/0.1509, allocations: 113 kB / 497.5 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.151, allocations: 104.9 kB / 497.6 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.999e-05/0.1511, allocations: 176.3 kB / 497.7 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.1512, allocations: 176.3 kB / 497.9 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.361e-05/0.1513, allocations: 184.2 kB / 498.1 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-05/0.1514, allocations: 184.2 kB / 498.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.1516, allocations: 323.7 kB / 498.6 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.1518, allocations: 182 kB / 498.8 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.1519, allocations: 196.2 kB / 499 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.152, allocations: 101 kB / 499.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.1521, allocations: 188.2 kB / 499.2 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.1522, allocations: 101 kB / 499.3 MB, free: 15.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002012/0.1524, allocations: 131.2 kB / 499.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1524, allocations: 0 / 499.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004194/0.1529, allocations: 16 kB / 499.5 MB, free: 15.51 MB / 346.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.001018/0.1539, allocations: 0.9067 MB / 0.4887 GB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.1542, allocations: 72.97 kB / 0.4887 GB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1542, allocations: 0 / 0.4887 GB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/0.1542, allocations: 3.938 kB / 0.4887 GB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.1547, allocations: 0.5264 MB / 0.4893 GB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.1577, allocations: 3.668 MB / 0.4928 GB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.1581, allocations: 0.7048 MB / 0.4935 GB, free: 9.453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.1583, allocations: 31.42 kB / 0.4936 GB, free: 9.422 MB / 346.7 MB Notification: Performance of SimCode: time 1.412e-06/0.1583, allocations: 0 / 0.4936 GB, free: 9.422 MB / 346.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/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_Test16CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:373:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp2; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:374:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp2); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16FMU.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_Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o] Error 1