Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33",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.00151/0.00151, allocations: 179.9 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.058/2.058, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001139/0.001138, allocations: 86.64 kB / 267.5 MB, free: 14.05 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.29/0.29, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.397e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6415/0.7652, allocations: 86.54 MB / 0.5574 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.7655, allocations: 75.61 kB / 0.5575 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01695/0.7825, allocations: 4.129 MB / 0.5615 GB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7826, allocations: 0 / 0.5615 GB, free: 13.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.7826, allocations: 4 kB / 0.5615 GB, free: 13.33 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.0004874/0.7831, allocations: 370.3 kB / 0.5619 GB, free: 12.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.7831, allocations: 8.031 kB / 0.5619 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.7832, allocations: 30.56 kB / 0.5619 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.7832, allocations: 8.531 kB / 0.5619 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.7836, allocations: 194.7 kB / 0.5621 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.7836, allocations: 7.438 kB / 0.5621 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.7836, allocations: 0 / 0.5621 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.7838, allocations: 58.66 kB / 0.5622 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.7838, allocations: 4 kB / 0.5622 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.7838, allocations: 0 / 0.5622 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7838, allocations: 0 / 0.5622 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.354e-05/0.7839, allocations: 11.75 kB / 0.5622 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.7843, allocations: 275.7 kB / 0.5624 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.7846, allocations: 42.44 kB / 0.5625 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.7846, allocations: 16.61 kB / 0.5625 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.7847, allocations: 0 / 0.5625 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.7847, allocations: 34.56 kB / 0.5625 GB, free: 12.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.7847, allocations: 4 kB / 0.5625 GB, free: 12.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005297/0.7853, allocations: 100.7 kB / 0.5626 GB, free: 12.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.7854, allocations: 85.06 kB / 0.5627 GB, free: 11.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.7855, allocations: 121.9 kB / 0.5628 GB, free: 11.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.7856, allocations: 25.7 kB / 0.5628 GB, free: 11.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.7857, allocations: 166.4 kB / 0.563 GB, free: 11.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.7857, allocations: 11.75 kB / 0.563 GB, free: 11.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.7857, allocations: 7.875 kB / 0.563 GB, free: 11.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7859, allocations: 310.8 kB / 0.5633 GB, free: 11.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.7859, allocations: 11.69 kB / 0.5633 GB, free: 11.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.786, allocations: 21.66 kB / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.022e-05/0.786, allocations: 15.67 kB / 0.5634 GB, free: 11.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.786, allocations: 0 / 0.5634 GB, free: 11.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001381/0.7862, allocations: 57.27 kB / 0.5634 GB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.7862, allocations: 4 kB / 0.5634 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.7863, allocations: 12.08 kB / 0.5634 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7863, allocations: 4 kB / 0.5634 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.7864, allocations: 8 kB / 0.5634 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.7864, allocations: 4 kB / 0.5635 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.7865, allocations: 11.94 kB / 0.5635 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.7866, allocations: 0 / 0.5635 GB, free: 11.19 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 () * 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 9.719e-05/0.7867, allocations: 110.4 kB / 0.5636 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.7867, allocations: 12.05 kB / 0.5636 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.7869, allocations: 73.2 kB / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.787, allocations: 3.984 kB / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.787, allocations: 0 / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.787, allocations: 0 / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.7875, allocations: 329.2 kB / 0.564 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.7875, allocations: 0 / 0.564 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.7876, allocations: 12 kB / 0.564 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.7876, allocations: 7.984 kB / 0.564 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.7877, allocations: 4 kB / 0.564 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7877, allocations: 0 / 0.564 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.7877, allocations: 3.953 kB / 0.564 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.7879, allocations: 155 kB / 0.5641 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.788, allocations: 85.02 kB / 0.5642 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.788, allocations: 0 / 0.5642 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.7881, allocations: 15.73 kB / 0.5642 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.7882, allocations: 8.141 kB / 0.5642 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.7882, allocations: 4 kB / 0.5643 GB, free: 10.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.7883, allocations: 115 kB / 0.5644 GB, free: 10.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7883, allocations: 0 / 0.5644 GB, free: 10.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.7887, allocations: 27.56 kB / 0.5644 GB, free: 10.21 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 (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.001642/0.7903, allocations: 0.9874 MB / 0.5654 GB, free: 9.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.7906, allocations: 35.73 kB / 0.5654 GB, free: 9.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7906, allocations: 0 / 0.5654 GB, free: 9.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.831e-05/0.7906, allocations: 11.81 kB / 0.5654 GB, free: 9.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.7909, allocations: 23.73 kB / 0.5654 GB, free: 9.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/0.7916, allocations: 191.5 kB / 0.5656 GB, free: 8.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.792, allocations: 0.6926 MB / 0.5663 GB, free: 8.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.7921, allocations: 23.3 kB / 0.5663 GB, free: 8.258 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7922, allocations: 0 / 0.5663 GB, free: 8.258 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_CombiTable1Ds_Test33CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33InitializeParameter.cpp:39:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33Initialize.cpp:245: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_CombiTable1Ds_Test33CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33FMU.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_CombiTable1Ds_Test33CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test33CalcHelperMain.o] Error 1