Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.EXNI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",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.01151/0.01151, allocations: 169.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.588/1.588, 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.0009609/0.0009608, allocations: 92.41 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5265/0.5265, allocations: 79.44 MB / 420.7 MB, free: 43.63 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 8 kB / 0.4891 GB, free: 1.918 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4435, allocations: 69.5 MB / 0.557 GB, free: 38.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.6003, allocations: 111 MB / 0.6654 GB, free: 10.55 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.6007, allocations: 97.44 kB / 0.6655 GB, free: 10.46 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1176/0.7183, allocations: 40.19 MB / 0.7047 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7184, allocations: 4 kB / 0.7047 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001673/0.7186, allocations: 31.94 kB / 0.7048 GB, free: 2.012 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.008855/0.7274, allocations: 2.475 MB / 0.7072 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.7275, allocations: 12.03 kB / 0.7072 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006137/0.7281, allocations: 160.3 kB / 0.7073 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004493/0.7326, allocations: 0.7276 MB / 0.7081 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.7355, allocations: 1.049 MB / 0.7091 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005602/0.7361, allocations: 462.4 kB / 0.7095 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004207/0.7365, allocations: 107.9 kB / 0.7096 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003884/0.7404, allocations: 1.529 MB / 0.7111 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.7405, allocations: 0 / 0.7111 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.7407, allocations: 40 kB / 0.7112 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.7407, allocations: 28 kB / 0.7112 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003556/0.7443, allocations: 1.448 MB / 0.7126 GB, free: 9.773 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.01247/0.7567, allocations: 5.039 MB / 0.7175 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009552/0.7663, allocations: 3.581 MB / 0.721 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.7666, allocations: 24.97 kB / 0.721 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.7667, allocations: 51.56 kB / 0.7211 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=127): time 4.328e-06/0.7667, allocations: 0 / 0.7211 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127): time 0.04461/0.8113, allocations: 11.66 MB / 0.7325 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.8115, allocations: 141.5 kB / 0.7326 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003615/0.8151, allocations: 1.201 MB / 0.7338 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006348/0.8158, allocations: 49.7 kB / 0.7338 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008401/0.8167, allocations: 0.632 MB / 0.7344 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.8178, allocations: 461.3 kB / 0.7349 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/0.8182, allocations: 27.94 kB / 0.7349 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002759/0.8185, allocations: 357.9 kB / 0.7353 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/0.821, allocations: 0.8589 MB / 0.7361 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002725/0.8237, allocations: 1.035 MB / 0.7371 GB, free: 132 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/0.8266, allocations: 0.9122 MB / 0.738 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.8266, allocations: 4 kB / 0.738 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.009235/0.8359, allocations: 2.993 MB / 0.7409 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001098/0.837, allocations: 1.443 MB / 0.7423 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.8371, allocations: 8 kB / 0.7423 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/0.8487, allocations: 3.407 MB / 0.7457 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009262/0.8496, allocations: 159.8 kB / 0.7458 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00849/0.8581, allocations: 3.376 MB / 0.7491 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/0.8608, allocations: 238.7 kB / 0.7493 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/0.861, allocations: 59.97 kB / 0.7494 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.8611, allocations: 4 kB / 0.7494 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006737/0.8678, allocations: 2.779 MB / 0.7521 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.8679, allocations: 0 / 0.7521 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/0.8792, allocations: 3.38 MB / 0.7554 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009454/0.8802, allocations: 155.8 kB / 0.7556 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008388/0.8886, allocations: 3.325 MB / 0.7588 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.8911, allocations: 230.8 kB / 0.759 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.8914, allocations: 51.98 kB / 0.7591 GB, free: 9.395 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (eXNI.booleanConstant.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {34 45} Notification: Performance of prepare postOptimizeDAE: time 0.001158/0.8926, allocations: 352.9 kB / 0.7594 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007797/0.8934, allocations: 162 kB / 0.7596 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01939/0.9128, allocations: 6.008 MB / 0.7654 GB, free: 2.852 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/0.9129, allocations: 12 kB / 0.7655 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.9129, allocations: 4 kB / 0.7655 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-05/0.913, allocations: 11.97 kB / 0.7655 GB, free: 2.824 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.402/1.315, allocations: 8.14 MB / 0.7734 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.315, allocations: 0 / 0.7734 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009639/1.316, allocations: 150.4 kB / 0.7736 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007568/1.324, allocations: 2.583 MB / 0.7761 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/1.324, allocations: 28.78 kB / 0.7761 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02739/1.351, allocations: 12.62 MB / 0.7884 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.351, allocations: 0 / 0.7884 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01987/1.371, allocations: 7.262 MB / 0.7955 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008208/1.372, allocations: 284.5 kB / 0.7958 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/1.372, allocations: 23.56 kB / 0.7958 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/1.374, allocations: 167.2 kB / 0.796 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/1.375, allocations: 268.1 kB / 0.7962 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/1.376, allocations: 29.25 kB / 0.7963 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001556/1.377, allocations: 0.9401 MB / 0.7972 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.21e-07/1.377, allocations: 3.094 kB / 0.7972 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002389/1.38, allocations: 0.7773 MB / 0.7979 GB, free: 132.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,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 (80): * 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: 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 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02126/1.401, allocations: 8.029 MB / 0.8058 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01578/1.417, allocations: 4.878 MB / 0.8106 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/1.417, allocations: 1.969 kB / 0.8106 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006891/1.424, allocations: 2.297 MB / 0.8128 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/1.425, allocations: 133.1 kB / 0.8129 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009539/1.435, allocations: 6.737 MB / 0.8195 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000872/1.436, allocations: 1.256 MB / 0.8207 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008891/1.437, allocations: 123.4 kB / 0.8208 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008541/1.438, allocations: 0.5889 MB / 0.8214 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.493e-06/1.438, allocations: 0 / 0.8214 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07149/1.509, allocations: 44.48 MB / 0.8649 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/1.509, allocations: 192.2 kB / 0.865 GB, free: 106.6 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_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.o] Error 1