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.00091/0.00091, allocations: 175 kB / 16.72 MB, free: 5.082 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.181/1.181, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008843/0.0008843, allocations: 94.3 kB / 271.2 MB, free: 8.242 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.3102/0.3102, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12 kB / 432.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1007, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.001882/0.1026, allocations: 1.319 MB / 492.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.1035, allocations: 0.6566 MB / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.1035, allocations: 0 / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.1038, allocations: 27.92 kB / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1039, allocations: 35.89 kB / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.104, allocations: 0 / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1041, allocations: 35.89 kB / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.1042, allocations: 4 kB / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.211e-05/0.1042, allocations: 11.94 kB / 493 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.1043, allocations: 19.91 kB / 493 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.1043, allocations: 4 kB / 493 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.276e-05/0.1043, allocations: 8 kB / 493.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.1044, allocations: 19.92 kB / 493.1 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.1044, allocations: 53.5 kB / 493.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.526e-05/0.1045, allocations: 48.16 kB / 493.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1046, allocations: 3.938 kB / 493.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1046, allocations: 0 / 493.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1046, 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.0003359/0.1049, allocations: 359.3 kB / 493.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.105, allocations: 8.031 kB / 493.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.105, allocations: 42.72 kB / 493.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.105, allocations: 8.844 kB / 493.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1052, allocations: 172.3 kB / 493.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1052, allocations: 8.25 kB / 493.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.046e-06/0.1052, allocations: 4.375 kB / 493.8 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1054, allocations: 119.4 kB / 493.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1054, allocations: 3.938 kB / 493.9 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1054, allocations: 7.984 kB / 493.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.113e-05/0.1054, allocations: 23.92 kB / 493.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.1055, allocations: 43.92 kB / 494 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.1061, allocations: 0.8905 MB / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.668e-05/0.1062, allocations: 165.1 kB / 495 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.1062, allocations: 88.06 kB / 495.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1063, allocations: 79.31 kB / 495.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.1063, allocations: 113.9 kB / 495.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1063, allocations: 4 kB / 495.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.449e-05/0.1064, allocations: 37.61 kB / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.1065, allocations: 126.7 kB / 495.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1066, allocations: 178.1 kB / 495.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.1067, allocations: 25.7 kB / 495.6 MB, free: 5.559 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.1068, allocations: 155.1 kB / 495.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.1068, allocations: 8 kB / 495.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.1068, allocations: 0 / 495.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1069, allocations: 322.8 kB / 496.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.1069, allocations: 27.98 kB / 496.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1071, allocations: 161 kB / 496.3 MB, free: 4.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.1073, allocations: 204.9 kB / 496.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1073, allocations: 0 / 496.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002851/0.1076, allocations: 201.6 kB / 496.7 MB, free: 4.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1076, allocations: 4 kB / 496.7 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1076, allocations: 8 kB / 496.7 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1076, allocations: 4 kB / 496.7 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1077, allocations: 35.92 kB / 496.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.1078, allocations: 8 kB / 496.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.907e-05/0.1078, allocations: 27.72 kB / 496.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1079, allocations: 8 kB / 496.8 MB, free: 4.266 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.0001376/0.108, allocations: 229 kB / 497 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.1081, allocations: 112.8 kB / 497.1 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.1081, allocations: 112.8 kB / 497.2 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.732e-05/0.1082, allocations: 184.1 kB / 497.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.198e-05/0.1083, allocations: 180.3 kB / 497.6 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.973e-05/0.1083, allocations: 184.2 kB / 497.8 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.1086, allocations: 429.1 kB / 498.2 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.952e-05/0.1086, allocations: 105 kB / 498.3 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.1086, allocations: 112.9 kB / 498.4 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.622e-05/0.1087, allocations: 176.3 kB / 498.6 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/0.1088, allocations: 184.2 kB / 498.8 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-05/0.1088, allocations: 176.3 kB / 498.9 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.886e-05/0.1089, allocations: 184.3 kB / 499.1 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.109, allocations: 319.6 kB / 499.4 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.782e-05/0.1091, allocations: 185.9 kB / 499.6 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.1092, allocations: 184.3 kB / 499.8 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.1093, allocations: 109 kB / 499.9 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.1094, allocations: 180.2 kB / 0.4883 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.1094, allocations: 105 kB / 0.4884 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.766e-05/0.1095, allocations: 128.1 kB / 0.4886 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1095, allocations: 0 / 0.4886 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.1098, allocations: 16 kB / 0.4886 GB, free: 0.5234 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.1729/0.2827, allocations: 0.9052 MB / 0.4895 GB, free: 43.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.2829, allocations: 77.62 kB / 0.4895 GB, free: 43.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2829, allocations: 0.9375 kB / 0.4895 GB, free: 43.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.2829, allocations: 0 / 0.4895 GB, free: 43.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.2833, allocations: 0.5304 MB / 0.4901 GB, free: 42.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.2844, allocations: 0.796 MB / 0.4908 GB, free: 42.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.2846, allocations: 0.6987 MB / 0.4915 GB, free: 41.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.2847, allocations: 27.98 kB / 0.4915 GB, free: 41.59 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2848, allocations: 2.156 kB / 0.4916 GB, free: 41.59 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_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:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:266:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp1; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.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_Test17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17FMU.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_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) { ^ 2 warnings and 2 errors generated. make: *** [: OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.o] Error 1