Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.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.LoadDispatcherTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTest",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.001547/0.001547, allocations: 171.6 kB / 16.07 MB, free: 5.699 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.362/1.362, 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.0007348/0.0007347, allocations: 88.86 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.1671/0.1671, allocations: 38.07 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 12 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2329, allocations: 56.33 MB / 479.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.003562/0.2365, allocations: 3.522 MB / 483.3 MB, free: 6.957 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.2384, allocations: 1.363 MB / 484.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.2386, allocations: 19.56 kB / 484.6 MB, free: 5.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.239, allocations: 78.42 kB / 484.7 MB, free: 5.941 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.2393, allocations: 144.5 kB / 484.9 MB, free: 5.848 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.2399, allocations: 245.8 kB / 485.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005629/0.2404, allocations: 0.6447 MB / 485.7 MB, free: 5.402 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.2407, allocations: 208.9 kB / 485.9 MB, free: 5.301 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.2411, allocations: 219.3 kB / 486.2 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.2414, allocations: 221.1 kB / 486.4 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.2414, allocations: 18.53 kB / 486.4 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.2416, allocations: 69.52 kB / 486.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.2417, allocations: 101.4 kB / 486.6 MB, free: 5.047 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.2419, allocations: 256.5 kB / 486.8 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006072/0.2425, allocations: 0.6028 MB / 487.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2425, allocations: 1.031 kB / 487.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2425, allocations: 0 / 487.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.2426, allocations: 0 / 487.4 MB, free: 4.703 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001499/0.2441, allocations: 0.9247 MB / 488.3 MB, free: 4.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2441, allocations: 8.625 kB / 488.4 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.253e-05/0.2442, allocations: 76.28 kB / 488.4 MB, free: 3.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.2443, allocations: 68.33 kB / 488.5 MB, free: 3.918 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005997/0.2449, allocations: 0.5143 MB / 489 MB, free: 3.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.2449, allocations: 36.44 kB / 489 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.245, allocations: 41.47 kB / 489.1 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.2461, allocations: 0.5784 MB / 489.7 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2461, allocations: 1 kB / 489.7 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.2462, allocations: 12.5 kB / 489.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.2462, allocations: 10.72 kB / 489.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.2476, allocations: 0.572 MB / 490.3 MB, free: 3.035 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.2495, allocations: 2.098 MB / 492.4 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.2511, allocations: 0.6508 MB / 493 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/0.2518, allocations: 260.5 kB / 493.3 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.2518, allocations: 12.7 kB / 493.3 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008344/0.2527, allocations: 391.8 kB / 493.7 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 2.084e-06/0.2527, allocations: 0 / 493.7 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of matching and sorting (n=37): time 0.002108/0.2548, allocations: 0.8285 MB / 494.5 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.2548, allocations: 186.8 kB / 494.7 MB, free: 424 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.2554, allocations: 0.5106 MB / 495.2 MB, free: 168 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.2555, allocations: 39.52 kB / 495.2 MB, free: 128 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.2557, allocations: 272.2 kB / 495.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.2558, allocations: 126.9 kB / 495.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.2558, allocations: 6.188 kB / 495.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.256, allocations: 367.6 kB / 496 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/0.2567, allocations: 246.5 kB / 496.2 MB, free: 15.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007333/0.2574, allocations: 373.1 kB / 496.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.2588, allocations: 0.636 MB / 497.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2588, allocations: 0.9375 kB / 497.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001681/0.2605, allocations: 0.765 MB / 498 MB, free: 14.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.2607, allocations: 235.1 kB / 498.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2607, allocations: 3.344 kB / 498.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.2607, allocations: 10.22 kB / 498.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.2612, allocations: 125.7 kB / 498.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2612, allocations: 9.031 kB / 498.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.2617, allocations: 90.69 kB / 498.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.2618, allocations: 20.33 kB / 498.5 MB, free: 14.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.2618, allocations: 7.219 kB / 498.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/0.2633, allocations: 0.6765 MB / 499.1 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2633, allocations: 2.656 kB / 499.1 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.2633, allocations: 9.344 kB / 499.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.2638, allocations: 120.6 kB / 499.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2638, allocations: 5.516 kB / 499.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.2642, allocations: 87.06 kB / 499.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.2643, allocations: 16.28 kB / 499.4 MB, free: 13.87 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$PRE.loadDispatcher.data.nextTimeEvent,$whenCondition3,loadDispatcher.data.nextTimeEvent,$PRE.loadDispatcher.data.nextTimeEventScaled,loadDispatcher.data.nextTimeEventScaled,$PRE.loadDispatcher.hydroDaily.T_start,loadDispatcher.hydroDaily.T_start,$PRE.loadDispatcher.hydroDaily.count,loadDispatcher.hydroDaily.count,$whenCondition1,$PRE.frequency.T_start,frequency.T_start,$PRE.frequency.count,frequency.count,system.initime,loadDispatcher.secondaryControl.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 2 * 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.0003174/0.2646, allocations: 286.9 kB / 499.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.2647, allocations: 63.44 kB / 499.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.2648, allocations: 66.72 kB / 499.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2648, allocations: 5.016 kB / 499.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.2649, allocations: 5.969 kB / 499.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.2649, allocations: 2.375 kB / 499.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006301/0.2655, allocations: 0.5331 MB / 0.4886 GB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2655, allocations: 5.125 kB / 0.4886 GB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.2659, allocations: 97.92 kB / 0.4887 GB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.266, allocations: 10 kB / 0.4887 GB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.266, allocations: 9.594 kB / 0.4887 GB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.266, allocations: 2.312 kB / 0.4887 GB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.266, allocations: 1.062 kB / 0.4887 GB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.2686, allocations: 0.9464 MB / 0.4897 GB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.2688, allocations: 182.5 kB / 0.4898 GB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.725e-05/0.269, allocations: 22.11 kB / 0.4898 GB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.2694, allocations: 62.41 kB / 0.4899 GB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.2696, allocations: 51.62 kB / 0.49 GB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.2697, allocations: 14.3 kB / 0.49 GB, free: 12.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004944/0.2702, allocations: 362.2 kB / 0.4903 GB, free: 12.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2702, allocations: 0 / 0.4903 GB, free: 12.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007448/0.2709, allocations: 192 kB / 0.4905 GB, free: 12.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (loadDispatcher.secondaryControl.I.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,loadDispatcher.data.nextTimeEvent,loadDispatcher.data.nextTimeEventScaled,loadDispatcher.hydroDaily.T_start,loadDispatcher.hydroDaily.count,$whenCondition1,frequency.T_start,frequency.count,system.initime) * Number of discrete states: 4 (frequency.count,loadDispatcher.hydroDaily.count,loadDispatcher.data.nextTimeEventScaled,loadDispatcher.data.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.003874/0.2748, allocations: 1.851 MB / 0.4923 GB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.2776, allocations: 1.107 MB / 0.4934 GB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2776, allocations: 0 / 0.4934 GB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008558/0.2784, allocations: 281 kB / 0.4937 GB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009423/0.2794, allocations: 116 kB / 0.4938 GB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006561/0.286, allocations: 3.532 MB / 0.4972 GB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.2864, allocations: 0.8602 MB / 0.4981 GB, free: 7.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/0.2868, allocations: 196.1 kB / 0.4982 GB, free: 6.934 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2868, allocations: 5.094 kB / 0.4982 GB, free: 6.93 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_LoadDispatcherTestCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTestCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTestCalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTestInitializeParameter.cpp:162:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp1; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTestInitializeParameter.cpp:163: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_LoadDispatcherTestCalcHelperMain.cpp:31: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTestInitialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp0; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTestInitialize.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_LoadDispatcherTestInitialize.cpp:590:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp26; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTestInitialize.cpp:591:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp26); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTestCalcHelperMain.cpp:34: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTest.cpp:1168:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp86; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTest.cpp:1169: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/", tmp86); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTestCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTestFMU.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_LoadDispatcherTestCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_LoadDispatcherTestFMU.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_LoadDispatcherTestCalcHelperMain.o] Error 1