Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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_par,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",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.0008608/0.0008608, allocations: 173.9 kB / 16.07 MB, free: 5.727 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.21/1.21, allocations: 205.4 MB / 222.2 MB, free: 9.027 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.0007169/0.0007168, allocations: 86.95 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.159/0.159, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003336, allocations: 19.98 kB / 423.4 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2243, 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_par): time 0.005779/0.2301, allocations: 5.645 MB / 485.4 MB, free: 5.496 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003132/0.2332, allocations: 2.135 MB / 487.5 MB, free: 3.969 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006138/0.2339, allocations: 33.22 kB / 487.5 MB, free: 3.953 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006198/0.2345, allocations: 162.4 kB / 487.7 MB, free: 3.875 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.2359, allocations: 406.2 kB / 488.1 MB, free: 3.648 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007624/0.2367, allocations: 208.5 kB / 488.3 MB, free: 3.547 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.238, allocations: 0.8954 MB / 489.2 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006108/0.2386, allocations: 407.9 kB / 489.6 MB, free: 3.016 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006047/0.2392, allocations: 286.4 kB / 489.9 MB, free: 2.898 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005587/0.2398, allocations: 321.9 kB / 490.2 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.902e-05/0.2399, allocations: 27.5 kB / 490.2 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/0.2402, allocations: 62.52 kB / 490.3 MB, free: 2.762 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.2404, allocations: 153 kB / 490.4 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.2407, allocations: 280 kB / 490.7 MB, free: 2.531 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006589/0.2414, allocations: 0.57 MB / 491.3 MB, free: 2.383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2414, allocations: 0 / 491.3 MB, free: 2.383 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2414, allocations: 1.344 kB / 491.3 MB, free: 2.383 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.2414, allocations: 0 / 491.3 MB, free: 2.383 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001612/0.243, allocations: 0.7916 MB / 492.1 MB, free: 1.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2431, allocations: 17.67 kB / 492.1 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.2432, allocations: 88.27 kB / 492.2 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.2434, allocations: 62.19 kB / 492.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007655/0.2441, allocations: 0.493 MB / 492.7 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.2442, allocations: 34.98 kB / 492.8 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.2443, allocations: 50.42 kB / 492.8 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008165/0.2451, allocations: 0.5131 MB / 493.3 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.2451, allocations: 1.094 kB / 493.3 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.2452, allocations: 16.38 kB / 493.3 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/0.2453, allocations: 21.88 kB / 493.4 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.2458, allocations: 333.8 kB / 493.7 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.2483, allocations: 2.076 MB / 495.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.2487, allocations: 233.4 kB / 496 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.2488, allocations: 82.61 kB / 496.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.2489, allocations: 3.281 kB / 496.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.2492, allocations: 174.8 kB / 496.2 MB, free: 15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.184e-06/0.2492, allocations: 0 / 496.2 MB, free: 15 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001727/0.2509, allocations: 0.9148 MB / 497.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.251, allocations: 133.3 kB / 497.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.2516, allocations: 431.2 kB / 497.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.2516, allocations: 30.98 kB / 497.7 MB, free: 13.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.2518, allocations: 291.5 kB / 498 MB, free: 13.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/0.2519, allocations: 90.8 kB / 498.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.2519, allocations: 10.19 kB / 498.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2521, allocations: 362.9 kB / 498.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.2523, allocations: 83.39 kB / 498.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.2525, allocations: 216.9 kB / 498.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.253, allocations: 322.2 kB / 499.1 MB, free: 12.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.253, allocations: 1.031 kB / 499.1 MB, free: 12.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008683/0.2538, allocations: 439.6 kB / 499.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2539, allocations: 7.172 kB / 499.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2539, allocations: 4.625 kB / 499.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000417/0.2543, allocations: 93.8 kB / 499.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.2546, allocations: 76.59 kB / 499.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.2565, allocations: 1.694 MB / 0.4896 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.2568, allocations: 27.48 kB / 0.4897 GB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.2568, allocations: 18.02 kB / 0.4897 GB, free: 11.09 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: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002709/0.2571, allocations: 209.4 kB / 0.4899 GB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.2572, allocations: 48.16 kB / 0.4899 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005614/0.2578, allocations: 279.8 kB / 0.4902 GB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2578, allocations: 2.781 kB / 0.4902 GB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2578, allocations: 1.469 kB / 0.4902 GB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2578, allocations: 3.328 kB / 0.4902 GB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.259, allocations: 0.7793 MB / 0.491 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.259, allocations: 1.062 kB / 0.491 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.2593, allocations: 45.55 kB / 0.491 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000208/0.2595, allocations: 53.03 kB / 0.4911 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.2595, allocations: 11.83 kB / 0.4911 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.2607, allocations: 1.433 MB / 0.4925 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2607, allocations: 1.25 kB / 0.4925 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006865/0.2614, allocations: 480.8 kB / 0.4929 GB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.2616, allocations: 136 kB / 0.4931 GB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.2616, allocations: 6.375 kB / 0.4931 GB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.2618, allocations: 21.61 kB / 0.4931 GB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.2619, allocations: 20.62 kB / 0.4931 GB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.262, allocations: 18.05 kB / 0.4931 GB, free: 8.293 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000346/0.2623, allocations: 288.1 kB / 0.4934 GB, free: 8.113 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2623, allocations: 0 / 0.4934 GB, free: 8.113 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005391/0.2629, allocations: 122.3 kB / 0.4935 GB, free: 8.09 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,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 (22): * Single equations (assignments): 20 * 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.001696/0.2646, allocations: 1.295 MB / 0.4948 GB, free: 7.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008068/0.2654, allocations: 392.4 kB / 0.4951 GB, free: 6.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2654, allocations: 0 / 0.4951 GB, free: 6.793 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.2658, allocations: 238.1 kB / 0.4954 GB, free: 6.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007672/0.2666, allocations: 125.8 kB / 0.4955 GB, free: 6.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/0.2712, allocations: 3.147 MB / 0.4986 GB, free: 4.383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.2717, allocations: 0.8731 MB / 0.4994 GB, free: 3.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.272, allocations: 182.6 kB / 0.4996 GB, free: 3.445 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.272, allocations: 0 / 0.4996 GB, free: 3.445 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_parCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_parCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_parCalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_parInitializeParameter.cpp:119:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp1; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_parInitializeParameter.cpp:120: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_parCalcHelperMain.cpp:31: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_parInitialize.cpp:103:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp0; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_parInitialize.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_parInitialize.cpp:483:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp6; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_parInitialize.cpp:484: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_parCalcHelperMain.cpp:34: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par.cpp:881:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp57; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par.cpp:882: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/", tmp57); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_parCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_parFMU.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_parCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_parFMU.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_parCalcHelperMain.o] Error 1