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.002298/0.002304, allocations: 183.8 kB / 15.76 MB, free: 6.344 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.19/2.19, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.00112/0.00112, allocations: 86.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2667/0.2667, allocations: 38.05 MB / 356.5 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006423/0.0006422, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1204, allocations: 56.32 MB / 479.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5507/0.6711, allocations: 120.2 MB / 0.5853 GB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002539/0.6737, allocations: 0.8598 MB / 0.5861 GB, free: 12.07 MB / 394.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.4256/1.099, allocations: 103.1 MB / 0.6868 GB, free: 10.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.346e-06/1.099, allocations: 0 / 0.6868 GB, free: 10.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003949/1.1, allocations: 63.88 kB / 0.6869 GB, free: 10.87 MB / 490.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.01264/1.113, allocations: 2.906 MB / 0.6897 GB, free: 7.875 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.113, allocations: 12.03 kB / 0.6897 GB, free: 7.863 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001456/1.114, allocations: 290.9 kB / 0.69 GB, free: 7.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007876/1.122, allocations: 0.6755 MB / 0.6907 GB, free: 6.891 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006471/1.128, allocations: 1.63 MB / 0.6923 GB, free: 5.211 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/1.129, allocations: 155.8 kB / 0.6924 GB, free: 5.059 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009218/1.13, allocations: 199.9 kB / 0.6926 GB, free: 4.863 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009996/1.14, allocations: 2.777 MB / 0.6953 GB, free: 1.973 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/1.14, allocations: 15.84 kB / 0.6953 GB, free: 1.957 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003973/1.14, allocations: 83.92 kB / 0.6954 GB, free: 1.875 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004807/1.141, allocations: 135.7 kB / 0.6955 GB, free: 1.742 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3566/1.497, allocations: 3.016 MB / 0.6985 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03058/1.528, allocations: 9.501 MB / 0.7078 GB, free: 97.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/1.54, allocations: 3.396 MB / 0.7111 GB, free: 97.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004018/1.541, allocations: 41.41 kB / 0.7111 GB, free: 97.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005662/1.547, allocations: 1.441 MB / 0.7125 GB, free: 97.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=218): time 9.368e-06/1.547, allocations: 1.062 kB / 0.7125 GB, free: 97.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=229): time 0.04039/1.587, allocations: 9.64 MB / 0.7219 GB, free: 95.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/1.587, allocations: 265 kB / 0.7222 GB, free: 95.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/1.592, allocations: 1.502 MB / 0.7237 GB, free: 95.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007305/1.592, allocations: 84.77 kB / 0.7237 GB, free: 95.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001014/1.593, allocations: 0.8669 MB / 0.7246 GB, free: 94.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001398/1.595, allocations: 0.7696 MB / 0.7253 GB, free: 94.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/1.595, allocations: 45.44 kB / 0.7254 GB, free: 94.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/1.595, allocations: 400.2 kB / 0.7258 GB, free: 94.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/1.599, allocations: 1.054 MB / 0.7268 GB, free: 94.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004518/1.604, allocations: 1.413 MB / 0.7282 GB, free: 93.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004527/1.608, allocations: 1.261 MB / 0.7294 GB, free: 93.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/1.608, allocations: 3.906 kB / 0.7294 GB, free: 93.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01125/1.62, allocations: 3.103 MB / 0.7324 GB, free: 93.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007074/1.62, allocations: 2.944 MB / 0.7353 GB, free: 90.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/1.62, allocations: 7.812 kB / 0.7353 GB, free: 90.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/1.622, allocations: 323.1 kB / 0.7356 GB, free: 90.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004622/1.627, allocations: 0.5197 MB / 0.7361 GB, free: 90.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008389/1.635, allocations: 4.971 MB / 0.741 GB, free: 87.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00362/1.639, allocations: 189.2 kB / 0.7412 GB, free: 87.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006844/1.64, allocations: 94.09 kB / 0.7413 GB, free: 87.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.64, allocations: 7.062 kB / 0.7413 GB, free: 87.82 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01044/1.65, allocations: 2.945 MB / 0.7441 GB, free: 87.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/1.65, allocations: 7.125 kB / 0.7442 GB, free: 87.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/1.651, allocations: 295 kB / 0.7444 GB, free: 87.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004447/1.656, allocations: 0.5077 MB / 0.7449 GB, free: 87.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008492/1.664, allocations: 4.97 MB / 0.7498 GB, free: 84.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/1.667, allocations: 149.5 kB / 0.7499 GB, free: 84.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007398/1.668, allocations: 86.3 kB / 0.75 GB, free: 84.91 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 250 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {5 17} Notification: Performance of prepare postOptimizeDAE: time 0.002769/1.671, allocations: 0.681 MB / 0.7507 GB, free: 84.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007879/1.672, allocations: 225.6 kB / 0.7509 GB, free: 84.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/1.683, allocations: 3.495 MB / 0.7543 GB, free: 84.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.828e-05/1.683, allocations: 25.41 kB / 0.7543 GB, free: 84.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.683, allocations: 0 / 0.7543 GB, free: 84.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.412e-05/1.683, allocations: 10.36 kB / 0.7543 GB, free: 84.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/1.702, allocations: 6.455 MB / 0.7606 GB, free: 82.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/1.702, allocations: 3.906 kB / 0.7606 GB, free: 82.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003954/1.706, allocations: 445 kB / 0.7611 GB, free: 81.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002652/1.709, allocations: 483.4 kB / 0.7615 GB, free: 81.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006198/1.71, allocations: 66.78 kB / 0.7616 GB, free: 81.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/1.722, allocations: 6.309 MB / 0.7678 GB, free: 77.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.722, allocations: 6.844 kB / 0.7678 GB, free: 77.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/1.738, allocations: 5.124 MB / 0.7728 GB, free: 75.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/1.74, allocations: 0.5656 MB / 0.7733 GB, free: 74.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007086/1.741, allocations: 62.47 kB / 0.7734 GB, free: 74.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/1.744, allocations: 175.2 kB / 0.7735 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007584/1.744, allocations: 219.2 kB / 0.7738 GB, free: 74.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002694/1.745, allocations: 83.58 kB / 0.7738 GB, free: 74.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002989/1.748, allocations: 1.166 MB / 0.775 GB, free: 74.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.748, allocations: 0 / 0.775 GB, free: 74.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00684/1.755, allocations: 0.9896 MB / 0.7759 GB, free: 74.18 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) * Number of clocked states: 0 () * 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.01837/1.773, allocations: 6.79 MB / 0.7826 GB, free: 70.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01591/1.789, allocations: 5.07 MB / 0.7875 GB, free: 68.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.789, allocations: 0 / 0.7875 GB, free: 68.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006572/1.796, allocations: 1.988 MB / 0.7895 GB, free: 67.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/1.799, allocations: 392.6 kB / 0.7898 GB, free: 67.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04758/1.847, allocations: 21.78 MB / 0.8111 GB, free: 47.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/1.849, allocations: 1.821 MB / 0.8129 GB, free: 46.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002753/1.852, allocations: 1.041 MB / 0.8139 GB, free: 45.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/1.852, allocations: 4 kB / 0.8139 GB, free: 45.28 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/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:116:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp100; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:117: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:119:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp101; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.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/Examples/PowerWorld/Resources/", tmp101); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:122:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp102; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:123: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:3599:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp184; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3600:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT5, tmp184); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3640:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp189; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3641:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT5, tmp189); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3681:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp194; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3682: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