Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15",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.0008231/0.0008231, allocations: 169.8 kB / 16.72 MB, free: 5.051 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.16/1.16, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007145/0.0007145, allocations: 89.55 kB / 271.2 MB, free: 8.254 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.3256/0.3256, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 12 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 58.84 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test15): time 0.001902/0.1112, allocations: 1.323 MB / 492.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000794/0.112, allocations: 0.6527 MB / 492.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.1121, allocations: 0 / 492.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.1123, allocations: 27.92 kB / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.1125, allocations: 39.88 kB / 493 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.897e-06/0.1125, allocations: 0 / 493 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.1126, allocations: 31.91 kB / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.1127, allocations: 4 kB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.626e-05/0.1127, allocations: 15.92 kB / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.1128, allocations: 19.92 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1128, allocations: 4 kB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.1129, allocations: 4 kB / 493 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.1129, allocations: 19.92 kB / 493.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.113, allocations: 61.44 kB / 493.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1131, allocations: 52.14 kB / 493.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1131, allocations: 0 / 493.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1131, allocations: 0 / 493.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1131, allocations: 0 / 493.2 MB, free: 8.297 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.0003306/0.1134, allocations: 355.3 kB / 493.5 MB, free: 7.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1135, allocations: 8.031 kB / 493.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.1135, allocations: 42.73 kB / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.1136, allocations: 8.844 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.1137, allocations: 172.3 kB / 493.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.1137, allocations: 4.312 kB / 493.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1137, allocations: 8.312 kB / 493.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1139, allocations: 119 kB / 493.9 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1139, allocations: 3.938 kB / 493.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1139, allocations: 7.984 kB / 493.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/0.114, allocations: 27.92 kB / 493.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.1141, allocations: 47.89 kB / 494 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.1147, allocations: 0.8905 MB / 494.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.013e-05/0.1147, allocations: 165.1 kB / 495 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.1148, allocations: 88.08 kB / 495.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1148, allocations: 79.31 kB / 495.2 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.1149, allocations: 113.9 kB / 495.3 MB, free: 5.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.1149, allocations: 4 kB / 495.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.398e-05/0.115, allocations: 33.61 kB / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.115, allocations: 126.7 kB / 495.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1152, allocations: 182.1 kB / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.1152, allocations: 25.7 kB / 495.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.1153, allocations: 155.1 kB / 495.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/0.1153, allocations: 4 kB / 495.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.1153, allocations: 4 kB / 495.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1154, allocations: 322.8 kB / 496.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.1155, allocations: 23.98 kB / 496.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1156, allocations: 165 kB / 496.3 MB, free: 4.836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.1158, allocations: 204.9 kB / 496.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1158, allocations: 0 / 496.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002898/0.1161, allocations: 197.6 kB / 496.7 MB, free: 4.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1161, allocations: 4 kB / 496.7 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1161, allocations: 8 kB / 496.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1162, allocations: 4 kB / 496.7 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1163, allocations: 39.92 kB / 496.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1163, allocations: 11.98 kB / 496.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.1164, allocations: 23.72 kB / 496.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.1164, allocations: 12 kB / 496.8 MB, free: 4.273 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.0001169/0.1165, allocations: 217 kB / 497 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.1166, allocations: 120.8 kB / 497.1 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.1167, allocations: 112.9 kB / 497.2 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.922e-05/0.1167, allocations: 184.1 kB / 497.4 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.98e-05/0.1168, allocations: 180.2 kB / 497.6 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.683e-05/0.1168, allocations: 180.3 kB / 497.8 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.1171, allocations: 433.1 kB / 498.2 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/0.1171, allocations: 105 kB / 498.3 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.1172, allocations: 104.9 kB / 498.4 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.819e-05/0.1172, allocations: 176.3 kB / 498.6 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/0.1173, allocations: 188.3 kB / 498.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.003e-05/0.1174, allocations: 180.2 kB / 498.9 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-05/0.1174, allocations: 184.2 kB / 499.1 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.1176, allocations: 315.6 kB / 499.4 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.801e-05/0.1176, allocations: 189.9 kB / 499.6 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.1177, allocations: 180.3 kB / 499.8 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1178, allocations: 105 kB / 499.9 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.1179, allocations: 180.2 kB / 0.4883 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.1179, allocations: 105 kB / 0.4884 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.753e-05/0.118, allocations: 132.1 kB / 0.4886 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.118, allocations: 0 / 0.4886 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.1183, allocations: 12 kB / 0.4886 GB, free: 0.543 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.1793/0.2976, allocations: 0.9085 MB / 0.4895 GB, free: 43.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.2979, allocations: 77.52 kB / 0.4895 GB, free: 43.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2979, allocations: 0.5312 kB / 0.4895 GB, free: 43.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.2979, allocations: 0.8438 kB / 0.4895 GB, free: 43.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.2983, allocations: 0.535 MB / 0.4901 GB, free: 42.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2993, allocations: 0.7966 MB / 0.4908 GB, free: 42.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.2995, allocations: 0.6982 MB / 0.4915 GB, free: 41.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.708e-05/0.2996, allocations: 26.33 kB / 0.4915 GB, free: 41.65 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2996, allocations: 0 / 0.4915 GB, free: 41.65 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_Test15CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:266:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp1; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.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_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15FMU.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_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15FMU.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_Test15CalcHelperMain.o] Error 1