Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",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.006124/0.006124, allocations: 171.1 kB / 15.11 MB, free: 5.969 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.65/1.65, 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.0008535/0.0008535, allocations: 94.84 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07336/0.07336, 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.4615/0.4615, allocations: 78.53 MB / 459.6 MB, free: 3.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005134, allocations: 21.75 kB / 0.528 GB, free: 35.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1492, allocations: 69.24 MB / 0.5956 GB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5266/0.6759, allocations: 111.2 MB / 0.7042 GB, free: 39.36 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.6762, allocations: 94.17 kB / 0.7043 GB, free: 39.36 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1054/0.7816, allocations: 39.98 MB / 0.7434 GB, free: 30.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.7817, allocations: 0 / 0.7434 GB, free: 30.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001517/0.7818, allocations: 26.91 kB / 0.7434 GB, free: 30.8 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.008339/0.7902, allocations: 2.434 MB / 0.7458 GB, free: 29.41 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.7903, allocations: 11.77 kB / 0.7458 GB, free: 29.4 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000763/0.791, allocations: 147.1 kB / 0.7459 GB, free: 29.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.7946, allocations: 0.5615 MB / 0.7465 GB, free: 29.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.7975, allocations: 0.9763 MB / 0.7474 GB, free: 28.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004859/0.798, allocations: 431 kB / 0.7478 GB, free: 28.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004636/0.7985, allocations: 101.5 kB / 0.7479 GB, free: 28.21 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/0.8019, allocations: 1.425 MB / 0.7493 GB, free: 27.83 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.802, allocations: 0 / 0.7493 GB, free: 27.83 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.8021, allocations: 36.56 kB / 0.7493 GB, free: 27.83 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.8022, allocations: 27.53 kB / 0.7494 GB, free: 27.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.805, allocations: 1.383 MB / 0.7507 GB, free: 27.61 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.008718/0.8138, allocations: 4.642 MB / 0.7553 GB, free: 25.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008189/0.822, allocations: 3.445 MB / 0.7586 GB, free: 23.92 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.8222, allocations: 31.84 kB / 0.7587 GB, free: 23.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002008/0.8242, allocations: 1.118 MB / 0.7597 GB, free: 23.56 MB / 474.7 MB Notification: Performance of pre-optimization done (n=124): time 3.857e-06/0.8242, allocations: 0 / 0.7597 GB, free: 23.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=124): time 0.04323/0.8675, allocations: 12.17 MB / 0.7716 GB, free: 19.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.8675, allocations: 115.4 kB / 0.7717 GB, free: 19.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.87, allocations: 1.147 MB / 0.7729 GB, free: 18.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003527/0.8704, allocations: 47.42 kB / 0.7729 GB, free: 18.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.8708, allocations: 0.5956 MB / 0.7735 GB, free: 18.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006356/0.8715, allocations: 440.2 kB / 0.7739 GB, free: 18.28 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.8717, allocations: 26.12 kB / 0.7739 GB, free: 18.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8718, allocations: 355.9 kB / 0.7743 GB, free: 17.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.8736, allocations: 0.823 MB / 0.7751 GB, free: 17.83 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.8754, allocations: 0.9902 MB / 0.776 GB, free: 17.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.8772, allocations: 0.8743 MB / 0.7769 GB, free: 16.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.8772, allocations: 7.984 kB / 0.7769 GB, free: 16.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005855/0.8831, allocations: 2.805 MB / 0.7796 GB, free: 14.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.8831, allocations: 19.25 kB / 0.7797 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8832, allocations: 4 kB / 0.7797 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009197/0.8924, allocations: 3.052 MB / 0.7826 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008737/0.8933, allocations: 179.7 kB / 0.7828 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.8991, allocations: 2.999 MB / 0.7857 GB, free: 9.445 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.9013, allocations: 248.8 kB / 0.786 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.9015, allocations: 46.92 kB / 0.786 GB, free: 9.184 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008098/0.9023, allocations: 275.2 kB / 0.7863 GB, free: 8.992 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/0.9029, allocations: 158 kB / 0.7864 GB, free: 8.836 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/0.9188, allocations: 5.869 MB / 0.7922 GB, free: 3.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.9189, allocations: 20 kB / 0.7922 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.9189, allocations: 0 / 0.7922 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.98e-05/0.9189, allocations: 7.969 kB / 0.7922 GB, free: 3.812 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 postOpt removeSimpleEquations (simulation): time 0.02087/0.9398, allocations: 7.863 MB / 0.7999 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.9399, allocations: 0 / 0.7999 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.9409, allocations: 139.8 kB / 0.8 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008/0.949, allocations: 2.501 MB / 0.8025 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003416/0.9494, allocations: 35.92 kB / 0.8025 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02762/0.977, allocations: 10.89 MB / 0.8131 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.977, allocations: 3.984 kB / 0.8131 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0203/0.9973, allocations: 7.032 MB / 0.82 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009419/0.9983, allocations: 270.8 kB / 0.8203 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005728/0.9989, allocations: 28 kB / 0.8203 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/1.001, allocations: 183.8 kB / 0.8205 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009222/1.002, allocations: 257.3 kB / 0.8207 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.002, allocations: 39.98 kB / 0.8207 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001983/1.004, allocations: 0.8978 MB / 0.8216 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/1.004, allocations: 0 / 0.8216 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001958/1.006, allocations: 491.3 kB / 0.8221 GB, free: 5.852 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01971/1.026, allocations: 7.798 MB / 0.8297 GB, free: 14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008199/1.034, allocations: 2.807 MB / 0.8324 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.034, allocations: 0 / 0.8324 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006315/1.04, allocations: 2.143 MB / 0.8345 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/1.042, allocations: 121 kB / 0.8347 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007876/1.05, allocations: 6.226 MB / 0.8407 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008889/1.05, allocations: 1.234 MB / 0.8419 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005779/1.051, allocations: 116.1 kB / 0.842 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007846/1.052, allocations: 0.5735 MB / 0.8426 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of SimCode: time 8.21e-07/1.052, allocations: 4 kB / 0.8426 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06558/1.117, allocations: 36 MB / 0.8778 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.118, allocations: 186 kB / 0.8779 GB, free: 12.51 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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_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_TGOV1.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_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_TGOV1.o] Error 1