Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.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/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1",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.006419/0.006419, allocations: 170.9 kB / 15.11 MB, free: 5.973 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.532/1.532, allocations: 205.4 MB / 221.3 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.0008346/0.0008344, allocations: 90.88 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07833/0.07833, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5143/0.5143, allocations: 78.52 MB / 459.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000519/0.000519, allocations: 18.66 kB / 0.528 GB, free: 35.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.15, allocations: 69.24 MB / 0.5956 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.496/0.646, allocations: 125.3 MB / 0.718 GB, free: 32.81 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.6463, allocations: 91.17 kB / 0.7181 GB, free: 32.81 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1371/0.7834, allocations: 59.57 MB / 0.7762 GB, free: 13.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.7834, allocations: 0 / 0.7762 GB, free: 13.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001509/0.7836, allocations: 48.81 kB / 0.7763 GB, free: 13.11 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.008078/0.7917, allocations: 3.358 MB / 0.7796 GB, free: 10.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.7917, allocations: 15.98 kB / 0.7796 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000544/0.7923, allocations: 221 kB / 0.7798 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.7955, allocations: 0.6687 MB / 0.7804 GB, free: 9.723 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/0.799, allocations: 1.676 MB / 0.7821 GB, free: 8.438 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004052/0.7994, allocations: 0.5223 MB / 0.7826 GB, free: 7.891 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.7997, allocations: 169.2 kB / 0.7827 GB, free: 7.777 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003958/0.8037, allocations: 2.216 MB / 0.7849 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.8037, allocations: 3.938 kB / 0.7849 GB, free: 6.141 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.8039, allocations: 61.38 kB / 0.785 GB, free: 6.125 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.8039, allocations: 36 kB / 0.785 GB, free: 6.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003969/0.8079, allocations: 2.068 MB / 0.787 GB, free: 4.648 MB / 474.7 MB 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.01269/0.8206, allocations: 7.957 MB / 0.7948 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.8306, allocations: 4.083 MB / 0.7988 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.8309, allocations: 32.16 kB / 0.7988 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.8309, allocations: 55.38 kB / 0.7989 GB, free: 10.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 2.675e-06/0.8309, allocations: 0 / 0.7989 GB, free: 10.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.04832/0.8792, allocations: 13.58 MB / 0.8121 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.8794, allocations: 274.3 kB / 0.8124 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003778/0.8832, allocations: 1.855 MB / 0.8142 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004952/0.8837, allocations: 57.7 kB / 0.8143 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009062/0.8847, allocations: 0.9868 MB / 0.8152 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007329/0.8854, allocations: 0.5777 MB / 0.8158 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.8855, allocations: 36 kB / 0.8158 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.8857, allocations: 381.9 kB / 0.8162 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/0.8884, allocations: 1.179 MB / 0.8173 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002982/0.8914, allocations: 1.507 MB / 0.8188 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/0.8941, allocations: 1.281 MB / 0.8201 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.8941, allocations: 4 kB / 0.8201 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of matching and sorting (n=255) (initialization): time 0.008484/0.9026, allocations: 3.883 MB / 0.8239 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001245/0.9038, allocations: 2.701 MB / 0.8265 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.9039, allocations: 8 kB / 0.8265 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009639/0.9135, allocations: 3.113 MB / 0.8295 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.9154, allocations: 391.4 kB / 0.8299 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007116/0.9225, allocations: 3.626 MB / 0.8335 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/0.9258, allocations: 378 kB / 0.8338 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/0.9261, allocations: 71.98 kB / 0.8339 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.9261, allocations: 4 kB / 0.8339 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007348/0.9335, allocations: 3.404 MB / 0.8372 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.9335, allocations: 8 kB / 0.8372 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009503/0.943, allocations: 3.074 MB / 0.8402 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.9448, allocations: 355.5 kB / 0.8406 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008469/0.9533, allocations: 4.583 MB / 0.845 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/0.9566, allocations: 322.3 kB / 0.8453 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.9568, allocations: 71.98 kB / 0.8454 GB, free: 11.38 MB / 0.5261 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 (gGOV1.gGOV1_Power.s7.local_reset,gGOV1.gGOV1_Power.s2.local_reset,gGOV1.gGOV1_Turb.s3.local_reset,gGOV1.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 (198): * Single equations (assignments): 196 * 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.001409/0.9582, allocations: 0.4928 MB / 0.8459 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/0.9589, allocations: 248.9 kB / 0.8461 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/0.9772, allocations: 6.54 MB / 0.8525 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.9773, allocations: 20 kB / 0.8525 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9773, allocations: 0 / 0.8525 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.134e-05/0.9773, allocations: 11.92 kB / 0.8525 GB, free: 4.035 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 postOpt removeSimpleEquations (simulation): time 0.02343/1.001, allocations: 9.305 MB / 0.8616 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/1.001, allocations: 0 / 0.8616 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/1.003, allocations: 243.7 kB / 0.8619 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008379/1.011, allocations: 2.6 MB / 0.8644 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004416/1.011, allocations: 39.98 kB / 0.8644 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02793/1.039, allocations: 12.67 MB / 0.8768 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.039, allocations: 4 kB / 0.8768 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02276/1.062, allocations: 8.308 MB / 0.8849 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/1.064, allocations: 369.8 kB / 0.8853 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005183/1.064, allocations: 36 kB / 0.8853 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/1.066, allocations: 243.8 kB / 0.8856 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000924/1.067, allocations: 285.2 kB / 0.8858 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.067, allocations: 47.98 kB / 0.8859 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002665/1.07, allocations: 1.424 MB / 0.8873 GB, free: 15.97 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.07, allocations: 0 / 0.8873 GB, free: 15.97 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00298/1.073, allocations: 1.033 MB / 0.8883 GB, free: 14.93 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,gGOV1.gGOV1_Temp.s6.y,gGOV1.gGOV1_Turb.s4.TF.x_scaled[1],gGOV1.gGOV1_Turb.s3.y,gGOV1.gGOV1_Turb.s5.state,gGOV1.gGOV1_Turb.s9.TF.x_scaled[1],gGOV1.gGOV1_Accel.s8.x,gGOV1.gGOV1_Power.s2.y,gGOV1.gGOV1_Power.s7.y,gGOV1.gGOV1_Power.s0.state,gGOV1.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 (118): * Single equations (assignments): 116 * 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.02261/1.096, allocations: 9.017 MB / 0.8971 GB, free: 5.871 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01736/1.113, allocations: 5.999 MB / 0.9029 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/1.113, allocations: 4.062 kB / 0.9029 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007077/1.12, allocations: 2.583 MB / 0.9055 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/1.122, allocations: 243.6 kB / 0.9057 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/1.136, allocations: 10.55 MB / 0.916 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.137, allocations: 1.566 MB / 0.9175 GB, free: 0.5664 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001359/1.138, allocations: 249.4 kB / 0.9178 GB, free: 324 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3303/1.469, allocations: 0.9424 MB / 0.9187 GB, free: 166.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.182e-06/1.469, allocations: 0 / 0.9187 GB, free: 166.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/1.578, allocations: 57.14 MB / 0.9745 GB, free: 161.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/1.578, allocations: 195.2 kB / 0.9747 GB, free: 161.4 MB / 0.5886 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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.o] Error 1