Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.PowerWorld.Test.WindFarmGridTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTest",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.00092/0.0009199, allocations: 173.8 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.337/1.337, allocations: 205.4 MB / 222.2 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.0007152/0.0007153, allocations: 92.73 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1689/0.1689, allocations: 38.07 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 12 kB / 423.4 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2565, allocations: 56.33 MB / 479.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004175/0.2607, allocations: 3.614 MB / 483.4 MB, free: 6.922 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.2631, allocations: 1.961 MB / 485.3 MB, free: 5.539 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.2633, allocations: 22.25 kB / 485.3 MB, free: 5.527 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.2637, allocations: 74.2 kB / 485.4 MB, free: 5.492 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000606/0.2643, allocations: 268.1 kB / 485.7 MB, free: 5.355 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.265, allocations: 239.6 kB / 485.9 MB, free: 5.238 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005234/0.2655, allocations: 0.5278 MB / 486.4 MB, free: 5.016 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005537/0.2661, allocations: 372 kB / 486.8 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003679/0.2664, allocations: 194.5 kB / 487 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.2667, allocations: 187.6 kB / 487.2 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.2667, allocations: 14.31 kB / 487.2 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006885/0.2674, allocations: 431.8 kB / 487.6 MB, free: 4.484 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.2676, allocations: 99.2 kB / 487.7 MB, free: 4.449 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.2678, allocations: 178.9 kB / 487.9 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.2684, allocations: 494.1 kB / 488.4 MB, free: 4.199 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2684, allocations: 0 / 488.4 MB, free: 4.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2684, allocations: 1.938 kB / 488.4 MB, free: 4.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2684, allocations: 4 kB / 488.4 MB, free: 4.195 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001027/0.2694, allocations: 0.679 MB / 489 MB, free: 3.637 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2695, allocations: 13.22 kB / 489.1 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.979e-05/0.2696, allocations: 57.73 kB / 489.1 MB, free: 3.582 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/0.2704, allocations: 107.1 kB / 489.2 MB, free: 3.559 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.2709, allocations: 402.6 kB / 489.6 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.2709, allocations: 18.8 kB / 489.6 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.271, allocations: 27.28 kB / 489.7 MB, free: 3.223 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008847/0.2718, allocations: 454.4 kB / 490.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2719, allocations: 0 / 490.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.2719, allocations: 14.58 kB / 490.1 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.272, allocations: 21.28 kB / 490.1 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.273, allocations: 0.5278 MB / 490.7 MB, free: 2.852 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.2752, allocations: 1.684 MB / 492.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009699/0.2762, allocations: 391.7 kB / 492.7 MB, free: 1.488 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.2765, allocations: 151.6 kB / 492.9 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.2766, allocations: 11.55 kB / 492.9 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005411/0.2771, allocations: 297 kB / 493.2 MB, free: 1.246 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.915e-06/0.2772, allocations: 1.219 kB / 493.2 MB, free: 1.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001424/0.2786, allocations: 0.5617 MB / 493.7 MB, free: 1.047 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.2787, allocations: 293.4 kB / 494 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.2791, allocations: 325.7 kB / 494.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.2791, allocations: 39.06 kB / 494.4 MB, free: 496 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2792, allocations: 199.9 kB / 494.6 MB, free: 320 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.322e-05/0.2793, allocations: 96.69 kB / 494.7 MB, free: 248 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.2793, allocations: 9.312 kB / 494.7 MB, free: 240 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2794, allocations: 347.1 kB / 495 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.2798, allocations: 154 kB / 495.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.2803, allocations: 286.7 kB / 495.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000867/0.2812, allocations: 474.7 kB / 495.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2812, allocations: 2.094 kB / 495.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00106/0.2823, allocations: 0.5449 MB / 496.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.2823, allocations: 34.28 kB / 496.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2823, allocations: 4.281 kB / 496.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.2824, allocations: 6.719 kB / 496.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.2827, allocations: 95.39 kB / 496.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.2827, allocations: 12.48 kB / 496.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.283, allocations: 51.91 kB / 496.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.2831, allocations: 19.39 kB / 496.7 MB, free: 15.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * 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.0002105/0.2833, allocations: 202.1 kB / 496.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.2833, allocations: 42.22 kB / 496.9 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.2835, allocations: 44 kB / 497 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2835, allocations: 5.344 kB / 497 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.2835, allocations: 2.75 kB / 497 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2835, allocations: 4.688 kB / 497 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009197/0.2844, allocations: 1.035 MB / 498 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2844, allocations: 2.938 kB / 498 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.2847, allocations: 65.39 kB / 498.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2847, allocations: 7.25 kB / 498.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.2847, allocations: 15.97 kB / 498.1 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.2848, allocations: 3.375 kB / 498.1 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/0.2848, allocations: 6.891 kB / 498.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.2857, allocations: 498.4 kB / 498.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.2858, allocations: 115.2 kB / 498.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.2858, allocations: 15.69 kB / 498.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.2861, allocations: 34.86 kB / 498.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.2862, allocations: 40.69 kB / 498.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.2862, allocations: 16.95 kB / 498.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002489/0.2865, allocations: 230.5 kB / 499 MB, free: 13.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2865, allocations: 0 / 499 MB, free: 13.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004025/0.2869, allocations: 91.03 kB / 499.1 MB, free: 13.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001966/0.2889, allocations: 1.381 MB / 0.4888 GB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008885/0.2898, allocations: 433.3 kB / 0.4892 GB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2898, allocations: 0 / 0.4892 GB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.2902, allocations: 199.4 kB / 0.4894 GB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.2908, allocations: 73.81 kB / 0.4894 GB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.2947, allocations: 2.341 MB / 0.4917 GB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.295, allocations: 0.8041 MB / 0.4925 GB, free: 9.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.2953, allocations: 125.3 kB / 0.4926 GB, free: 9.754 MB / 330.7 MB Notification: Performance of SimCode: time 2.334e-06/0.2953, allocations: 0.9688 kB / 0.4926 GB, free: 9.754 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_PowerWorld_Test_WindFarmGridTestCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestCalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestInitializeParameter.cpp:94:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp1; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestInitializeParameter.cpp:95:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Examples/PowerWorld/Resources/", tmp1); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestCalcHelperMain.cpp:31: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestInitialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp0; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestInitialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Examples/PowerWorld/Resources/", tmp0); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestInitialize.cpp:482:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp18; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestInitialize.cpp:483:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp18); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestCalcHelperMain.cpp:34: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTest.cpp:987:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp55; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTest.cpp:988:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Examples/PowerWorld/Resources/", tmp55); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestFMU.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_PowerWorld_Test_WindFarmGridTestCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTestFMU.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_PowerWorld_Test_WindFarmGridTestCalcHelperMain.o] Error 1