Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.ES.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.01024/0.01024, allocations: 172.4 kB / 15.12 MB, free: 5.977 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.597/1.597, allocations: 223.2 MB / 239 MB, free: 1.789 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.0008808/0.0008805, allocations: 99.02 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5277/0.5277, allocations: 78.52 MB / 419.8 MB, free: 43.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004865, allocations: 12 kB / 499.8 MB, free: 2.629 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4488, allocations: 69.35 MB / 0.5558 GB, free: 38.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.5965, allocations: 109.8 MB / 0.6631 GB, free: 12.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5968, allocations: 95.94 kB / 0.6632 GB, free: 12.4 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1192/0.716, allocations: 41.46 MB / 0.7037 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7161, allocations: 7.938 kB / 0.7037 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.227e-05/0.7162, allocations: 32 kB / 0.7037 GB, free: 2.684 MB / 0.4948 GB 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.007215/0.7234, allocations: 2.447 MB / 0.7061 GB, free: 180 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.7235, allocations: 12.03 kB / 0.7061 GB, free: 168 kB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002791/0.7238, allocations: 147.8 kB / 0.7062 GB, free: 12 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/0.7267, allocations: 0.5522 MB / 0.7068 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.7288, allocations: 0.996 MB / 0.7077 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004766/0.7293, allocations: 428.5 kB / 0.7082 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.7295, allocations: 95.91 kB / 0.7082 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/0.7325, allocations: 1.455 MB / 0.7097 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.7325, allocations: 0 / 0.7097 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.7326, allocations: 43.98 kB / 0.7097 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.7327, allocations: 20 kB / 0.7097 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002957/0.7356, allocations: 1.398 MB / 0.7111 GB, free: 10.89 MB / 0.5105 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.008893/0.7445, allocations: 4.784 MB / 0.7158 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00907/0.7536, allocations: 3.42 MB / 0.7191 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.7539, allocations: 24.97 kB / 0.7191 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002438/0.7563, allocations: 1.112 MB / 0.7202 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 4.118e-06/0.7563, allocations: 4 kB / 0.7202 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.05005/0.8064, allocations: 12.48 MB / 0.7324 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.8066, allocations: 127.8 kB / 0.7325 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.809, allocations: 1.176 MB / 0.7337 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003875/0.8094, allocations: 45.7 kB / 0.7337 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/0.81, allocations: 0.6085 MB / 0.7343 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005495/0.8105, allocations: 437.7 kB / 0.7347 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.8106, allocations: 24 kB / 0.7348 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.8108, allocations: 353.9 kB / 0.7351 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.8127, allocations: 0.8303 MB / 0.7359 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.8146, allocations: 0.9916 MB / 0.7369 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.8165, allocations: 0.8849 MB / 0.7377 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.8165, allocations: 4 kB / 0.7377 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006397/0.8229, allocations: 2.829 MB / 0.7405 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.8229, allocations: 12 kB / 0.7405 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.823, allocations: 4 kB / 0.7405 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.8332, allocations: 3.239 MB / 0.7437 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009662/0.8342, allocations: 171.7 kB / 0.7438 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007307/0.8415, allocations: 3.166 MB / 0.7469 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/0.844, allocations: 254.8 kB / 0.7472 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.8442, allocations: 43.98 kB / 0.7472 GB, free: 5.32 MB / 0.5417 GB 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.0009066/0.8451, allocations: 277.7 kB / 0.7475 GB, free: 5.039 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004486/0.8456, allocations: 162 kB / 0.7476 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0177/0.8633, allocations: 5.87 MB / 0.7534 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.8633, allocations: 12 kB / 0.7534 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.8634, allocations: 0 / 0.7534 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-05/0.8634, allocations: 11.91 kB / 0.7534 GB, free: 14.96 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.02057/0.884, allocations: 7.818 MB / 0.761 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.8841, allocations: 4 kB / 0.761 GB, free: 7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009764/0.8851, allocations: 143.8 kB / 0.7612 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007908/0.893, allocations: 2.497 MB / 0.7636 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002847/0.8933, allocations: 31.98 kB / 0.7636 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3854/1.279, allocations: 10.87 MB / 0.7743 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.279, allocations: 0.9688 kB / 0.7743 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01979/1.299, allocations: 7.026 MB / 0.7811 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008697/1.3, allocations: 278.7 kB / 0.7814 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/1.3, allocations: 22.31 kB / 0.7814 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/1.301, allocations: 181 kB / 0.7816 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008995/1.302, allocations: 252.1 kB / 0.7818 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.302, allocations: 35.81 kB / 0.7819 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001427/1.304, allocations: 0.9326 MB / 0.7828 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3e-07/1.304, allocations: 0 / 0.7828 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001595/1.306, allocations: 492.7 kB / 0.7832 GB, free: 137.5 MB / 0.5573 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.01897/1.325, allocations: 7.799 MB / 0.7909 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008516/1.333, allocations: 2.835 MB / 0.7936 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.333, allocations: 0 / 0.7936 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007926/1.341, allocations: 2.144 MB / 0.7957 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/1.343, allocations: 115.5 kB / 0.7958 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008075/1.351, allocations: 6.251 MB / 0.8019 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009205/1.352, allocations: 1.239 MB / 0.8031 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005882/1.352, allocations: 120.4 kB / 0.8033 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007489/1.353, allocations: 0.5736 MB / 0.8038 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.573e-06/1.353, allocations: 0 / 0.8038 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06987/1.423, allocations: 36.64 MB / 0.8396 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/1.423, allocations: 186.8 kB / 0.8398 GB, free: 128.8 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_ES_SEXS.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_model.h:24: ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.o] Error 1