Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1DU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1DU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00819/0.00819, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.2 MB / 239 MB, free: 56 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 100.9 kB / 290.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5385/0.5385, allocations: 79.43 MB / 420.7 MB, free: 36.26 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003973, allocations: 15.98 kB / 0.4891 GB, free: 6.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1759, allocations: 69.51 MB / 0.557 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5196/0.6956, allocations: 124.5 MB / 0.6786 GB, free: 8.598 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.696, allocations: 90.11 kB / 0.6787 GB, free: 8.512 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1675/0.8634, allocations: 60 MB / 0.7373 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.747e-06/0.8635, allocations: 0 / 0.7373 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002116/0.8637, allocations: 48 kB / 0.7373 GB, free: 12.46 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 383 * Number of variables: 383 Notification: Performance of Generate backend data structure: time 0.01045/0.8742, allocations: 3.399 MB / 0.7407 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.05e-05/0.8743, allocations: 12.03 kB / 0.7407 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008356/0.8751, allocations: 223.6 kB / 0.7409 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005078/0.8802, allocations: 0.7733 MB / 0.7416 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/0.8854, allocations: 1.719 MB / 0.7433 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006002/0.8861, allocations: 0.5341 MB / 0.7438 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.8864, allocations: 163.8 kB / 0.744 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004651/0.8911, allocations: 2.261 MB / 0.7462 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.8911, allocations: 3.938 kB / 0.7462 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.8913, allocations: 64 kB / 0.7463 GB, free: 3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.8914, allocations: 36 kB / 0.7463 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004772/0.8961, allocations: 2.12 MB / 0.7484 GB, free: 0.8398 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01599/0.9121, allocations: 8.122 MB / 0.7563 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.9231, allocations: 4.13 MB / 0.7603 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000441/0.9236, allocations: 33.28 kB / 0.7604 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.243e-05/0.9237, allocations: 60.06 kB / 0.7604 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=165): time 5.5e-06/0.9237, allocations: 0 / 0.7604 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of matching and sorting (n=165): time 0.04506/0.9688, allocations: 12.3 MB / 0.7724 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/0.969, allocations: 304 kB / 0.7727 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004092/0.9731, allocations: 1.902 MB / 0.7746 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006307/0.9737, allocations: 69.64 kB / 0.7746 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008813/0.9746, allocations: 0.983 MB / 0.7756 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007879/0.9754, allocations: 0.5853 MB / 0.7762 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.9756, allocations: 40 kB / 0.7762 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.9758, allocations: 377.9 kB / 0.7766 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002804/0.9786, allocations: 1.207 MB / 0.7778 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/0.9817, allocations: 1.543 MB / 0.7793 GB, free: 492 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/0.9846, allocations: 1.298 MB / 0.7805 GB, free: 15.18 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.9847, allocations: 0 / 0.7805 GB, free: 15.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.009262/0.9939, allocations: 3.93 MB / 0.7844 GB, free: 11.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001249/0.9952, allocations: 2.707 MB / 0.787 GB, free: 8.273 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.9952, allocations: 4 kB / 0.787 GB, free: 8.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/1.006, allocations: 3.113 MB / 0.7901 GB, free: 5.145 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/1.008, allocations: 391.5 kB / 0.7904 GB, free: 4.762 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007468/1.015, allocations: 3.632 MB / 0.794 GB, free: 1.082 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/1.019, allocations: 389.9 kB / 0.7944 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002954/1.019, allocations: 73.11 kB / 0.7944 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.019, allocations: 8.625 kB / 0.7944 GB, free: 0.6211 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3801/1.399, allocations: 3.413 MB / 0.7978 GB, free: 128.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/1.399, allocations: 6.531 kB / 0.7978 GB, free: 128.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/1.41, allocations: 3.071 MB / 0.8008 GB, free: 128.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/1.412, allocations: 355.7 kB / 0.8011 GB, free: 128.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008534/1.42, allocations: 4.576 MB / 0.8056 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003779/1.424, allocations: 327.8 kB / 0.8059 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004162/1.425, allocations: 69.64 kB / 0.806 GB, free: 126.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 (gGOV1DU.gGOV1_Power.s7.local_reset,gGOV1DU.gGOV1_Power.s2.local_reset,gGOV1DU.gGOV1_Turb.s3.local_reset,gGOV1DU.gGOV1_Temp.s6.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,30 26} Notification: Performance of prepare postOptimizeDAE: time 0.001515/1.426, allocations: 0.5067 MB / 0.8064 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009428/1.427, allocations: 244.9 kB / 0.8067 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02153/1.449, allocations: 6.643 MB / 0.8132 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-05/1.449, allocations: 16.19 kB / 0.8132 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.449, allocations: 0 / 0.8132 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-05/1.449, allocations: 13.2 kB / 0.8132 GB, free: 126.3 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02646/1.475, allocations: 9.419 MB / 0.8224 GB, free: 125.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-05/1.475, allocations: 0.8125 kB / 0.8224 GB, free: 125.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/1.477, allocations: 254.7 kB / 0.8226 GB, free: 125.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008238/1.485, allocations: 2.602 MB / 0.8252 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005533/1.486, allocations: 40.86 kB / 0.8252 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03188/1.518, allocations: 12.67 MB / 0.8376 GB, free: 122.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.518, allocations: 1.062 kB / 0.8376 GB, free: 122.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03013/1.548, allocations: 8.402 MB / 0.8458 GB, free: 121.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.551, allocations: 378.8 kB / 0.8462 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001931/1.552, allocations: 39.64 kB / 0.8462 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003966/1.556, allocations: 251.8 kB / 0.8464 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001677/1.558, allocations: 288.2 kB / 0.8467 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004791/1.559, allocations: 46.12 kB / 0.8468 GB, free: 121.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005353/1.564, allocations: 1.469 MB / 0.8482 GB, free: 121 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.1e-07/1.564, allocations: 2.344 kB / 0.8482 GB, free: 121 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006571/1.571, allocations: 1.051 MB / 0.8492 GB, free: 120.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gGOV1DU.gGOV1_Temp.s6.y,gGOV1DU.gGOV1_Turb.s4.TF.x_scaled[1],gGOV1DU.gGOV1_Turb.s3.y,gGOV1DU.gGOV1_Turb.s5.state,gGOV1DU.gGOV1_Turb.s9.TF.x_scaled[1],gGOV1DU.gGOV1_Accel.s8.x,gGOV1DU.gGOV1_Power.s2.y,gGOV1DU.gGOV1_Power.s7.y,gGOV1DU.gGOV1_Power.s0.state,gGOV1DU.gGOV1_Power.s1.x,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 118 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02868/1.599, allocations: 9.11 MB / 0.8581 GB, free: 118.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0203/1.62, allocations: 6.068 MB / 0.864 GB, free: 116.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.62, allocations: 1.484 kB / 0.864 GB, free: 116.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008324/1.628, allocations: 2.607 MB / 0.8666 GB, free: 115.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/1.631, allocations: 245.7 kB / 0.8668 GB, free: 115.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.65, allocations: 10.62 MB / 0.8772 GB, free: 107.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/1.651, allocations: 1.582 MB / 0.8787 GB, free: 106.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001688/1.653, allocations: 253.6 kB / 0.879 GB, free: 106.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/1.654, allocations: 0.9525 MB / 0.8799 GB, free: 105.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.172e-06/1.654, allocations: 4 kB / 0.8799 GB, free: 105.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/1.758, allocations: 58.17 MB / 0.9367 GB, free: 72.29 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/1.758, allocations: 190.1 kB / 0.9369 GB, free: 72.05 MB / 0.573 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1DU.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1DU.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1DU.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1DU_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1DU.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1DU_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1DU_functions.h:153:1: error: unknown type name 'OpenIPSL_Types_ComplexPower' OpenIPSL_Types_ComplexPower omc_OpenIPSL_Types_ComplexPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 1 error generated. make: *** [: OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1DU.o] Error 1