Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL",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.005539/0.005539, allocations: 172.5 kB / 15.12 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.47/1.47, allocations: 223.2 MB / 239 MB, free: 1.793 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.001057/0.001057, allocations: 101.7 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.5254/0.5254, allocations: 78.53 MB / 419.8 MB, free: 44.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004292, allocations: 15.98 kB / 499.8 MB, free: 2.637 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4386, allocations: 69.35 MB / 0.5558 GB, free: 38.6 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.5833, allocations: 105.3 MB / 0.6586 GB, free: 1.027 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.5836, allocations: 83.95 kB / 0.6587 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0999/0.6836, allocations: 36.59 MB / 0.6944 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6836, allocations: 0 / 0.6944 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.247e-05/0.6837, allocations: 27.94 kB / 0.6945 GB, free: 12.12 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.005658/0.6893, allocations: 2.1 MB / 0.6965 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.6894, allocations: 16.03 kB / 0.6965 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/0.6896, allocations: 130.9 kB / 0.6967 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/0.6925, allocations: 0.5134 MB / 0.6972 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.6939, allocations: 0.7945 MB / 0.6979 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003888/0.6943, allocations: 365.2 kB / 0.6983 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.6945, allocations: 83.91 kB / 0.6984 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.6971, allocations: 1.282 MB / 0.6996 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.6971, allocations: 0 / 0.6996 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.6972, allocations: 32 kB / 0.6996 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.6972, allocations: 16 kB / 0.6997 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.6998, allocations: 1.242 MB / 0.7009 GB, free: 5.375 MB / 0.4948 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.007055/0.7068, allocations: 4.015 MB / 0.7048 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008128/0.715, allocations: 3.203 MB / 0.7079 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.7152, allocations: 24.92 kB / 0.7079 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.7152, allocations: 47.55 kB / 0.708 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=107): time 3.336e-06/0.7152, allocations: 4 kB / 0.708 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=107): time 0.04055/0.7558, allocations: 11.22 MB / 0.719 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.7559, allocations: 94.11 kB / 0.719 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.7575, allocations: 0.9115 MB / 0.7199 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002443/0.7577, allocations: 45.7 kB / 0.72 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.7582, allocations: 0.5212 MB / 0.7205 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/0.7586, allocations: 378.4 kB / 0.7208 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.7587, allocations: 20 kB / 0.7209 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7588, allocations: 345.9 kB / 0.7212 GB, free: 152 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.7604, allocations: 0.7399 MB / 0.7219 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.7621, allocations: 0.8745 MB / 0.7228 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.7637, allocations: 0.78 MB / 0.7235 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.7637, allocations: 4 kB / 0.7235 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005378/0.7691, allocations: 2.524 MB / 0.726 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7691, allocations: 4 kB / 0.726 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.7692, allocations: 8.312 kB / 0.726 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008476/0.7776, allocations: 2.732 MB / 0.7287 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.7783, allocations: 127.8 kB / 0.7288 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006369/0.7846, allocations: 2.915 MB / 0.7317 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.7863, allocations: 203 kB / 0.7318 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.931e-05/0.7865, allocations: 35.98 kB / 0.7319 GB, free: 5.117 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {28 25} Notification: Performance of prepare postOptimizeDAE: time 0.0005747/0.787, allocations: 238.2 kB / 0.7321 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.7873, allocations: 138.4 kB / 0.7322 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/0.8036, allocations: 5.68 MB / 0.7378 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.8037, allocations: 15.98 kB / 0.7378 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.8037, allocations: 0 / 0.7378 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.402e-05/0.8037, allocations: 7.984 kB / 0.7378 GB, free: 15.01 MB / 0.5417 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.01921/0.823, allocations: 7.4 MB / 0.745 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.823, allocations: 0 / 0.745 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007246/0.8237, allocations: 107.8 kB / 0.7451 GB, free: 7.375 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00838/0.8321, allocations: 2.501 MB / 0.7476 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002732/0.8324, allocations: 27.98 kB / 0.7476 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02995/0.8624, allocations: 10.88 MB / 0.7582 GB, free: 9.824 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8625, allocations: 4 kB / 0.7582 GB, free: 9.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01942/0.8819, allocations: 6.806 MB / 0.7649 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000757/0.8827, allocations: 235.2 kB / 0.7651 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.8829, allocations: 23.98 kB / 0.7651 GB, free: 2.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.8843, allocations: 147.9 kB / 0.7653 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008857/0.8852, allocations: 241 kB / 0.7655 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.665e-05/0.8853, allocations: 27.98 kB / 0.7655 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001185/0.8865, allocations: 0.7169 MB / 0.7662 GB, free: 1.578 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8865, allocations: 0 / 0.7662 GB, free: 1.578 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001418/0.8879, allocations: 439.5 kB / 0.7666 GB, free: 1.148 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,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 (64): * Single equations (assignments): 63 * 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.392/1.28, allocations: 7.487 MB / 0.774 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00751/1.287, allocations: 2.573 MB / 0.7765 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.288, allocations: 0 / 0.7765 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006042/1.294, allocations: 2.044 MB / 0.7785 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/1.295, allocations: 99.44 kB / 0.7786 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/1.312, allocations: 12.15 MB / 0.7904 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/1.312, allocations: 1.145 MB / 0.7916 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003964/1.313, allocations: 86.75 kB / 0.7916 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/1.313, allocations: 478.7 kB / 0.7921 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.803e-06/1.313, allocations: 0 / 0.7921 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06686/1.38, allocations: 32.16 MB / 0.8235 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/1.381, allocations: 180 kB / 0.8237 GB, free: 134.7 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_Machines_PSSE_GENSAL.o OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL.c In file included from OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL_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_Machines_PSSE_GENSAL.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL_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_Machines_PSSE_GENSAL.o] Error 1