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.0008664/0.0008664, allocations: 171.9 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, 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.0008108/0.0008105, allocations: 91.84 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.157/0.157, allocations: 38.07 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 15.98 kB / 423.4 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2766, allocations: 56.32 MB / 479.7 MB, free: 9.242 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.PowerWorld): time 0.01124/0.2879, allocations: 13.06 MB / 492.8 MB, free: 112 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.3004, allocations: 7.861 MB / 0.4889 GB, free: 10.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002598/0.303, allocations: 89.31 kB / 0.489 GB, free: 10.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.3047, allocations: 410.6 kB / 0.4894 GB, free: 10.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005264/0.3099, allocations: 1.599 MB / 0.491 GB, free: 9.441 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004561/0.3145, allocations: 1.22 MB / 0.4921 GB, free: 8.836 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006771/0.3213, allocations: 4.151 MB / 0.4962 GB, free: 6.469 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004385/0.3257, allocations: 2.364 MB / 0.4985 GB, free: 4.887 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.3284, allocations: 1.152 MB / 0.4996 GB, free: 4.242 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.3308, allocations: 1.373 MB / 0.501 GB, free: 3.418 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003882/0.3312, allocations: 93.56 kB / 0.5011 GB, free: 3.418 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.3351, allocations: 2.007 MB / 0.503 GB, free: 2.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009344/0.336, allocations: 0.755 MB / 0.5038 GB, free: 1.816 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.3375, allocations: 1.091 MB / 0.5048 GB, free: 1.027 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004126/0.3416, allocations: 3.134 MB / 0.5079 GB, free: 13.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3416, allocations: 0 / 0.5079 GB, free: 13.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3417, allocations: 0 / 0.5079 GB, free: 13.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.069e-05/0.3417, allocations: 0 / 0.5079 GB, free: 13.93 MB / 346.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.005771/0.3475, allocations: 2.764 MB / 0.5106 GB, free: 11.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.3476, allocations: 12.03 kB / 0.5106 GB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005658/0.3482, allocations: 283.1 kB / 0.5109 GB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003899/0.3521, allocations: 0.657 MB / 0.5115 GB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/0.3551, allocations: 1.657 MB / 0.5131 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.3552, allocations: 159.9 kB / 0.5133 GB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003358/0.3556, allocations: 207.9 kB / 0.5135 GB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004963/0.3606, allocations: 2.769 MB / 0.5162 GB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/0.3606, allocations: 7.984 kB / 0.5162 GB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.3608, allocations: 79.98 kB / 0.5163 GB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.361, allocations: 115.8 kB / 0.5164 GB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005219/0.3662, allocations: 2.899 MB / 0.5192 GB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/0.3817, allocations: 9.329 MB / 0.5283 GB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006294/0.388, allocations: 3.297 MB / 0.5315 GB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002459/0.3905, allocations: 1.21 MB / 0.5327 GB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.3907, allocations: 57.92 kB / 0.5328 GB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002905/0.3936, allocations: 1.421 MB / 0.5342 GB, free: 2.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=218): time 5.079e-06/0.3936, allocations: 0 / 0.5342 GB, free: 2.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=229): time 0.02133/0.415, allocations: 9.529 MB / 0.5435 GB, free: 8.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.4152, allocations: 265.4 kB / 0.5437 GB, free: 8.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/0.4176, allocations: 1.575 MB / 0.5453 GB, free: 6.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002911/0.4179, allocations: 81.69 kB / 0.5453 GB, free: 6.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008205/0.4187, allocations: 0.95 MB / 0.5463 GB, free: 5.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007388/0.4194, allocations: 0.7625 MB / 0.547 GB, free: 5.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.4196, allocations: 48 kB / 0.5471 GB, free: 4.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.4198, allocations: 394.3 kB / 0.5474 GB, free: 4.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.4219, allocations: 1.023 MB / 0.5484 GB, free: 3.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/0.4242, allocations: 1.392 MB / 0.5498 GB, free: 2.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004438/0.4286, allocations: 2.545 MB / 0.5523 GB, free: 15.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4287, allocations: 0 / 0.5523 GB, free: 15.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.007771/0.4365, allocations: 3.178 MB / 0.5554 GB, free: 12.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003259/0.4368, allocations: 380.3 kB / 0.5557 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.4369, allocations: 8 kB / 0.5557 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.4381, allocations: 325.4 kB / 0.5561 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003246/0.4414, allocations: 0.5228 MB / 0.5566 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007751/0.4492, allocations: 4.852 MB / 0.5613 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/0.452, allocations: 183.9 kB / 0.5615 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004924/0.4526, allocations: 91.97 kB / 0.5616 GB, free: 5.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4526, allocations: 6.969 kB / 0.5616 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006834/0.4594, allocations: 2.901 MB / 0.5644 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.4595, allocations: 4 kB / 0.5644 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.4607, allocations: 326.1 kB / 0.5647 GB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/0.4639, allocations: 0.4993 MB / 0.5652 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007968/0.4719, allocations: 4.856 MB / 0.57 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/0.4746, allocations: 167.9 kB / 0.5701 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004173/0.4751, allocations: 79.98 kB / 0.5702 GB, free: 12.29 MB / 410.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.001845/0.4769, allocations: 0.6802 MB / 0.5709 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005652/0.4775, allocations: 229.1 kB / 0.5711 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006687/0.4842, allocations: 3.263 MB / 0.5743 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.4843, allocations: 24 kB / 0.5743 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4843, allocations: 0 / 0.5743 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.4843, allocations: 11.95 kB / 0.5743 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.4953, allocations: 6.1 MB / 0.5802 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.4953, allocations: 4.281 kB / 0.5803 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.497, allocations: 407.4 kB / 0.5806 GB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.4985, allocations: 485 kB / 0.5811 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.4987, allocations: 63.97 kB / 0.5812 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007619/0.5063, allocations: 6.133 MB / 0.5872 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.5064, allocations: 3.938 kB / 0.5872 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009014/0.5154, allocations: 4.701 MB / 0.5918 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.5165, allocations: 0.5176 MB / 0.5923 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/0.5168, allocations: 67.94 kB / 0.5923 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.5182, allocations: 167.8 kB / 0.5925 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000503/0.5187, allocations: 193.7 kB / 0.5927 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.5188, allocations: 79.97 kB / 0.5927 GB, free: 4.699 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001684/0.5205, allocations: 1.084 MB / 0.5938 GB, free: 3.625 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5205, allocations: 0 / 0.5938 GB, free: 3.625 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002538/0.5231, allocations: 0.9219 MB / 0.5947 GB, free: 2.703 MB / 426.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 (199): * Single equations (assignments): 186 * 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 {5 31,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009739/0.5328, allocations: 5.683 MB / 0.6003 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008864/0.5417, allocations: 4.916 MB / 0.6051 GB, free: 8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.5418, allocations: 4 kB / 0.6051 GB, free: 7.996 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004212/0.546, allocations: 1.874 MB / 0.6069 GB, free: 6.094 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/0.5493, allocations: 435.2 kB / 0.6073 GB, free: 5.668 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03064/0.58, allocations: 16.73 MB / 0.6236 GB, free: 3.703 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.5814, allocations: 1.752 MB / 0.6254 GB, free: 1.914 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/0.583, allocations: 0.9952 MB / 0.6263 GB, free: 0.918 MB / 458.7 MB Notification: Performance of SimCode: time 7.32e-07/0.583, allocations: 0 / 0.6263 GB, free: 0.918 MB / 458.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_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 tmp3; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:506:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp4; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:507:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp5; ^ ./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/", tmp3); ~~~~~~~~~~ ^ ./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/", tmp4); ~~~~~~~~~~ ^ ./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/", tmp5); ~~~~~~~~~~ ^ 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 tmp0; ^ ./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/", tmp0); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:119:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp1; ^ ./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/", tmp1); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:122:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp2; ^ ./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/", tmp2); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:2185:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp92; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:2186:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp92); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:2215:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp96; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:2216:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp96); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:2245:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp100; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:2246:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp100); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldCalcHelperMain.cpp:34: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorld.cpp:2864:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType tmp276; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldCalcHelperMain.o] Error 1