Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.GENSAE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE",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.008195/0.008194, allocations: 170.3 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.497/1.497, allocations: 223.2 MB / 239 MB, free: 1.805 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.0009443/0.0009443, allocations: 100.3 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.503/0.503, allocations: 78.53 MB / 419.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003969, allocations: 12 kB / 499.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4535, allocations: 69.35 MB / 0.5558 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.5969, allocations: 105.6 MB / 0.6589 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5973, allocations: 87.95 kB / 0.659 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09824/0.6955, allocations: 35.75 MB / 0.6939 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6956, allocations: 0 / 0.6939 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.802e-05/0.6957, allocations: 24 kB / 0.6939 GB, free: 12.68 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.006234/0.7019, allocations: 2.147 MB / 0.696 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.702, allocations: 8.031 kB / 0.696 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002877/0.7022, allocations: 126.9 kB / 0.6962 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.7053, allocations: 0.525 MB / 0.6967 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.7069, allocations: 0.8219 MB / 0.6975 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004019/0.7073, allocations: 357.2 kB / 0.6978 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.7075, allocations: 83.98 kB / 0.6979 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.7102, allocations: 1.286 MB / 0.6991 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.7102, allocations: 3.938 kB / 0.6991 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.7103, allocations: 32 kB / 0.6992 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.7103, allocations: 20 kB / 0.6992 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00264/0.713, allocations: 1.253 MB / 0.7004 GB, free: 5.84 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.008232/0.7212, allocations: 4.077 MB / 0.7044 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008668/0.7299, allocations: 3.235 MB / 0.7076 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.7301, allocations: 20.97 kB / 0.7076 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.7301, allocations: 43.56 kB / 0.7076 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=108): time 3.346e-06/0.7301, allocations: 0 / 0.7076 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=108): time 0.04131/0.7714, allocations: 11.35 MB / 0.7187 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.7715, allocations: 90.11 kB / 0.7188 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.7732, allocations: 0.9314 MB / 0.7197 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002904/0.7735, allocations: 41.7 kB / 0.7197 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000395/0.7739, allocations: 0.5175 MB / 0.7202 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004447/0.7744, allocations: 382.4 kB / 0.7206 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.7745, allocations: 23.94 kB / 0.7206 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.7746, allocations: 349.9 kB / 0.721 GB, free: 392 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.7762, allocations: 0.7399 MB / 0.7217 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.7779, allocations: 0.89 MB / 0.7226 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.7795, allocations: 0.7956 MB / 0.7233 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.7795, allocations: 4 kB / 0.7233 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005366/0.7849, allocations: 2.532 MB / 0.7258 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.7849, allocations: 9.625 kB / 0.7258 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.7849, allocations: 4 kB / 0.7258 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009831/0.7948, allocations: 2.967 MB / 0.7287 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.7955, allocations: 135.8 kB / 0.7288 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006503/0.802, allocations: 2.95 MB / 0.7317 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.804, allocations: 203 kB / 0.7319 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.8041, allocations: 35.98 kB / 0.732 GB, free: 5.039 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 {29 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006401/0.8048, allocations: 249.6 kB / 0.7322 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/0.8051, allocations: 142.3 kB / 0.7323 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01712/0.8223, allocations: 5.613 MB / 0.7378 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/0.8224, allocations: 12 kB / 0.7378 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.8224, allocations: 4 kB / 0.7378 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.866e-05/0.8224, allocations: 15.95 kB / 0.7378 GB, free: 14.98 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.02671/0.8492, allocations: 7.377 MB / 0.745 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.8492, allocations: 3.953 kB / 0.7451 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009632/0.8502, allocations: 107.8 kB / 0.7452 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01053/0.8607, allocations: 2.509 MB / 0.7476 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/0.861, allocations: 19.98 kB / 0.7476 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02917/0.8902, allocations: 10.88 MB / 0.7582 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8903, allocations: 0 / 0.7582 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02041/0.9107, allocations: 6.83 MB / 0.7649 GB, free: 2.941 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.9118, allocations: 247 kB / 0.7652 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006486/0.9124, allocations: 20 kB / 0.7652 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/0.9145, allocations: 147.9 kB / 0.7653 GB, free: 2.516 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/0.9156, allocations: 241 kB / 0.7655 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/0.9159, allocations: 31.95 kB / 0.7656 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001784/0.9177, allocations: 0.7328 MB / 0.7663 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9177, allocations: 0 / 0.7663 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00222/0.9199, allocations: 443.5 kB / 0.7667 GB, free: 1.074 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,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.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 (65): * Single equations (assignments): 64 * 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.4026/1.323, allocations: 7.512 MB / 0.774 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007292/1.33, allocations: 2.6 MB / 0.7766 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.33, allocations: 2.781 kB / 0.7766 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005688/1.336, allocations: 2.047 MB / 0.7786 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/1.337, allocations: 104.6 kB / 0.7787 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.354, allocations: 12.29 MB / 0.7907 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/1.355, allocations: 1.154 MB / 0.7918 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004477/1.355, allocations: 97.95 kB / 0.7919 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006401/1.356, allocations: 482.6 kB / 0.7924 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of SimCode: time 7.22e-07/1.356, allocations: 0 / 0.7924 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06864/1.425, allocations: 32.57 MB / 0.8242 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/1.425, allocations: 186.2 kB / 0.8244 GB, free: 134.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_OpenIPSL_Tests_Machines_PSSE_GENSAE.o OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE.c In file included from OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE_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_GENSAE.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE_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_GENSAE.o] Error 1