Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20",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.001565/0.00157, allocations: 182.7 kB / 16.4 MB, free: 5.754 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.247/2.247, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001194/0.001193, allocations: 93.53 kB / 270.9 MB, free: 8.367 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.5511/0.5511, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005038, allocations: 16 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1367, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.002478/0.1392, allocations: 1.263 MB / 491.6 MB, free: 9.863 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.141, allocations: 0.8752 MB / 492.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.1412, allocations: 0 / 492.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.1414, allocations: 19.86 kB / 492.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1416, allocations: 39.83 kB / 492.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.1421, allocations: 79.91 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.1422, allocations: 31.89 kB / 492.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1423, allocations: 19.97 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.1424, allocations: 15.92 kB / 492.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1426, allocations: 19.86 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1426, allocations: 4 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1427, allocations: 35.92 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.1428, allocations: 7.984 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.1428, allocations: 33.64 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.143, allocations: 64.17 kB / 492.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1431, allocations: 4 kB / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.938e-06/0.1431, allocations: 0 / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1431, allocations: 3.938 kB / 492.8 MB, free: 8.602 MB / 378.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.000581/0.1437, allocations: 367.1 kB / 493.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.1437, allocations: 12.03 kB / 493.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.1438, allocations: 34.56 kB / 493.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.1438, allocations: 11.86 kB / 493.2 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.1441, allocations: 186.9 kB / 493.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1441, allocations: 7.938 kB / 493.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1442, allocations: 0 / 493.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.1444, allocations: 63.41 kB / 493.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1444, allocations: 0 / 493.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1444, allocations: 0 / 493.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1444, allocations: 7.953 kB / 493.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.1446, allocations: 31.97 kB / 493.5 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.1451, allocations: 276.9 kB / 493.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1454, allocations: 46.56 kB / 493.8 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.1455, allocations: 0 / 493.8 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.1455, allocations: 30.66 kB / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.1455, allocations: 0 / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008954/0.1464, allocations: 169.3 kB / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.1465, allocations: 77.11 kB / 494.1 MB, free: 7.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1467, allocations: 129.8 kB / 494.2 MB, free: 6.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.1468, allocations: 29.7 kB / 494.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.114e-05/0.1469, allocations: 170.3 kB / 494.4 MB, free: 6.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.1469, allocations: 15.8 kB / 494.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.1469, allocations: 4 kB / 494.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1471, allocations: 310.8 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1472, allocations: 23.98 kB / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.1474, allocations: 45.64 kB / 494.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.1475, allocations: 31.91 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1475, allocations: 0 / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003263/0.1479, allocations: 85.86 kB / 494.9 MB, free: 6.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.1479, allocations: 11.98 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1479, allocations: 64 / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.148, allocations: 4 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1481, allocations: 15.98 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1481, allocations: 0 / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.187e-05/0.1482, allocations: 8 kB / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1482, allocations: 0 / 495 MB, free: 6.199 MB / 378.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.0001297/0.1484, allocations: 129.8 kB / 495.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.1484, allocations: 7.906 kB / 495.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.1488, allocations: 101.6 kB / 495.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1488, allocations: 0 / 495.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1488, allocations: 4.281 kB / 495.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1489, allocations: 3.984 kB / 495.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.1496, allocations: 362.5 kB / 495.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1496, allocations: 0 / 495.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.1497, allocations: 19.94 kB / 495.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1497, allocations: 0 / 495.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.1498, allocations: 12 kB / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1498, allocations: 0 / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1498, allocations: 0 / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.1502, allocations: 183.4 kB / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.1502, allocations: 89 kB / 495.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.1503, allocations: 12.14 kB / 495.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1504, allocations: 11.94 kB / 495.9 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.1505, allocations: 7.984 kB / 495.9 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1505, allocations: 0 / 495.9 MB, free: 5.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1506, allocations: 107.2 kB / 496 MB, free: 5.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1506, allocations: 0 / 496 MB, free: 5.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003651/0.151, allocations: 27.98 kB / 496 MB, free: 5.035 MB / 378.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.001926/0.1529, allocations: 1.062 MB / 497.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003626/0.1533, allocations: 59.91 kB / 497.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1534, allocations: 0 / 497.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.1535, allocations: 31.98 kB / 497.2 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1539, allocations: 19.94 kB / 497.2 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.1554, allocations: 0.5664 MB / 497.8 MB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1558, allocations: 0.6887 MB / 498.5 MB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1559, allocations: 27.42 kB / 498.5 MB, free: 2.531 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1559, allocations: 0 / 498.5 MB, free: 2.531 MB / 378.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_Test20CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp23; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20InitializeParameter.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_v6.mat", tmp23); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.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_v6.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.cpp:245:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.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_Test20CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20.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_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20FMU.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_Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.o] Error 1