Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",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.006079/0.006079, allocations: 170.4 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.619/1.619, allocations: 205.4 MB / 221.2 MB, free: 13.81 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.0008514/0.0008514, allocations: 78.89 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.07424/0.07424, allocations: 12.2 MB / 330 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.4753/0.4753, allocations: 78.53 MB / 459.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005036, allocations: 18.75 kB / 0.528 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1398, allocations: 69.24 MB / 0.5956 GB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.496/0.6358, allocations: 111.3 MB / 0.7043 GB, free: 39.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.6361, allocations: 93.42 kB / 0.7044 GB, free: 39.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1039/0.7401, allocations: 40.42 MB / 0.7439 GB, free: 30.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7401, allocations: 0 / 0.7439 GB, free: 30.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001579/0.7403, allocations: 31.38 kB / 0.7439 GB, free: 30.56 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.008123/0.7484, allocations: 2.465 MB / 0.7463 GB, free: 29.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.7485, allocations: 11.77 kB / 0.7464 GB, free: 29.14 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006914/0.7492, allocations: 149.8 kB / 0.7465 GB, free: 29.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.7528, allocations: 0.5514 MB / 0.747 GB, free: 28.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.7555, allocations: 0.9959 MB / 0.748 GB, free: 28.31 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004328/0.756, allocations: 431.1 kB / 0.7484 GB, free: 27.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000365/0.7564, allocations: 95.91 kB / 0.7485 GB, free: 27.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/0.7595, allocations: 1.452 MB / 0.7499 GB, free: 27.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.7595, allocations: 0 / 0.7499 GB, free: 27.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.7597, allocations: 34.88 kB / 0.75 GB, free: 27.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.7597, allocations: 23.44 kB / 0.75 GB, free: 27.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.7626, allocations: 1.404 MB / 0.7514 GB, free: 27.33 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.00901/0.7716, allocations: 4.789 MB / 0.756 GB, free: 24.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007838/0.7794, allocations: 3.414 MB / 0.7594 GB, free: 23.53 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.7796, allocations: 24.48 kB / 0.7594 GB, free: 23.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001989/0.7816, allocations: 1.121 MB / 0.7605 GB, free: 23.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=122): time 5.35e-06/0.7816, allocations: 0 / 0.7605 GB, free: 23.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.04173/0.8234, allocations: 12.48 MB / 0.7727 GB, free: 18.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.8235, allocations: 119.5 kB / 0.7728 GB, free: 18.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/0.8261, allocations: 1.187 MB / 0.7739 GB, free: 18.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002451/0.8264, allocations: 47.14 kB / 0.774 GB, free: 18.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.8268, allocations: 0.6073 MB / 0.7746 GB, free: 18.03 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005418/0.8274, allocations: 434.8 kB / 0.775 GB, free: 17.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.8275, allocations: 25.25 kB / 0.775 GB, free: 17.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8277, allocations: 351 kB / 0.7754 GB, free: 17.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.8293, allocations: 0.8347 MB / 0.7762 GB, free: 17.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.8311, allocations: 0.9885 MB / 0.7771 GB, free: 16.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.8328, allocations: 0.8849 MB / 0.778 GB, free: 15.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.8328, allocations: 4 kB / 0.778 GB, free: 15.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005518/0.8383, allocations: 2.837 MB / 0.7808 GB, free: 13.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.8384, allocations: 8 kB / 0.7808 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.8384, allocations: 4 kB / 0.7808 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008903/0.8473, allocations: 3.228 MB / 0.7839 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006963/0.848, allocations: 166.8 kB / 0.7841 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006196/0.8542, allocations: 3.171 MB / 0.7872 GB, free: 8.199 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.8564, allocations: 256.3 kB / 0.7874 GB, free: 7.965 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.8566, allocations: 46.48 kB / 0.7875 GB, free: 7.93 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 (93): * Single equations (assignments): 92 * 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 {33 32} Notification: Performance of prepare postOptimizeDAE: time 0.0007838/0.8574, allocations: 275.1 kB / 0.7878 GB, free: 7.742 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/0.8579, allocations: 158 kB / 0.7879 GB, free: 7.586 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/0.8734, allocations: 5.88 MB / 0.7936 GB, free: 2.582 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.8735, allocations: 12 kB / 0.7937 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.8735, allocations: 0 / 0.7937 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-05/0.8736, allocations: 11.94 kB / 0.7937 GB, free: 2.559 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.0223/0.8959, allocations: 7.819 MB / 0.8013 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.8959, allocations: 4 kB / 0.8013 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.8971, allocations: 135.8 kB / 0.8014 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008297/0.9054, allocations: 2.505 MB / 0.8039 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003316/0.9058, allocations: 27.98 kB / 0.8039 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02771/0.9335, allocations: 10.88 MB / 0.8145 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.9336, allocations: 4 kB / 0.8145 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/0.9536, allocations: 7.035 MB / 0.8214 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008742/0.9545, allocations: 274.8 kB / 0.8217 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005628/0.9551, allocations: 20 kB / 0.8217 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/0.9572, allocations: 179.8 kB / 0.8219 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/0.9583, allocations: 253 kB / 0.8221 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.9585, allocations: 39.98 kB / 0.8221 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002281/0.9607, allocations: 0.9262 MB / 0.823 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-07/0.9608, allocations: 0 / 0.823 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002239/0.963, allocations: 495.3 kB / 0.8235 GB, free: 4.383 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,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * 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.02122/0.9842, allocations: 7.788 MB / 0.8311 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009222/0.9935, allocations: 2.83 MB / 0.8339 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.9936, allocations: 0 / 0.8339 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006718/1, allocations: 2.154 MB / 0.836 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/1.002, allocations: 117.1 kB / 0.8361 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009677/1.012, allocations: 6.258 MB / 0.8422 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.013, allocations: 1.238 MB / 0.8434 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007105/1.014, allocations: 120.3 kB / 0.8435 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009669/1.015, allocations: 0.5734 MB / 0.8441 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of SimCode: time 4.959e-06/1.015, allocations: 0 / 0.8441 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07197/1.087, allocations: 36.64 MB / 0.8799 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/1.087, allocations: 194.7 kB / 0.8801 GB, free: 10.33 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_ES_SEXS.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_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_ES_SEXS.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_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_ES_SEXS.o] Error 1