Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.EXNI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.00609/0.00609, allocations: 172 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.496/1.496, allocations: 205.4 MB / 221.3 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.0009072/0.0009072, allocations: 82.88 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07398/0.07398, 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.4558/0.4558, allocations: 78.52 MB / 459.6 MB, free: 3.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005164, allocations: 20.33 kB / 0.528 GB, free: 35.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1531, allocations: 69.24 MB / 0.5956 GB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4967/0.6499, allocations: 111.9 MB / 0.7049 GB, free: 33.01 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.6503, allocations: 93.61 kB / 0.705 GB, free: 33.01 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1074/0.7577, allocations: 41.33 MB / 0.7453 GB, free: 25.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.7578, allocations: 0 / 0.7453 GB, free: 25.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001486/0.7579, allocations: 31.12 kB / 0.7454 GB, free: 25.18 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.008167/0.7661, allocations: 2.462 MB / 0.7478 GB, free: 23.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.7662, allocations: 15.64 kB / 0.7478 GB, free: 23.77 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003173/0.7665, allocations: 162.5 kB / 0.7479 GB, free: 23.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/0.7699, allocations: 0.561 MB / 0.7485 GB, free: 23.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.7719, allocations: 1.001 MB / 0.7495 GB, free: 22.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004098/0.7723, allocations: 462.5 kB / 0.7499 GB, free: 22.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.7725, allocations: 106.9 kB / 0.75 GB, free: 22.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/0.7751, allocations: 1.519 MB / 0.7515 GB, free: 22.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.7751, allocations: 0 / 0.7515 GB, free: 22.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.7753, allocations: 44.44 kB / 0.7515 GB, free: 22.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.7753, allocations: 23.38 kB / 0.7516 GB, free: 22.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.7779, allocations: 1.451 MB / 0.753 GB, free: 21.93 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.007433/0.7853, allocations: 4.918 MB / 0.7578 GB, free: 19.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008132/0.7935, allocations: 3.584 MB / 0.7613 GB, free: 18.08 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.7937, allocations: 20.16 kB / 0.7613 GB, free: 18.08 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.7937, allocations: 54.42 kB / 0.7614 GB, free: 18.03 MB / 474.7 MB Notification: Performance of pre-optimization done (n=127): time 3.496e-06/0.7937, allocations: 0 / 0.7614 GB, free: 18.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=127): time 0.03966/0.8334, allocations: 11.66 MB / 0.7727 GB, free: 13.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.8336, allocations: 149 kB / 0.7729 GB, free: 13.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.8359, allocations: 1.144 MB / 0.774 GB, free: 13.51 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000327/0.8362, allocations: 48.48 kB / 0.774 GB, free: 13.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.8366, allocations: 0.6327 MB / 0.7747 GB, free: 13.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004996/0.8371, allocations: 457.6 kB / 0.7751 GB, free: 12.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.6e-05/0.8372, allocations: 28.22 kB / 0.7751 GB, free: 12.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.8374, allocations: 358.7 kB / 0.7755 GB, free: 12.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/0.839, allocations: 0.8581 MB / 0.7763 GB, free: 12.44 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.8407, allocations: 1.025 MB / 0.7773 GB, free: 12.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.8424, allocations: 0.9215 MB / 0.7782 GB, free: 11.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8424, allocations: 0 / 0.7782 GB, free: 11.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.005695/0.8481, allocations: 2.99 MB / 0.7811 GB, free: 9.398 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003011/0.8484, allocations: 1.438 MB / 0.7825 GB, free: 7.852 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.8484, allocations: 7.984 kB / 0.7825 GB, free: 7.844 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009564/0.858, allocations: 3.402 MB / 0.7859 GB, free: 4.789 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/0.8588, allocations: 162.9 kB / 0.786 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006434/0.8653, allocations: 3.372 MB / 0.7893 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.8674, allocations: 248.7 kB / 0.7895 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.8675, allocations: 51.11 kB / 0.7896 GB, free: 1.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.8675, allocations: 4 kB / 0.7896 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005524/0.8731, allocations: 2.775 MB / 0.7923 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.8731, allocations: 4 kB / 0.7923 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/0.8837, allocations: 3.372 MB / 0.7956 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009552/0.8847, allocations: 155.8 kB / 0.7957 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007842/0.8926, allocations: 3.325 MB / 0.799 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/0.8949, allocations: 222.8 kB / 0.7992 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/0.8952, allocations: 51.98 kB / 0.7993 GB, free: 8.969 MB / 490.7 MB 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.001166/0.8964, allocations: 353.5 kB / 0.7996 GB, free: 8.613 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008529/0.8972, allocations: 158 kB / 0.7997 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/0.9161, allocations: 6.004 MB / 0.8056 GB, free: 2.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/0.9162, allocations: 20 kB / 0.8056 GB, free: 2.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.9162, allocations: 0 / 0.8056 GB, free: 2.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.001e-05/0.9162, allocations: 7.969 kB / 0.8056 GB, free: 2.402 MB / 490.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.02277/0.939, allocations: 8.104 MB / 0.8135 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.9391, allocations: 0 / 0.8135 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.9402, allocations: 139.8 kB / 0.8137 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008283/0.9484, allocations: 2.596 MB / 0.8162 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003001/0.9488, allocations: 31.94 kB / 0.8162 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02874/0.9775, allocations: 12.62 MB / 0.8286 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9776, allocations: 4.031 kB / 0.8286 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02049/0.9981, allocations: 7.255 MB / 0.8357 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.9991, allocations: 282.6 kB / 0.8359 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/0.9995, allocations: 27.98 kB / 0.836 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/1.001, allocations: 159.9 kB / 0.8361 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008385/1.002, allocations: 261.3 kB / 0.8364 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.002, allocations: 35.98 kB / 0.8364 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001465/1.004, allocations: 0.8877 MB / 0.8373 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.004, allocations: 3.938 kB / 0.8373 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002107/1.006, allocations: 0.7762 MB / 0.838 GB, free: 0.7852 MB / 0.5105 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.02043/1.026, allocations: 8.022 MB / 0.8459 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01534/1.041, allocations: 4.878 MB / 0.8506 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/1.042, allocations: 4.062 kB / 0.8506 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006564/1.048, allocations: 2.299 MB / 0.8529 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/1.049, allocations: 129.2 kB / 0.853 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009102/1.059, allocations: 6.659 MB / 0.8595 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008414/1.059, allocations: 1.256 MB / 0.8607 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006679/1.06, allocations: 128.6 kB / 0.8608 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007875/1.061, allocations: 0.593 MB / 0.8614 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of SimCode: time 1.262e-06/1.061, allocations: 0 / 0.8614 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0792/1.14, allocations: 43.93 MB / 0.9043 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/1.14, allocations: 200.1 kB / 0.9045 GB, free: 12.54 MB / 0.5886 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_EXNI.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.c:7: In file included from ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_model.h:24: ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.o] Error 1