Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.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.AC3ph.Drives.ASMav_icontrol,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol",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.001577/0.001576, allocations: 190.7 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.949/1.949, 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.001106/0.001106, allocations: 98.84 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2609/0.2609, allocations: 38.05 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004484, allocations: 8 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 56.34 MB / 479.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.012/0.1212, allocations: 7.155 MB / 486.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.1329, allocations: 4.972 MB / 491.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.1342, allocations: 51.69 kB / 491.3 MB, free: 5.723 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007586/0.1418, allocations: 1.922 MB / 493.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.1439, allocations: 442.6 kB / 493.7 MB, free: 3.359 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.1459, allocations: 466.4 kB / 494.1 MB, free: 2.906 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00215/0.1481, allocations: 0.9408 MB / 495.1 MB, free: 1.965 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002062/0.1502, allocations: 1.042 MB / 496.1 MB, free: 0.875 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.1514, allocations: 0.5137 MB / 496.6 MB, free: 368 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.1527, allocations: 0.5954 MB / 497.2 MB, free: 15.76 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.153, allocations: 56 kB / 497.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.1535, allocations: 107.9 kB / 497.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006242/0.1541, allocations: 410.8 kB / 497.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.1545, allocations: 257 kB / 498 MB, free: 14.94 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.1568, allocations: 1.465 MB / 499.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1568, allocations: 3.938 kB / 499.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1568, allocations: 0 / 499.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.705e-05/0.1569, allocations: 4 kB / 499.5 MB, free: 13.46 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: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.005407/0.1623, allocations: 1.471 MB / 0.4892 GB, free: 11.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1623, allocations: 11.97 kB / 0.4892 GB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003505/0.1627, allocations: 143.7 kB / 0.4894 GB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006706/0.1634, allocations: 150.2 kB / 0.4895 GB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/0.167, allocations: 1.027 MB / 0.4905 GB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.056e-05/0.1672, allocations: 70 kB / 0.4906 GB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/0.1675, allocations: 103.8 kB / 0.4907 GB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003437/0.1709, allocations: 1.32 MB / 0.492 GB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/0.171, allocations: 4 kB / 0.492 GB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.1712, allocations: 36 kB / 0.492 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005808/0.1718, allocations: 93.92 kB / 0.4921 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003326/0.1751, allocations: 1.144 MB / 0.4932 GB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/0.1874, allocations: 4.959 MB / 0.4981 GB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/0.1899, allocations: 0.9435 MB / 0.499 GB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1901, allocations: 16.7 kB / 0.499 GB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/0.1917, allocations: 0.6177 MB / 0.4996 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of pre-optimization done (n=79): time 3.457e-06/0.1917, allocations: 3.938 kB / 0.4996 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of matching and sorting (n=81): time 0.01555/0.2073, allocations: 4.376 MB / 0.5039 GB, free: 12.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.2074, allocations: 162.9 kB / 0.504 GB, free: 12.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.2092, allocations: 0.8453 MB / 0.5049 GB, free: 11.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000219/0.2094, allocations: 45.7 kB / 0.5049 GB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/0.2099, allocations: 0.5136 MB / 0.5054 GB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.2104, allocations: 287.8 kB / 0.5057 GB, free: 10.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.843e-05/0.2105, allocations: 20 kB / 0.5057 GB, free: 10.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.2107, allocations: 350.8 kB / 0.506 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.2121, allocations: 481.7 kB / 0.5065 GB, free: 9.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.2137, allocations: 0.713 MB / 0.5072 GB, free: 8.809 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.2153, allocations: 0.573 MB / 0.5078 GB, free: 8.238 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.2153, allocations: 4 kB / 0.5078 GB, free: 8.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01623/0.2316, allocations: 2.961 MB / 0.5106 GB, free: 5.223 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001219/0.2328, allocations: 2.623 MB / 0.5132 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.2329, allocations: 4 kB / 0.5132 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01657/0.2495, allocations: 1.952 MB / 0.5151 GB, free: 432 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.2506, allocations: 131.8 kB / 0.5152 GB, free: 300 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3302/0.5808, allocations: 13.41 MB / 0.5283 GB, free: 44.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.5823, allocations: 57.75 kB / 0.5284 GB, free: 44.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.5824, allocations: 47.34 kB / 0.5284 GB, free: 44.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.5825, allocations: 7.859 kB / 0.5284 GB, free: 44.43 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01483/0.5973, allocations: 2.803 MB / 0.5312 GB, free: 43.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/0.5974, allocations: 6.594 kB / 0.5312 GB, free: 43.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01514/0.6125, allocations: 1.871 MB / 0.533 GB, free: 43.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.6136, allocations: 139.1 kB / 0.5332 GB, free: 43.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02969/0.6433, allocations: 13.09 MB / 0.5459 GB, free: 33.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.6444, allocations: 55.95 kB / 0.546 GB, free: 33.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.6446, allocations: 43.98 kB / 0.546 GB, free: 33.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,$whenCondition1,PI_i_q.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 1 {9 40} Notification: Performance of prepare postOptimizeDAE: time 0.0008309/0.6454, allocations: 448.3 kB / 0.5465 GB, free: 32.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.6457, allocations: 106.6 kB / 0.5466 GB, free: 32.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/0.6501, allocations: 1.755 MB / 0.5483 GB, free: 30.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.6501, allocations: 10.62 kB / 0.5483 GB, free: 30.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6502, allocations: 4 kB / 0.5483 GB, free: 30.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.6502, allocations: 3.984 kB / 0.5483 GB, free: 30.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006783/0.657, allocations: 3.005 MB / 0.5512 GB, free: 27.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.657, allocations: 0 / 0.5512 GB, free: 27.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/0.6588, allocations: 167.8 kB / 0.5514 GB, free: 27.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002319/0.6611, allocations: 417.5 kB / 0.5518 GB, free: 27.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.6613, allocations: 23.98 kB / 0.5518 GB, free: 27.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007836/0.6691, allocations: 7.773 MB / 0.5594 GB, free: 18.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6692, allocations: 4.312 kB / 0.5594 GB, free: 18.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005621/0.6748, allocations: 2.438 MB / 0.5618 GB, free: 16.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/0.6755, allocations: 278.6 kB / 0.562 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.6757, allocations: 24 kB / 0.5621 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.6768, allocations: 47.95 kB / 0.5621 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.6771, allocations: 72.83 kB / 0.5622 GB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.6772, allocations: 35.98 kB / 0.5622 GB, free: 15.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009689/0.6782, allocations: 0.5661 MB / 0.5628 GB, free: 15.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6782, allocations: 4 kB / 0.5628 GB, free: 15.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002839/0.6811, allocations: 0.5539 MB / 0.5633 GB, free: 14.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (asm_ctrl.rotor.phi,asm_ctrl.rotor.w,asm_ctrl.motor.i[3],asm_ctrl.motor.psi_s[1],asm_ctrl.motor.psi_s[2],asm_ctrl.motor.psi_rd[1],asm_ctrl.motor.psi_rd[2],asm_ctrl.motor.psi_rq[1],asm_ctrl.motor.psi_rq[2],asm_ctrl.motor.phiRotorflux,tabLoad.s,PI_i_q.I.y) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006788/0.6879, allocations: 3.497 MB / 0.5667 GB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009811/0.6977, allocations: 3.441 MB / 0.5701 GB, free: 7.469 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6978, allocations: 0 / 0.5701 GB, free: 7.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002746/0.7006, allocations: 1.266 MB / 0.5713 GB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.7023, allocations: 243 kB / 0.5716 GB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03364/0.7359, allocations: 14.36 MB / 0.5856 GB, free: 7.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.7374, allocations: 1.269 MB / 0.5868 GB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/0.7387, allocations: 439.3 kB / 0.5872 GB, free: 5.426 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7387, allocations: 0 / 0.5872 GB, free: 5.426 MB / 378.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_AC3ph_Drives_ASMav_icontrolCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolCalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolInitializeParameter.cpp:251:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp121; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolInitializeParameter.cpp:252:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Resources/Tables/", tmp121); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolCalcHelperMain.cpp:31: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolInitialize.cpp:128:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolInitialize.cpp:129:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Resources/Tables/", tmp30); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolInitialize.cpp:1402:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp42; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolInitialize.cpp:1403:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp42); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolCalcHelperMain.cpp:32: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolJacobian.cpp:230:24: error: use of undeclared identifier '__HOM_LAMBDA_' _NLSJac1jac_y(0) = ((__HOM_LAMBDA_ * tmp128) + (((1.0 - __HOM_LAMBDA_) * _NLSJac1jac_tmp(36)) - _NLSJac1jac_tmp(35))); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolJacobian.cpp:230:59: error: use of undeclared identifier '__HOM_LAMBDA_' _NLSJac1jac_y(0) = ((__HOM_LAMBDA_ * tmp128) + (((1.0 - __HOM_LAMBDA_) * _NLSJac1jac_tmp(36)) - _NLSJac1jac_tmp(35))); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolJacobian.cpp:309:49: error: use of undeclared identifier 'asm_ctrl_P_motor_P_psi_rq_P_SeedNLSJac1_' _NLSJac1jac_y(4) = (dot_array(tmp134, asm_ctrl_P_motor_P_psi_rq_P_SeedNLSJac1_) + (dot_array(tmp144, tmp145) + ((2.0 * ((_asm_ctrl_P_motor_P_w_el_ - __zDot[2]) * ((__z[3] * _NLSJac1jac_x(6)) + ((__z[4] * _NLSJac1jac_tmp(20)) + ((__z[5] * _NLSJac1jac_tmp(29)) + (__z[6] * _NLSJac1jac_x(5))))))) + (((_NLSJac1jac_x(7) - _NLSJac1jac_x(8)) * (1e-15 + (std::pow(__z[3], 2.0) + (std::pow(__z[4], 2.0) + (std::pow(__z[5], 2.0) + std::pow(__z[6], 2.0)))))) + ((-dot_array(tmp149, tmp150)) - dot_array(tmp160, tmp161)))))); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolJacobian.cpp:596:49: error: use of undeclared identifier 'asm_ctrl_P_motor_P_psi_rq_P_SeedNLSJac4_' _NLSJac4jac_y(6) = (dot_array(tmp172, asm_ctrl_P_motor_P_psi_rq_P_SeedNLSJac4_) + (dot_array(tmp182, tmp183) + ((2.0 * ((_asm_ctrl_P_motor_P_w_el_ - __zDot[2]) * ((__z[3] * _NLSJac4jac_x(6)) + ((__z[4] * _NLSJac4jac_tmp(16)) + ((__z[5] * _NLSJac4jac_tmp(26)) + (__z[6] * _NLSJac4jac_x(5))))))) + (((_NLSJac4jac_x(7) - _NLSJac4jac_x(8)) * (1e-15 + (std::pow(__z[3], 2.0) + (std::pow(__z[4], 2.0) + (std::pow(__z[5], 2.0) + std::pow(__z[6], 2.0)))))) + ((-dot_array(tmp187, tmp188)) - dot_array(tmp198, tmp199)))))); ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolCalcHelperMain.cpp:34: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol.cpp:1948:27: error: use of undeclared identifier 'tmp20' _tabLoad_P_fileName_ = (tmp20 + "hNormProfile.tab"); ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 11 errors generated. : recipe for target 'OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolCalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrolCalcHelperMain.o] Error 1