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.001561/0.001561, allocations: 186.2 kB / 15.77 MB, free: 5.988 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.971/1.971, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001799/0.001799, allocations: 94.81 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2623/0.2623, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004791, allocations: 12 kB / 422.8 MB, free: 26.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1098, allocations: 56.33 MB / 479.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.PowerWorld): time 0.02035/0.1302, allocations: 12.51 MB / 491.6 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.1488, allocations: 7.668 MB / 499.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002567/0.1514, allocations: 87.5 kB / 499.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.1535, allocations: 385.2 kB / 499.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006237/0.1597, allocations: 1.273 MB / 0.4893 GB, free: 11.97 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005733/0.1655, allocations: 1.172 MB / 0.4904 GB, free: 10.8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005471/0.171, allocations: 2.039 MB / 0.4924 GB, free: 8.762 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005747/0.1768, allocations: 2.023 MB / 0.4944 GB, free: 6.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/0.1798, allocations: 1.047 MB / 0.4954 GB, free: 5.629 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.1822, allocations: 1.011 MB / 0.4964 GB, free: 4.613 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005124/0.1827, allocations: 96 kB / 0.4965 GB, free: 4.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.186, allocations: 0.9123 MB / 0.4974 GB, free: 3.605 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.1872, allocations: 0.6971 MB / 0.4981 GB, free: 2.906 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000799/0.1881, allocations: 472.3 kB / 0.4985 GB, free: 2.438 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006162/0.1942, allocations: 3.067 MB / 0.5015 GB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1943, allocations: 0 / 0.5015 GB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1943, allocations: 4 kB / 0.5015 GB, free: 15.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000106/0.1944, allocations: 0 / 0.5015 GB, free: 15.36 MB / 362.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.009558/0.204, allocations: 2.795 MB / 0.5043 GB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.2041, allocations: 8.031 kB / 0.5043 GB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008818/0.205, allocations: 286.9 kB / 0.5045 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006699/0.2117, allocations: 0.6991 MB / 0.5052 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/0.217, allocations: 1.591 MB / 0.5068 GB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.2173, allocations: 147.8 kB / 0.5069 GB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007042/0.218, allocations: 207.9 kB / 0.5071 GB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008848/0.2269, allocations: 2.765 MB / 0.5098 GB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.144e-05/0.227, allocations: 4 kB / 0.5098 GB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003458/0.2274, allocations: 83.97 kB / 0.5099 GB, free: 6.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002159/0.2276, allocations: 123.7 kB / 0.51 GB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009999/0.2376, allocations: 2.899 MB / 0.5128 GB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3291/0.5668, allocations: 9.315 MB / 0.5219 GB, free: 45.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.5775, allocations: 3.289 MB / 0.5252 GB, free: 43.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/0.5779, allocations: 50.47 kB / 0.5252 GB, free: 43.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004971/0.5829, allocations: 1.408 MB / 0.5266 GB, free: 43.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=218): time 7.183e-06/0.5829, allocations: 0 / 0.5266 GB, free: 43.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=229): time 0.03514/0.6181, allocations: 9.509 MB / 0.5359 GB, free: 39.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.6182, allocations: 261.1 kB / 0.5361 GB, free: 38.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/0.6214, allocations: 1.581 MB / 0.5377 GB, free: 38.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005654/0.622, allocations: 77.3 kB / 0.5377 GB, free: 38.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007406/0.6228, allocations: 0.8709 MB / 0.5386 GB, free: 37.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000905/0.6237, allocations: 0.7624 MB / 0.5393 GB, free: 36.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.6239, allocations: 47.84 kB / 0.5394 GB, free: 36.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.6241, allocations: 397 kB / 0.5397 GB, free: 36.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003442/0.6275, allocations: 1.022 MB / 0.5407 GB, free: 35.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003607/0.6311, allocations: 1.389 MB / 0.5421 GB, free: 35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/0.6349, allocations: 1.234 MB / 0.5433 GB, free: 34.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.635, allocations: 3.688 kB / 0.5433 GB, free: 34.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009389/0.6444, allocations: 3.051 MB / 0.5463 GB, free: 32.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006139/0.645, allocations: 2.942 MB / 0.5492 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.645, allocations: 8 kB / 0.5492 GB, free: 29.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.6465, allocations: 327.7 kB / 0.5495 GB, free: 28.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004251/0.6508, allocations: 0.5266 MB / 0.55 GB, free: 28.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007647/0.6584, allocations: 4.961 MB / 0.5548 GB, free: 23.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/0.6616, allocations: 183.9 kB / 0.555 GB, free: 23.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/0.6619, allocations: 91.97 kB / 0.5551 GB, free: 22.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.6619, allocations: 4 kB / 0.5551 GB, free: 22.93 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00856/0.6705, allocations: 2.89 MB / 0.5579 GB, free: 20.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.6706, allocations: 8 kB / 0.5579 GB, free: 20.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.6718, allocations: 294.2 kB / 0.5582 GB, free: 19.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003881/0.6757, allocations: 0.4954 MB / 0.5587 GB, free: 19.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007664/0.6834, allocations: 4.964 MB / 0.5636 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.6858, allocations: 147.9 kB / 0.5637 GB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004913/0.6863, allocations: 86.17 kB / 0.5638 GB, free: 13.77 MB / 362.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.002247/0.6886, allocations: 0.6726 MB / 0.5644 GB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007944/0.6894, allocations: 233.1 kB / 0.5647 GB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/0.7001, allocations: 3.261 MB / 0.5678 GB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.7002, allocations: 24 kB / 0.5679 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.7002, allocations: 3.984 kB / 0.5679 GB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/0.7002, allocations: 7.969 kB / 0.5679 GB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/0.7161, allocations: 6.111 MB / 0.5738 GB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.7161, allocations: 4 kB / 0.5738 GB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003185/0.7193, allocations: 395.8 kB / 0.5742 GB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002482/0.7218, allocations: 485 kB / 0.5747 GB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/0.722, allocations: 63.47 kB / 0.5747 GB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.7351, allocations: 6.327 MB / 0.5809 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.7352, allocations: 4 kB / 0.5809 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/0.7511, allocations: 4.856 MB / 0.5857 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/0.7528, allocations: 0.5215 MB / 0.5862 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004827/0.7533, allocations: 63.98 kB / 0.5862 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/0.7557, allocations: 167.8 kB / 0.5864 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007276/0.7565, allocations: 201.7 kB / 0.5866 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000255/0.7567, allocations: 79.95 kB / 0.5867 GB, free: 5.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002861/0.7596, allocations: 1.073 MB / 0.5877 GB, free: 4.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7596, allocations: 0 / 0.5877 GB, free: 4.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004443/0.7641, allocations: 0.9169 MB / 0.5886 GB, free: 3.867 MB / 378.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.01773/0.7818, allocations: 6.49 MB / 0.595 GB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01556/0.7975, allocations: 4.942 MB / 0.5998 GB, free: 8.316 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.7975, allocations: 0 / 0.5998 GB, free: 8.316 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006079/0.8036, allocations: 1.876 MB / 0.6016 GB, free: 6.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/0.8066, allocations: 402.9 kB / 0.602 GB, free: 6.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05066/0.8573, allocations: 21.39 MB / 0.6229 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002222/0.8596, allocations: 1.791 MB / 0.6246 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002788/0.8624, allocations: 1.003 MB / 0.6256 GB, free: 12.53 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/0.8624, allocations: 0 / 0.6256 GB, free: 12.53 MB / 426.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=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/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 */ tmp295; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:506:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp296; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitializeParameter.cpp:507:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp297; ^ ./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/", tmp295); ~~~~~~~~~~ ^ ./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/", tmp296); ~~~~~~~~~~ ^ ./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/", tmp297); ~~~~~~~~~~ ^ 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 */ tmp105; ^ ./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/", tmp105); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:119:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp106; ^ ./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/", tmp106); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:122:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp107; ^ ./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/", tmp107); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3640:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp194; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3641:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp194); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3679:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp198; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3680:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp198); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3718:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp202; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldInitialize.cpp:3719:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp202); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorldCalcHelperMain.cpp:34: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_PowerWorld.cpp:3610:31: error: use of undeclared identifier 'tmp80' _city_P_data_P_fileName_ = (tmp80 + "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