Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser",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.001019/0.001019, allocations: 172.6 kB / 16.07 MB, free: 5.723 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.192/1.192, allocations: 205.4 MB / 222.2 MB, free: 9.02 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.0007185/0.0007188, allocations: 96.78 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1597/0.1597, allocations: 38.07 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 12 kB / 423.4 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 56.32 MB / 479.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.004799/0.2306, allocations: 5.166 MB / 484.9 MB, free: 5.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.2333, allocations: 2.016 MB / 486.9 MB, free: 4.395 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.2336, allocations: 28.88 kB / 486.9 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.234, allocations: 134.8 kB / 487.1 MB, free: 4.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007413/0.2348, allocations: 351.1 kB / 487.4 MB, free: 4.121 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.2353, allocations: 190.1 kB / 487.6 MB, free: 4.027 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007709/0.236, allocations: 0.7181 MB / 488.3 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.2365, allocations: 347.4 kB / 488.7 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003507/0.2368, allocations: 245.8 kB / 488.9 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004255/0.2373, allocations: 265.4 kB / 489.2 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.696e-05/0.2373, allocations: 23.38 kB / 489.2 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.2376, allocations: 68.52 kB / 489.2 MB, free: 3.352 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.2377, allocations: 118.1 kB / 489.4 MB, free: 3.305 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.238, allocations: 256.9 kB / 489.6 MB, free: 3.141 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007665/0.2387, allocations: 498.7 kB / 490.1 MB, free: 3.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2388, allocations: 0.5156 kB / 490.1 MB, free: 3.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2388, allocations: 1 kB / 490.1 MB, free: 3.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2388, allocations: 0 / 490.1 MB, free: 3.02 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001704/0.2405, allocations: 0.7613 MB / 490.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2406, allocations: 10.23 kB / 490.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.686e-05/0.2406, allocations: 76.12 kB / 490.9 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.2407, allocations: 55.53 kB / 491 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.2415, allocations: 469.4 kB / 491.5 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.2415, allocations: 28.97 kB / 491.5 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.2416, allocations: 36.75 kB / 491.5 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.2422, allocations: 455.4 kB / 492 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.2423, allocations: 0.5625 kB / 492 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.2423, allocations: 17.38 kB / 492 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2423, allocations: 13.38 kB / 492 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.2428, allocations: 275.2 kB / 492.3 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.2448, allocations: 1.868 MB / 494.1 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.2452, allocations: 247 kB / 494.4 MB, free: 20 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.2454, allocations: 90.53 kB / 494.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.2454, allocations: 2.312 kB / 494.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.2457, allocations: 171.8 kB / 494.6 MB, free: 15.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.974e-06/0.2457, allocations: 1.125 kB / 494.6 MB, free: 15.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001782/0.2475, allocations: 0.9167 MB / 495.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/0.2476, allocations: 133.2 kB / 495.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.2482, allocations: 397.1 kB / 496.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.2482, allocations: 31.89 kB / 496.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.2484, allocations: 260.2 kB / 496.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.2485, allocations: 98.64 kB / 496.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.2486, allocations: 5.094 kB / 496.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2487, allocations: 349.7 kB / 496.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.2489, allocations: 82.12 kB / 496.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.2491, allocations: 217.5 kB / 497.1 MB, free: 14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.2496, allocations: 308.3 kB / 497.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.2496, allocations: 5.781 kB / 497.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000901/0.2505, allocations: 431.3 kB / 497.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.2506, allocations: 9.531 kB / 497.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.2506, allocations: 12.53 kB / 497.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005084/0.2511, allocations: 88.45 kB / 497.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.2514, allocations: 74.42 kB / 498 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.2539, allocations: 1.824 MB / 499.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.2543, allocations: 22.39 kB / 499.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.2543, allocations: 13.58 kB / 499.9 MB, free: 11.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003146/0.2546, allocations: 207.1 kB / 0.4883 GB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.2547, allocations: 43.3 kB / 0.4884 GB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006461/0.2553, allocations: 296 kB / 0.4887 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2554, allocations: 3.312 kB / 0.4887 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2554, allocations: 5.766 kB / 0.4887 GB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2554, allocations: 2.391 kB / 0.4887 GB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.2565, allocations: 0.7618 MB / 0.4894 GB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2566, allocations: 1.969 kB / 0.4894 GB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.2568, allocations: 44.14 kB / 0.4895 GB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/0.257, allocations: 52.98 kB / 0.4895 GB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.2571, allocations: 7.219 kB / 0.4895 GB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.2583, allocations: 1.429 MB / 0.4909 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2583, allocations: 8.906 kB / 0.4909 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007822/0.2591, allocations: 0.4972 MB / 0.4914 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.2593, allocations: 137.8 kB / 0.4915 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.2594, allocations: 7.359 kB / 0.4915 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.2596, allocations: 19.23 kB / 0.4916 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.2597, allocations: 22.8 kB / 0.4916 GB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.2597, allocations: 10.91 kB / 0.4916 GB, free: 9.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003552/0.2601, allocations: 276 kB / 0.4919 GB, free: 9.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2601, allocations: 0 / 0.4919 GB, free: 9.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005711/0.2607, allocations: 103.3 kB / 0.492 GB, free: 9.055 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/0.2624, allocations: 1.312 MB / 0.4932 GB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009134/0.2633, allocations: 397.2 kB / 0.4936 GB, free: 7.832 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2633, allocations: 1.406 kB / 0.4936 GB, free: 7.832 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.2638, allocations: 242.7 kB / 0.4939 GB, free: 7.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.2645, allocations: 127.5 kB / 0.494 GB, free: 7.633 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/0.2691, allocations: 2.931 MB / 0.4968 GB, free: 5.609 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.2695, allocations: 0.8587 MB / 0.4977 GB, free: 4.828 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.2698, allocations: 162.2 kB / 0.4978 GB, free: 4.695 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2698, allocations: 0 / 0.4978 GB, free: 4.695 MB / 330.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 OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serInitializeParameter.cpp:113:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp1; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serInitializeParameter.cpp:114:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Resources/Tables/", tmp1); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.cpp:31: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serInitialize.cpp:103:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp0; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serInitialize.cpp:104:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Resources/Tables/", tmp0); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serInitialize.cpp:466:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp6; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serInitialize.cpp:467:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp6); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.cpp:34: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser.cpp:873:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp54; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser.cpp:874:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Resources/Tables/", tmp54); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serFMU.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 OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serFMU.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 8 errors generated. make: *** [: OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.o] Error 1