Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 193.1 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 226.5 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00092/0.0009203, allocations: 101 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3501/0.3501, allocations: 44.81 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3557, allocations: 62.97 MB / 0.516 GB, free: 37.37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.001645/0.3574, allocations: 1.351 MB / 0.5173 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006266/0.358, allocations: 0.6508 MB / 0.5179 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.3581, allocations: 0 / 0.5179 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.3583, allocations: 23.8 kB / 0.5179 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.3584, allocations: 33.59 kB / 0.518 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.3584, allocations: 0 / 0.518 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.3586, allocations: 47.28 kB / 0.518 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.3586, allocations: 10.14 kB / 0.518 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.233e-05/0.3587, allocations: 9.531 kB / 0.518 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.181e-05/0.3587, allocations: 26.73 kB / 0.5181 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.3588, allocations: 6.969 kB / 0.5181 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.399e-05/0.3588, allocations: 5.625 kB / 0.5181 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.3589, allocations: 19.08 kB / 0.5181 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.3589, allocations: 47.39 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.128e-05/0.359, allocations: 51.5 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.359, allocations: 0 / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.359, allocations: 0 / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.359, allocations: 4 kB / 0.5182 GB, free: 35.79 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.0002904/0.3593, allocations: 350.2 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3594, allocations: 8.594 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.3594, allocations: 40.73 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.3594, allocations: 7.781 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.3595, allocations: 171.9 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3596, allocations: 384 / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.3596, allocations: 11.33 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.3597, allocations: 116.9 kB / 0.5189 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3597, allocations: 10.84 kB / 0.5189 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.3598, allocations: 0 / 0.5189 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/0.3598, allocations: 21.36 kB / 0.5189 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.063e-05/0.3599, allocations: 41.55 kB / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.3603, allocations: 0.907 MB / 0.5198 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.3603, allocations: 169.1 kB / 0.52 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.3604, allocations: 84.17 kB / 0.5201 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.3604, allocations: 79.22 kB / 0.5201 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3604, allocations: 112.2 kB / 0.5202 GB, free: 33.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3604, allocations: 0 / 0.5202 GB, free: 33.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.025e-05/0.3605, allocations: 33.08 kB / 0.5203 GB, free: 33.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.3605, allocations: 130.7 kB / 0.5204 GB, free: 33.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3606, allocations: 188.2 kB / 0.5206 GB, free: 33.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.3607, allocations: 25.7 kB / 0.5206 GB, free: 33.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.3607, allocations: 148.4 kB / 0.5207 GB, free: 33.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-06/0.3607, allocations: 3.219 kB / 0.5208 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/0.3607, allocations: 4 kB / 0.5208 GB, free: 33.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.3608, allocations: 321.1 kB / 0.5211 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.3608, allocations: 31.86 kB / 0.5211 GB, free: 32.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.3609, allocations: 159.4 kB / 0.5212 GB, free: 32.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.361, allocations: 206.4 kB / 0.5214 GB, free: 32.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3611, allocations: 3 kB / 0.5214 GB, free: 32.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002591/0.3613, allocations: 199.5 kB / 0.5216 GB, free: 32.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3613, allocations: 6.625 kB / 0.5216 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3614, allocations: 2.969 kB / 0.5216 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3614, allocations: 12.78 kB / 0.5217 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3615, allocations: 40.45 kB / 0.5217 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.3615, allocations: 12.84 kB / 0.5217 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.3616, allocations: 24.06 kB / 0.5217 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3616, allocations: 8.188 kB / 0.5217 GB, free: 32.36 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 7.711e-05/0.3617, allocations: 214.4 kB / 0.5219 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.3617, allocations: 111.5 kB / 0.522 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.3618, allocations: 118.3 kB / 0.5222 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.3618, allocations: 180.2 kB / 0.5223 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-05/0.3618, allocations: 187 kB / 0.5225 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/0.3619, allocations: 188.2 kB / 0.5227 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.362, allocations: 420.8 kB / 0.5231 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.362, allocations: 104.5 kB / 0.5232 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.362, allocations: 107.9 kB / 0.5233 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.808e-05/0.3621, allocations: 180.3 kB / 0.5235 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.3621, allocations: 184.2 kB / 0.5236 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.357e-05/0.3621, allocations: 179.1 kB / 0.5238 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.547e-05/0.3622, allocations: 183.4 kB / 0.524 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.833e-05/0.3623, allocations: 316.4 kB / 0.5243 GB, free: 29.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.3623, allocations: 192.4 kB / 0.5245 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.3623, allocations: 176.3 kB / 0.5246 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.3624, allocations: 105 kB / 0.5247 GB, free: 29.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.3624, allocations: 186.3 kB / 0.5249 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3625, allocations: 101 kB / 0.525 GB, free: 28.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.268e-05/0.3625, allocations: 127.7 kB / 0.5251 GB, free: 28.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3625, allocations: 7.938 kB / 0.5251 GB, free: 28.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000239/0.3628, allocations: 19.53 kB / 0.5252 GB, free: 28.77 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.0005367/0.3633, allocations: 0.9135 MB / 0.5261 GB, free: 27.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.3635, allocations: 77.78 kB / 0.5261 GB, free: 27.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3635, allocations: 0 / 0.5261 GB, free: 27.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3635, allocations: 0 / 0.5261 GB, free: 27.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.3637, allocations: 0.5285 MB / 0.5266 GB, free: 27.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.3645, allocations: 0.7922 MB / 0.5274 GB, free: 26.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.3647, allocations: 0.7021 MB / 0.5281 GB, free: 25.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.3648, allocations: 27.62 kB / 0.5281 GB, free: 25.94 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3648, allocations: 0 / 0.5281 GB, free: 25.94 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_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17Initialize.cpp:266:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17Initialize.cpp:267:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT1, tmp1); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_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_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_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_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.o] Error 1