Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.GGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.007143/0.007143, allocations: 170.5 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.499/1.499, allocations: 223.2 MB / 239 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001137, allocations: 97.83 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5788/0.5788, allocations: 78.52 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 12 kB / 499.8 MB, free: 2.637 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4816, allocations: 69.35 MB / 0.5558 GB, free: 38.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.6513, allocations: 123.6 MB / 0.6765 GB, free: 14.67 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.6516, allocations: 87.94 kB / 0.6766 GB, free: 14.58 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.16/0.8116, allocations: 60.82 MB / 0.736 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8117, allocations: 0 / 0.736 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001764/0.8118, allocations: 51.94 kB / 0.7361 GB, free: 1.457 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.00936/0.8212, allocations: 3.335 MB / 0.7393 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.8213, allocations: 8.031 kB / 0.7393 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007494/0.822, allocations: 223.5 kB / 0.7395 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/0.826, allocations: 0.6601 MB / 0.7402 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/0.8303, allocations: 1.664 MB / 0.7418 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005673/0.8309, allocations: 0.5206 MB / 0.7423 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004106/0.8313, allocations: 160 kB / 0.7425 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004581/0.8359, allocations: 2.217 MB / 0.7446 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.8359, allocations: 4 kB / 0.7446 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.8361, allocations: 60 kB / 0.7447 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.8362, allocations: 36 kB / 0.7447 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004575/0.8407, allocations: 2.072 MB / 0.7468 GB, free: 6.188 MB / 0.5417 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.01477/0.8555, allocations: 7.943 MB / 0.7545 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.8661, allocations: 4.084 MB / 0.7585 GB, free: 9.762 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.8664, allocations: 37.25 kB / 0.7585 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.8665, allocations: 59.81 kB / 0.7586 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=163): time 3.697e-06/0.8665, allocations: 0 / 0.7586 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=163): time 0.4058/1.272, allocations: 13.56 MB / 0.7718 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/1.273, allocations: 286 kB / 0.7721 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004034/1.277, allocations: 1.845 MB / 0.7739 GB, free: 124 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000606/1.277, allocations: 59.8 kB / 0.774 GB, free: 124 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008401/1.278, allocations: 0.9757 MB / 0.7749 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006456/1.279, allocations: 0.5736 MB / 0.7755 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/1.279, allocations: 41.53 kB / 0.7755 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.279, allocations: 381.4 kB / 0.7759 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/1.281, allocations: 1.179 MB / 0.777 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/1.284, allocations: 1.512 MB / 0.7785 GB, free: 123 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/1.287, allocations: 1.278 MB / 0.7798 GB, free: 123 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.287, allocations: 0 / 0.7798 GB, free: 123 MB / 0.5573 GB Notification: Performance of matching and sorting (n=255) (initialization): time 0.008292/1.295, allocations: 3.876 MB / 0.7835 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005749/1.296, allocations: 2.708 MB / 0.7862 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/1.296, allocations: 7.969 kB / 0.7862 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00938/1.305, allocations: 3.11 MB / 0.7892 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/1.307, allocations: 389.7 kB / 0.7896 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006609/1.314, allocations: 3.631 MB / 0.7932 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/1.317, allocations: 376.1 kB / 0.7935 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/1.317, allocations: 76.55 kB / 0.7936 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.317, allocations: 2.562 kB / 0.7936 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006916/1.324, allocations: 3.402 MB / 0.7969 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/1.324, allocations: 6.469 kB / 0.7969 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/1.334, allocations: 3.074 MB / 0.7999 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/1.336, allocations: 354.8 kB / 0.8003 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008257/1.345, allocations: 4.567 MB / 0.8047 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/1.348, allocations: 324.9 kB / 0.805 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004345/1.348, allocations: 73.27 kB / 0.8051 GB, free: 116.2 MB / 0.5573 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.001772/1.35, allocations: 0.4948 MB / 0.8056 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.351, allocations: 245.3 kB / 0.8058 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02042/1.372, allocations: 6.539 MB / 0.8122 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/1.372, allocations: 16.12 kB / 0.8122 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.372, allocations: 3.406 kB / 0.8122 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/1.372, allocations: 14.08 kB / 0.8122 GB, free: 115.5 MB / 0.5573 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.02557/1.397, allocations: 9.292 MB / 0.8213 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/1.397, allocations: 0 / 0.8213 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/1.399, allocations: 248.8 kB / 0.8215 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008213/1.407, allocations: 2.595 MB / 0.8241 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003845/1.408, allocations: 37.64 kB / 0.8241 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02789/1.436, allocations: 12.68 MB / 0.8365 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.436, allocations: 5.594 kB / 0.8365 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02272/1.458, allocations: 8.309 MB / 0.8446 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.46, allocations: 359.7 kB / 0.845 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/1.461, allocations: 46.52 kB / 0.845 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003019/1.464, allocations: 242.5 kB / 0.8452 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/1.465, allocations: 283.6 kB / 0.8455 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003696/1.466, allocations: 51.2 kB / 0.8456 GB, free: 104 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003598/1.469, allocations: 1.409 MB / 0.8469 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.11e-07/1.469, allocations: 0 / 0.8469 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005563/1.475, allocations: 1.043 MB / 0.8479 GB, free: 103.3 MB / 0.5573 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.022/1.497, allocations: 9.008 MB / 0.8567 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01725/1.514, allocations: 6.004 MB / 0.8626 GB, free: 95.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.514, allocations: 4.062 kB / 0.8626 GB, free: 95.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006914/1.521, allocations: 2.589 MB / 0.8651 GB, free: 93.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/1.524, allocations: 243.7 kB / 0.8654 GB, free: 92.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/1.539, allocations: 10.52 MB / 0.8756 GB, free: 82.83 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/1.541, allocations: 1.564 MB / 0.8772 GB, free: 81.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001761/1.542, allocations: 251.6 kB / 0.8774 GB, free: 81.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001796/1.544, allocations: 0.9377 MB / 0.8783 GB, free: 80.54 MB / 0.5573 GB Notification: Performance of SimCode: time 2.786e-06/1.544, allocations: 0 / 0.8783 GB, free: 80.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.645, allocations: 56.97 MB / 0.934 GB, free: 33.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/1.645, allocations: 187 kB / 0.9341 GB, free: 33.49 MB / 0.5573 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_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1_model.h:24: ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.o] Error 1