Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17",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.002065/0.002065, allocations: 180.7 kB / 13.66 MB, free: 1.664 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.108/2.108, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001068/0.001068, allocations: 98.56 kB / 267.5 MB, free: 14.11 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.2808/0.2808, allocations: 43.49 MB / 359.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.814e-05/4.839e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1678, allocations: 58.86 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5831/0.751, allocations: 86.34 MB / 0.5572 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.7513, allocations: 78.17 kB / 0.5573 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01059/0.7619, allocations: 2.988 MB / 0.5602 GB, free: 14.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.762, allocations: 0 / 0.5602 GB, free: 14.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.762, allocations: 4 kB / 0.5602 GB, free: 14.48 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004143/0.7624, allocations: 365.6 kB / 0.5606 GB, free: 14.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.7625, allocations: 8.031 kB / 0.5606 GB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.7625, allocations: 38 kB / 0.5606 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.7626, allocations: 16.19 kB / 0.5606 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.7628, allocations: 174.4 kB / 0.5608 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.7628, allocations: 4 kB / 0.5608 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.7629, allocations: 7.5 kB / 0.5608 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.7632, allocations: 184.5 kB / 0.561 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.7632, allocations: 4 kB / 0.561 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.7632, allocations: 4 kB / 0.561 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-05/0.7633, allocations: 19.14 kB / 0.561 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.7634, allocations: 52.17 kB / 0.561 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.7648, allocations: 1.698 MB / 0.5627 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.7649, allocations: 169.2 kB / 0.5629 GB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.765, allocations: 91.86 kB / 0.5629 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.765, allocations: 75.28 kB / 0.563 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.7651, allocations: 105.8 kB / 0.5631 GB, free: 11.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.064e-06/0.7651, allocations: 0 / 0.5631 GB, free: 11.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001049/0.7652, allocations: 44.62 kB / 0.5632 GB, free: 11.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.7653, allocations: 130.6 kB / 0.5633 GB, free: 11.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.7656, allocations: 173.1 kB / 0.5635 GB, free: 10.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.7656, allocations: 29.7 kB / 0.5635 GB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.7658, allocations: 221 kB / 0.5637 GB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.68e-06/0.7658, allocations: 3.688 kB / 0.5637 GB, free: 10.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.7658, allocations: 3.938 kB / 0.5637 GB, free: 10.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.766, allocations: 322.5 kB / 0.564 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.7661, allocations: 27.31 kB / 0.564 GB, free: 10.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.7663, allocations: 155.7 kB / 0.5642 GB, free: 10.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.7664, allocations: 70.53 kB / 0.5642 GB, free: 10.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7665, allocations: 0 / 0.5642 GB, free: 10.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004368/0.7669, allocations: 190.8 kB / 0.5644 GB, free: 9.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.7669, allocations: 8 kB / 0.5644 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.767, allocations: 4 kB / 0.5644 GB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.635e-05/0.767, allocations: 11.98 kB / 0.5645 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.7672, allocations: 36.55 kB / 0.5645 GB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.7673, allocations: 11.88 kB / 0.5645 GB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.7674, allocations: 27.41 kB / 0.5645 GB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.7675, allocations: 12 kB / 0.5645 GB, free: 9.859 MB / 378.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 () * 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.0001347/0.7676, allocations: 191.6 kB / 0.5647 GB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-05/0.7677, allocations: 116.5 kB / 0.5648 GB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.639e-05/0.7678, allocations: 116.6 kB / 0.5649 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-05/0.7679, allocations: 176.3 kB / 0.5651 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.76e-05/0.768, allocations: 187.8 kB / 0.5653 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-05/0.7681, allocations: 180.3 kB / 0.5655 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.7684, allocations: 420.6 kB / 0.5659 GB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-05/0.7685, allocations: 104.9 kB / 0.566 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/0.7685, allocations: 101 kB / 0.5661 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-05/0.7686, allocations: 188.2 kB / 0.5662 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.541e-05/0.7687, allocations: 184.2 kB / 0.5664 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.728e-05/0.7688, allocations: 184 kB / 0.5666 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.228e-05/0.7689, allocations: 180.2 kB / 0.5668 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.7691, allocations: 323.1 kB / 0.5671 GB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.7693, allocations: 186 kB / 0.5672 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.7694, allocations: 180.2 kB / 0.5674 GB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.7695, allocations: 112.9 kB / 0.5675 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.7696, allocations: 176.3 kB / 0.5677 GB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.7697, allocations: 108.9 kB / 0.5678 GB, free: 6.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001762/0.7699, allocations: 129.7 kB / 0.5679 GB, free: 6.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7699, allocations: 4 kB / 0.5679 GB, free: 6.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.7703, allocations: 15.69 kB / 0.5679 GB, free: 6.184 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 () * 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.0009689/0.7713, allocations: 0.9009 MB / 0.5688 GB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.7715, allocations: 70.8 kB / 0.5689 GB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7715, allocations: 0 / 0.5689 GB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.381e-06/0.7715, allocations: 3.938 kB / 0.5689 GB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.7719, allocations: 0.5346 MB / 0.5694 GB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/0.7726, allocations: 266.5 kB / 0.5697 GB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.773, allocations: 0.7003 MB / 0.5704 GB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.023e-05/0.7731, allocations: 29.86 kB / 0.5704 GB, free: 3.664 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7731, allocations: 0 / 0.5704 GB, free: 3.664 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=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_Test17CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17InitializeParameter.cpp:28: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_v4.mat", tmp8); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:97: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_v4.mat", tmp4); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:378:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp6); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17FMU.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_CombiTable2D_Test17CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.o] Error 1