Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.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.CombiTable1D.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23",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.001687/0.001692, allocations: 186.7 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.2/2.2, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001257/0.001257, allocations: 94.92 kB / 270.9 MB, free: 13.29 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.3133/0.3133, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004793, allocations: 12 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1294, allocations: 58.86 MB / 490.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.002576/0.132, allocations: 1.252 MB / 491.6 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1339, allocations: 0.879 MB / 492.5 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.134, allocations: 0 / 492.5 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.1342, allocations: 19.91 kB / 492.5 MB, free: 7.078 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.1345, allocations: 31.84 kB / 492.5 MB, free: 7.047 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.1349, allocations: 79.89 kB / 492.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1351, allocations: 35.91 kB / 492.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1352, allocations: 15.98 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.1352, allocations: 19.92 kB / 492.7 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1354, allocations: 27.8 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1355, allocations: 0 / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1356, allocations: 27.98 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.1357, allocations: 11.97 kB / 492.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.1357, allocations: 33.64 kB / 492.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1359, allocations: 64.12 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1359, allocations: 0 / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1359, allocations: 0 / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.136, allocations: 0 / 492.8 MB, free: 6.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006105/0.1366, allocations: 371.2 kB / 493.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1366, allocations: 8.031 kB / 493.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.1367, allocations: 34.55 kB / 493.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.1367, allocations: 11.86 kB / 493.2 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.137, allocations: 182.9 kB / 493.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.137, allocations: 3.938 kB / 493.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.1371, allocations: 4 kB / 493.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.1373, allocations: 71.39 kB / 493.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1373, allocations: 0 / 493.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1374, allocations: 4 kB / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-06/0.1374, allocations: 0 / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.1375, allocations: 23.98 kB / 493.5 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.138, allocations: 292.8 kB / 493.8 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.1384, allocations: 46.56 kB / 493.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1384, allocations: 0 / 493.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1384, allocations: 34.56 kB / 493.9 MB, free: 5.488 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.1385, allocations: 4 kB / 493.9 MB, free: 5.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008725/0.1393, allocations: 165.3 kB / 494 MB, free: 5.316 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.1394, allocations: 85.05 kB / 494.1 MB, free: 5.215 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1396, allocations: 133.8 kB / 494.3 MB, free: 5.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1397, allocations: 25.7 kB / 494.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.1398, allocations: 158.5 kB / 494.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.1398, allocations: 15.81 kB / 494.5 MB, free: 4.871 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.1398, allocations: 0 / 494.5 MB, free: 4.871 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.14, allocations: 318.8 kB / 494.8 MB, free: 4.551 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1401, allocations: 27.98 kB / 494.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1403, allocations: 37.64 kB / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.1404, allocations: 31.98 kB / 494.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1404, allocations: 0 / 494.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003332/0.1408, allocations: 89.69 kB / 494.9 MB, free: 4.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.1408, allocations: 11.44 kB / 495 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1408, allocations: 0 / 495 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1409, allocations: 3.953 kB / 495 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.141, allocations: 15.98 kB / 495 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.141, allocations: 0 / 495 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.755e-05/0.1411, allocations: 8 kB / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.1411, allocations: 4 kB / 495 MB, free: 4.316 MB / 330.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.0001234/0.1413, allocations: 125.8 kB / 495.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.1413, allocations: 3.906 kB / 495.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/0.1417, allocations: 105.6 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1418, allocations: 0.5938 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1418, allocations: 3.953 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1418, allocations: 3.984 kB / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.1425, allocations: 362.5 kB / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1426, allocations: 4 kB / 495.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.1427, allocations: 15.98 kB / 495.6 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1427, allocations: 0 / 495.6 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1427, allocations: 3.953 kB / 495.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1427, allocations: 0 / 495.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1428, allocations: 0 / 495.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.1432, allocations: 195.4 kB / 495.8 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.1432, allocations: 85 kB / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.1433, allocations: 0 / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.1434, allocations: 19.83 kB / 495.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.1435, allocations: 7.984 kB / 495.9 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1435, allocations: 4 kB / 495.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1436, allocations: 107.8 kB / 496 MB, free: 3.184 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1437, allocations: 0 / 496 MB, free: 3.184 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003653/0.144, allocations: 20 kB / 496 MB, free: 3.164 MB / 330.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.001966/0.146, allocations: 1.054 MB / 497.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000413/0.1465, allocations: 67.89 kB / 497.2 MB, free: 2.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1465, allocations: 0 / 497.2 MB, free: 2.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.1466, allocations: 27.98 kB / 497.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.147, allocations: 19.94 kB / 497.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1485, allocations: 0.5585 MB / 497.8 MB, free: 1.414 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.1489, allocations: 0.7004 MB / 498.5 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.149, allocations: 23.42 kB / 498.5 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of SimCode: time 1.733e-06/0.149, allocations: 0 / 498.5 MB, free: 0.6641 MB / 330.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_CombiTable1D_Test23CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp23; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23InitializeParameter.cpp:39: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.txt", tmp23); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.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.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:245:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:246: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_CombiTable1D_Test23CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23FMU.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_CombiTable1D_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.o] Error 1