Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.PowerWorld.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.PowerWorld,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorld",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.PowerWorld,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorld",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.001541/0.001541, allocations: 185.3 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001129/0.001129, allocations: 85.08 kB / 267.1 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2802/0.2802, allocations: 37.97 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.73e-05/4.741e-05, allocations: 4 kB / 416.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1415, allocations: 56.31 MB / 473.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.582/0.7235, allocations: 120.2 MB / 0.5794 GB, free: 15.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002626/0.7262, allocations: 0.6838 MB / 0.5801 GB, free: 14.8 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). Notification: Performance of FrontEnd - DAE generated: time 0.7465/1.473, allocations: 102.6 MB / 0.6803 GB, free: 112.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.473, allocations: 0 / 0.6803 GB, free: 112.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000344/1.473, allocations: 55.53 kB / 0.6804 GB, free: 112.4 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01043/1.484, allocations: 2.578 MB / 0.6829 GB, free: 111.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.484, allocations: 11.44 kB / 0.6829 GB, free: 111.1 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00136/1.485, allocations: 286.7 kB / 0.6832 GB, free: 111.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007703/1.493, allocations: 0.6691 MB / 0.6838 GB, free: 110.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005805/1.499, allocations: 1.575 MB / 0.6854 GB, free: 110.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/1.499, allocations: 156.8 kB / 0.6855 GB, free: 110.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/1.5, allocations: 203.3 kB / 0.6857 GB, free: 110.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008412/1.509, allocations: 2.594 MB / 0.6882 GB, free: 109.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/1.509, allocations: 7.5 kB / 0.6882 GB, free: 109.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004161/1.509, allocations: 89.36 kB / 0.6883 GB, free: 109.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004133/1.51, allocations: 134.6 kB / 0.6885 GB, free: 109.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008858/1.518, allocations: 2.71 MB / 0.6911 GB, free: 108.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02782/1.546, allocations: 9.504 MB / 0.7004 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008155/1.555, allocations: 3.016 MB / 0.7033 GB, free: 101.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003081/1.558, allocations: 1.089 MB / 0.7044 GB, free: 101 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/1.558, allocations: 42.55 kB / 0.7044 GB, free: 101 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003472/1.561, allocations: 1.286 MB / 0.7057 GB, free: 100.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=218): time 6.582e-06/1.562, allocations: 0 / 0.7057 GB, free: 100.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=229): time 0.0229/1.584, allocations: 7.347 MB / 0.7129 GB, free: 97.13 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/1.585, allocations: 260.4 kB / 0.7131 GB, free: 96.85 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/1.588, allocations: 1.437 MB / 0.7145 GB, free: 96.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007251/1.589, allocations: 84.2 kB / 0.7146 GB, free: 96.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009497/1.59, allocations: 0.8677 MB / 0.7155 GB, free: 95.47 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001422/1.591, allocations: 0.7678 MB / 0.7162 GB, free: 94.88 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/1.591, allocations: 50.78 kB / 0.7162 GB, free: 94.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/1.592, allocations: 391.6 kB / 0.7166 GB, free: 94.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/1.594, allocations: 0.8993 MB / 0.7175 GB, free: 94.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003193/1.597, allocations: 1.258 MB / 0.7187 GB, free: 93.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/1.601, allocations: 1.123 MB / 0.7198 GB, free: 92.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/1.601, allocations: 0 / 0.7198 GB, free: 92.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009092/1.61, allocations: 2.973 MB / 0.7227 GB, free: 89.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006587/1.611, allocations: 2.937 MB / 0.7256 GB, free: 86.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/1.611, allocations: 8 kB / 0.7256 GB, free: 86.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/1.613, allocations: 0.5477 MB / 0.7261 GB, free: 85.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004153/1.618, allocations: 483.3 kB / 0.7266 GB, free: 85.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/1.628, allocations: 5.698 MB / 0.7322 GB, free: 79.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003653/1.632, allocations: 195.8 kB / 0.7324 GB, free: 78.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007164/1.632, allocations: 83.98 kB / 0.7324 GB, free: 78.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.632, allocations: 8 kB / 0.7324 GB, free: 78.8 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008661/1.641, allocations: 2.893 MB / 0.7353 GB, free: 75.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/1.641, allocations: 4 kB / 0.7353 GB, free: 75.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/1.643, allocations: 477.8 kB / 0.7357 GB, free: 75.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004015/1.647, allocations: 467.3 kB / 0.7362 GB, free: 74.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/1.657, allocations: 5.664 MB / 0.7417 GB, free: 69.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/1.66, allocations: 155.8 kB / 0.7419 GB, free: 68.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004676/1.661, allocations: 91.86 kB / 0.7419 GB, free: 68.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition5,$PRE.windFarm.wind.nextTimeEvent,$whenCondition3,$PRE.city.data.nextTimeEvent,$whenCondition2,$PRE.dispatcher.data.nextTimeEvent,system.initime,$whenCondition6,$whenCondition4,$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,city.data.nextTimeEvent,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEventScaled,dispatcher.data.nextTimeEvent,$PRE.dispatcher.data.nextTimeEventScaled,dispatcher.data.nextTimeEventScaled,$PRE.dispatcher.hydroDaily.T_start,dispatcher.hydroDaily.T_start,$PRE.dispatcher.hydroDaily.count,dispatcher.hydroDaily.count,hydroPlant.reservoirLevel.local_reset,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset,dispatcher.secondaryControl.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 226 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 33,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007454/1.661, allocations: 238.4 kB / 0.7422 GB, free: 68.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007758/1.662, allocations: 225.3 kB / 0.7424 GB, free: 68.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009907/1.672, allocations: 3.186 MB / 0.7455 GB, free: 65.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/1.672, allocations: 24 kB / 0.7455 GB, free: 65.06 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.672, allocations: 192 / 0.7455 GB, free: 65.06 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.856e-05/1.672, allocations: 11.95 kB / 0.7455 GB, free: 65.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/1.691, allocations: 6.138 MB / 0.7515 GB, free: 58.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.963e-05/1.691, allocations: 7.438 kB / 0.7515 GB, free: 58.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004024/1.695, allocations: 435.7 kB / 0.7519 GB, free: 58.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00228/1.697, allocations: 476.9 kB / 0.7524 GB, free: 57.92 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007136/1.698, allocations: 63.91 kB / 0.7525 GB, free: 57.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/1.71, allocations: 6.099 MB / 0.7584 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.71, allocations: 4 kB / 0.7584 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/1.722, allocations: 4.641 MB / 0.7629 GB, free: 46.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/1.724, allocations: 0.5677 MB / 0.7635 GB, free: 46.08 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008019/1.725, allocations: 64 kB / 0.7636 GB, free: 46.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003328/1.729, allocations: 179.8 kB / 0.7637 GB, free: 45.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009963/1.73, allocations: 217.6 kB / 0.7639 GB, free: 45.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003591/1.73, allocations: 79.97 kB / 0.764 GB, free: 45.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002572/1.733, allocations: 1.104 MB / 0.7651 GB, free: 44.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.733, allocations: 0 / 0.7651 GB, free: 44.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006203/1.739, allocations: 0.9922 MB / 0.7661 GB, free: 43.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 13 (dispatcher.secondaryControl.I.y,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y,hydroPlant.reservoirLevel.y,hydroPlant.rotor.phi,hydroPlant.rotor.w,hydroPlant.controlDynamics.x_scaled[1],system.theta) * Number of discrete variables: 17 (system.initime,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count,city.data.nextTimeEvent,city.data.nextTimeEventScaled,dispatcher.data.nextTimeEvent,dispatcher.data.nextTimeEventScaled,dispatcher.hydroDaily.T_start,dispatcher.hydroDaily.count) * Number of discrete states: 8 (windFarm.wind.nextTimeEvent,windFarm.disturbance.count,city.data.nextTimeEvent,dispatcher.data.nextTimeEvent,dispatcher.hydroDaily.count,dispatcher.data.nextTimeEventScaled,city.data.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 30,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01486/1.754, allocations: 6.26 MB / 0.7722 GB, free: 37.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01363/1.768, allocations: 4.832 MB / 0.7769 GB, free: 32.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.768, allocations: 0 / 0.7769 GB, free: 32.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005501/1.773, allocations: 1.822 MB / 0.7787 GB, free: 30.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003932/1.777, allocations: 389.5 kB / 0.7791 GB, free: 29.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/1.794, allocations: 4.863 MB / 0.7838 GB, free: 24.96 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/1.796, allocations: 1.835 MB / 0.7856 GB, free: 23.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002703/1.798, allocations: 1.042 MB / 0.7866 GB, free: 22.05 MB / 474.7 MB Notification: Performance of SimCode: time 1.312e-06/1.798, allocations: 0 / 0.7866 GB, free: 22.05 MB / 474.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -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/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldCalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:505:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp288; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:506:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp289; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:507:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp290; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:508: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/", tmp288); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:511: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/", tmp289); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:514: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/", tmp290); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldCalcHelperMain.cpp:31: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:155:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp100; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:156: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/", tmp100); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:158:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp101; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:159: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/", tmp101); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:161:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp102; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:162: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/", tmp102); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3396:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp184; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3397:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT5, tmp184); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3437:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp189; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3438:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT5, tmp189); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3478:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp194; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3479:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT5, tmp194); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldCalcHelperMain.cpp:34: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorld.cpp:3841:31: error: use of undeclared identifier 'tmp75' _city_P_data_P_fileName_ = (tmp75 + "LoadData.txt"); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldCalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldCalcHelperMain.o] Error 1