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.001447/0.001446, allocations: 185.7 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001164, allocations: 94.64 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2685/0.2685, allocations: 37.99 MB / 347.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.889e-05, allocations: 0 / 409.9 MB, free: 35.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 56.34 MB / 466.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5283/0.6497, allocations: 119.5 MB / 0.572 GB, free: 9.352 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002154/0.6519, allocations: 0.5719 MB / 0.5726 GB, free: 9.078 MB / 378.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.4113/1.063, allocations: 102.1 MB / 0.6723 GB, free: 8.926 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.063, allocations: 0 / 0.6723 GB, free: 8.926 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004123/1.064, allocations: 59.94 kB / 0.6723 GB, free: 8.867 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.01069/1.074, allocations: 2.569 MB / 0.6748 GB, free: 6.219 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/1.075, allocations: 16.03 kB / 0.6748 GB, free: 6.203 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007743/1.082, allocations: 0.6716 MB / 0.6755 GB, free: 5.527 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006203/1.089, allocations: 1.571 MB / 0.677 GB, free: 3.906 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/1.089, allocations: 64 kB / 0.6771 GB, free: 3.844 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/1.09, allocations: 123.9 kB / 0.6772 GB, free: 3.723 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008061/1.098, allocations: 2.311 MB / 0.6795 GB, free: 1.406 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008804/1.107, allocations: 2.337 MB / 0.6818 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/1.107, allocations: 7.906 kB / 0.6818 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003332/1.107, allocations: 4 kB / 0.6818 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004684/1.108, allocations: 135.7 kB / 0.6819 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03045/1.138, allocations: 9.212 MB / 0.6909 GB, free: 5.352 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008899/1.147, allocations: 2.929 MB / 0.6938 GB, free: 2.328 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/1.15, allocations: 1.046 MB / 0.6948 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/1.151, allocations: 41.95 kB / 0.6948 GB, free: 1.242 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3344/1.485, allocations: 1.238 MB / 0.696 GB, free: 104.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=220): time 8.616e-06/1.485, allocations: 0 / 0.696 GB, free: 104.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=231): time 0.0231/1.508, allocations: 6.93 MB / 0.7028 GB, free: 103.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.509, allocations: 262 kB / 0.703 GB, free: 103.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/1.512, allocations: 1.231 MB / 0.7042 GB, free: 103.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006873/1.512, allocations: 44.17 kB / 0.7043 GB, free: 103.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009823/1.513, allocations: 0.8843 MB / 0.7052 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001434/1.515, allocations: 0.7439 MB / 0.7059 GB, free: 102.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.515, allocations: 0.8438 kB / 0.7059 GB, free: 102.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/1.515, allocations: 398.2 kB / 0.7063 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/1.518, allocations: 0.8708 MB / 0.7071 GB, free: 102.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003369/1.521, allocations: 1.217 MB / 0.7083 GB, free: 101.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/1.525, allocations: 1.044 MB / 0.7093 GB, free: 101.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.701e-05/1.525, allocations: 0 / 0.7093 GB, free: 101.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01009/1.535, allocations: 2.753 MB / 0.712 GB, free: 101.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006944/1.536, allocations: 2.937 MB / 0.7149 GB, free: 98.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/1.536, allocations: 6.469 kB / 0.7149 GB, free: 98.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002746/1.539, allocations: 0.4962 MB / 0.7154 GB, free: 98.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/1.543, allocations: 494.2 kB / 0.7158 GB, free: 98.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/1.553, allocations: 5.455 MB / 0.7212 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/1.557, allocations: 144.3 kB / 0.7213 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00066/1.557, allocations: 90.98 kB / 0.7214 GB, free: 95.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.557, allocations: 3.906 kB / 0.7214 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008594/1.566, allocations: 2.631 MB / 0.724 GB, free: 95.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/1.566, allocations: 7.719 kB / 0.724 GB, free: 95.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/1.568, allocations: 470.1 kB / 0.7244 GB, free: 95.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00389/1.572, allocations: 473.7 kB / 0.7249 GB, free: 95.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009496/1.582, allocations: 5.402 MB / 0.7301 GB, free: 93.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/1.584, allocations: 111.9 kB / 0.7302 GB, free: 93.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004572/1.585, allocations: 85.22 kB / 0.7303 GB, free: 93.16 MB / 490.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 (232): * Single equations (assignments): 228 * 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.0007578/1.586, allocations: 168 kB / 0.7305 GB, free: 93.05 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007891/1.594, allocations: 2.577 MB / 0.733 GB, free: 92.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.595, allocations: 214.5 kB / 0.7332 GB, free: 92.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009211/1.604, allocations: 2.989 MB / 0.7361 GB, free: 92.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/1.604, allocations: 26.22 kB / 0.7362 GB, free: 92.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.604, allocations: 6.953 kB / 0.7362 GB, free: 92.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.397e-05/1.604, allocations: 22.73 kB / 0.7362 GB, free: 92.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/1.621, allocations: 5.711 MB / 0.7418 GB, free: 91.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/1.621, allocations: 5.344 kB / 0.7418 GB, free: 91.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003904/1.625, allocations: 441.2 kB / 0.7422 GB, free: 91.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/1.627, allocations: 456.4 kB / 0.7426 GB, free: 91.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006392/1.628, allocations: 39.19 kB / 0.7427 GB, free: 91.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/1.639, allocations: 5.903 MB / 0.7484 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/1.639, allocations: 3.875 kB / 0.7484 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/1.651, allocations: 4.476 MB / 0.7528 GB, free: 88.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/1.653, allocations: 0.5458 MB / 0.7533 GB, free: 88.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007994/1.654, allocations: 22.56 kB / 0.7534 GB, free: 88.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003207/1.657, allocations: 139 kB / 0.7535 GB, free: 88.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009804/1.658, allocations: 217.1 kB / 0.7537 GB, free: 88.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003388/1.659, allocations: 84.83 kB / 0.7538 GB, free: 88.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002135/1.661, allocations: 0.9211 MB / 0.7547 GB, free: 87.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-07/1.661, allocations: 2.344 kB / 0.7547 GB, free: 87.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006292/1.667, allocations: 0.8694 MB / 0.7555 GB, free: 87.71 MB / 490.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 (228): * Single equations (assignments): 215 * 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.01394/1.681, allocations: 6.038 MB / 0.7614 GB, free: 84.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01305/1.694, allocations: 4.645 MB / 0.766 GB, free: 82.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.694, allocations: 7.578 kB / 0.766 GB, free: 82.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005245/1.7, allocations: 1.729 MB / 0.7677 GB, free: 81.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/1.703, allocations: 343.7 kB / 0.768 GB, free: 81.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/1.72, allocations: 4.651 MB / 0.7725 GB, free: 79.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/1.722, allocations: 1.832 MB / 0.7743 GB, free: 78.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002923/1.725, allocations: 1.041 MB / 0.7753 GB, free: 77.84 MB / 490.7 MB Notification: Performance of SimCode: time 1.753e-06/1.725, allocations: 0 / 0.7753 GB, free: 77.84 MB / 490.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/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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:461:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp288; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:462:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp289; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:463:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp290; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:464: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:467: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:470: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:154:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp100; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:155: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:157:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp101; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:158: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:160:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp102; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:161: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:3374:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp184; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3375:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT5, tmp184); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3415:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp189; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3416:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT5, tmp189); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3456:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp194; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3457: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:3855: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