Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16",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.0008182/0.0008182, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.162/1.162, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007515/0.0007514, allocations: 89.5 kB / 271.2 MB, free: 8.246 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.3099/0.3099, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003486, allocations: 16 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09862/0.09898, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.00187/0.1009, allocations: 1.319 MB / 492.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008152/0.1017, allocations: 0.6566 MB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.1018, allocations: 4 kB / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.102, allocations: 23.91 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.1022, allocations: 35.91 kB / 493 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.1022, allocations: 0 / 493 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.1023, allocations: 43.88 kB / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.1024, allocations: 0 / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.43e-05/0.1024, allocations: 11.94 kB / 493 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.466e-05/0.1025, allocations: 19.92 kB / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.1025, allocations: 0 / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.403e-05/0.1026, allocations: 11.98 kB / 493 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.1026, allocations: 19.92 kB / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.1027, allocations: 45.52 kB / 493.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.1028, allocations: 60.14 kB / 493.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.1028, allocations: 4 kB / 493.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1028, allocations: 0 / 493.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1028, allocations: 0 / 493.2 MB, free: 8.285 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.0003442/0.1032, allocations: 351.3 kB / 493.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1032, allocations: 8.031 kB / 493.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.1033, allocations: 42.73 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.1033, allocations: 8.844 kB / 493.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1034, allocations: 168.3 kB / 493.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1034, allocations: 8.375 kB / 493.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-06/0.1034, allocations: 384 / 493.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1036, allocations: 127.3 kB / 493.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1036, allocations: 3.938 kB / 493.9 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1036, allocations: 4 kB / 493.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.1037, allocations: 27.92 kB / 493.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.718e-05/0.1038, allocations: 39.92 kB / 493.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.1043, allocations: 0.8944 MB / 494.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.52e-05/0.1044, allocations: 165.1 kB / 495 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.105e-05/0.1045, allocations: 84.08 kB / 495.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1045, allocations: 87.25 kB / 495.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.1045, allocations: 117.9 kB / 495.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1045, allocations: 4 kB / 495.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.735e-05/0.1046, allocations: 33.61 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.1047, allocations: 126.7 kB / 495.4 MB, free: 5.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1048, allocations: 186.1 kB / 495.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.1049, allocations: 25.7 kB / 495.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.1049, allocations: 147.1 kB / 495.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-06/0.105, allocations: 0 / 495.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-06/0.105, allocations: 0 / 495.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1051, allocations: 326.8 kB / 496.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.1051, allocations: 31.98 kB / 496.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1052, allocations: 161 kB / 496.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.1054, allocations: 196.9 kB / 496.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1054, allocations: 0 / 496.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002815/0.1057, allocations: 201 kB / 496.7 MB, free: 4.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1057, allocations: 8.625 kB / 496.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.1058, allocations: 4 kB / 496.7 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1058, allocations: 8 kB / 496.7 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1059, allocations: 43.92 kB / 496.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1059, allocations: 4 kB / 496.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.106, allocations: 19.78 kB / 496.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.106, allocations: 16 kB / 496.8 MB, free: 4.27 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 () * 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.0001181/0.1061, allocations: 213 kB / 497 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.1062, allocations: 116.8 kB / 497.1 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.1063, allocations: 124.8 kB / 497.2 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-05/0.1063, allocations: 188.2 kB / 497.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.705e-05/0.1064, allocations: 180.3 kB / 497.6 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.561e-05/0.1065, allocations: 176.3 kB / 497.8 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.1067, allocations: 429.1 kB / 498.2 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-05/0.1068, allocations: 105 kB / 498.3 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.1068, allocations: 108.9 kB / 498.4 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.117e-05/0.1069, allocations: 184.2 kB / 498.6 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.107, allocations: 176.3 kB / 498.8 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.368e-05/0.107, allocations: 184.2 kB / 498.9 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.152e-05/0.1071, allocations: 176.3 kB / 499.1 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.1072, allocations: 323.6 kB / 499.4 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.1073, allocations: 186 kB / 499.6 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.086e-05/0.1074, allocations: 180.2 kB / 499.8 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.1075, allocations: 101 kB / 499.9 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.1076, allocations: 192.2 kB / 0.4883 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.1076, allocations: 101 kB / 0.4884 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.513e-05/0.1077, allocations: 132.1 kB / 0.4886 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1077, allocations: 0 / 0.4886 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.108, allocations: 15.98 kB / 0.4886 GB, free: 0.5312 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 (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.1731/0.2811, allocations: 0.9052 MB / 0.4895 GB, free: 43.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.2813, allocations: 78.48 kB / 0.4895 GB, free: 43.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2813, allocations: 0 / 0.4895 GB, free: 43.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.2813, allocations: 0 / 0.4895 GB, free: 43.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2816, allocations: 0.5313 MB / 0.4901 GB, free: 42.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008873/0.2825, allocations: 0.7982 MB / 0.4908 GB, free: 42.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.2827, allocations: 0.697 MB / 0.4915 GB, free: 41.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.2828, allocations: 26.06 kB / 0.4915 GB, free: 41.62 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2828, allocations: 1.312 kB / 0.4915 GB, free: 41.62 MB / 378.7 MB Error: Error building simulator. Build log: clang++ -std=c++14 -Winvalid-pch -O2 -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/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:266:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp1; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:267:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp1); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16FMU.cpp:11: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:37: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.h:44: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2GlobalSettings.h:65:56: warning: returning reference to local temporary object [-Wreturn-stack-address] virtual const string& getVariableFilter() { return "";} ^~ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16FMU.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) { ^ 2 warnings and 2 errors generated. make: *** [: OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o] Error 1