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.001579/0.001583, allocations: 189 kB / 16.4 MB, free: 5.621 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.104/2.104, 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.001171/0.001171, allocations: 86.86 kB / 270.9 MB, free: 13.39 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.316/0.316, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004864, allocations: 15.98 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1326, allocations: 58.85 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test15): time 0.002862/0.1355, allocations: 1.313 MB / 491.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1368, allocations: 0.637 MB / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.1369, allocations: 4 kB / 492.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.1371, allocations: 19.86 kB / 492.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1374, allocations: 31.89 kB / 492.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.562e-06/0.1374, allocations: 0 / 492.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1376, allocations: 27.91 kB / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.1377, allocations: 0 / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.6e-05/0.1377, allocations: 15.92 kB / 492.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1379, allocations: 7.984 kB / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1379, allocations: 8 kB / 492.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.162e-05/0.138, allocations: 7.938 kB / 492.4 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.138, allocations: 15.98 kB / 492.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.1381, allocations: 33.64 kB / 492.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1382, allocations: 52.14 kB / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1383, allocations: 0 / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1383, allocations: 0 / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1383, allocations: 0 / 492.5 MB, free: 7.051 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.0005301/0.1388, allocations: 351.2 kB / 492.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1389, allocations: 8.031 kB / 492.8 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.82e-05/0.139, allocations: 50.53 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.139, allocations: 3.906 kB / 492.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.1392, allocations: 178.9 kB / 493.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1392, allocations: 0 / 493.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.1393, allocations: 7.938 kB / 493.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.1395, allocations: 134.3 kB / 493.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1396, allocations: 0 / 493.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1396, allocations: 0 / 493.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.928e-05/0.1397, allocations: 23.98 kB / 493.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1398, allocations: 39.92 kB / 493.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.1408, allocations: 0.8983 MB / 494.2 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.1409, allocations: 173.1 kB / 494.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.141, allocations: 75.28 kB / 494.4 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.84e-05/0.1411, allocations: 117.8 kB / 494.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 3.176e-06/0.1411, allocations: 0 / 494.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001157/0.1412, allocations: 33.61 kB / 494.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/0.1413, allocations: 130.7 kB / 494.7 MB, free: 4.625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.1416, allocations: 186 kB / 494.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1417, allocations: 25.7 kB / 494.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1418, allocations: 209.6 kB / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.1419, allocations: 11.98 kB / 495.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.1419, allocations: 4 kB / 495.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.142, allocations: 322.8 kB / 495.4 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.1421, allocations: 31.97 kB / 495.5 MB, free: 3.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.1424, allocations: 157.1 kB / 495.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.1425, allocations: 63.92 kB / 495.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.1426, allocations: 4 kB / 495.7 MB, free: 3.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004785/0.143, allocations: 189.8 kB / 495.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.1431, allocations: 10.66 kB / 495.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.1431, allocations: 11.98 kB / 495.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/0.1432, allocations: 8 kB / 495.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.1434, allocations: 35.92 kB / 495.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.1434, allocations: 8 kB / 495.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1436, allocations: 27.69 kB / 496 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1436, allocations: 8 kB / 496 MB, free: 3.246 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.0002033/0.1438, allocations: 221 kB / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1439, allocations: 116.8 kB / 496.3 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.991e-05/0.144, allocations: 116.8 kB / 496.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.553e-05/0.1441, allocations: 184.2 kB / 496.6 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.023e-05/0.1442, allocations: 180.3 kB / 496.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-05/0.1443, allocations: 180.2 kB / 496.9 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.1447, allocations: 421.2 kB / 497.4 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.555e-05/0.1448, allocations: 109 kB / 497.5 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.1449, allocations: 108.9 kB / 497.6 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.765e-05/0.145, allocations: 176.3 kB / 497.7 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.394e-05/0.145, allocations: 180.2 kB / 497.9 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.083e-05/0.1451, allocations: 184.2 kB / 498.1 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.975e-05/0.1453, allocations: 192.2 kB / 498.3 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1455, allocations: 315.7 kB / 498.6 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1456, allocations: 182 kB / 498.8 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.1458, allocations: 192.2 kB / 499 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.1459, allocations: 105 kB / 499.1 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.146, allocations: 188.2 kB / 499.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.1461, allocations: 101 kB / 499.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.1463, allocations: 127.2 kB / 499.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1463, allocations: 0 / 499.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003972/0.1467, allocations: 16 kB / 499.5 MB, free: 15.5 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.001063/0.1478, allocations: 0.9118 MB / 0.4887 GB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.1481, allocations: 76.97 kB / 0.4887 GB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1482, allocations: 0 / 0.4887 GB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.1482, allocations: 0 / 0.4887 GB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.1486, allocations: 0.5301 MB / 0.4893 GB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.1516, 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.0003813/0.1521, allocations: 0.7047 MB / 0.4935 GB, free: 9.445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.1523, allocations: 27.44 kB / 0.4936 GB, free: 9.418 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1523, allocations: 0 / 0.4936 GB, free: 9.418 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_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:373:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp2; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.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_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