Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.GENCLS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.006854/0.006854, allocations: 171.8 kB / 15.11 MB, free: 5.578 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.416/1.416, allocations: 223.2 MB / 239 MB, free: 1.812 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.0008718/0.0008723, allocations: 89.05 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4659/0.4659, allocations: 78.53 MB / 419.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004039, allocations: 12 kB / 499.8 MB, free: 2.648 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4371, allocations: 69.36 MB / 0.5558 GB, free: 38.53 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.5759, allocations: 97.65 MB / 0.6512 GB, free: 8.582 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.5762, allocations: 80.8 kB / 0.6512 GB, free: 8.504 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08069/0.6569, allocations: 29.06 MB / 0.6796 GB, free: 11.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.657, allocations: 0 / 0.6796 GB, free: 11.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.228e-05/0.657, allocations: 16 kB / 0.6796 GB, free: 11.25 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005555/0.6626, allocations: 1.9 MB / 0.6815 GB, free: 9.293 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.6627, allocations: 11.97 kB / 0.6815 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002685/0.6629, allocations: 122.5 kB / 0.6816 GB, free: 9.152 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/0.6657, allocations: 0.494 MB / 0.6821 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.6672, allocations: 0.7273 MB / 0.6828 GB, free: 7.871 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004113/0.6676, allocations: 365.2 kB / 0.6832 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.6678, allocations: 71.91 kB / 0.6832 GB, free: 7.391 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.6703, allocations: 1.204 MB / 0.6844 GB, free: 6.172 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.6704, allocations: 0 / 0.6844 GB, free: 6.172 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.6705, allocations: 32 kB / 0.6844 GB, free: 6.141 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.6705, allocations: 16 kB / 0.6845 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.673, allocations: 1.171 MB / 0.6856 GB, free: 4.953 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 preOpt removeSimpleEquations (simulation): time 0.007369/0.6804, allocations: 3.635 MB / 0.6892 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008284/0.6887, allocations: 3.072 MB / 0.6922 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.689, allocations: 12.98 kB / 0.6922 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.689, allocations: 51.5 kB / 0.6922 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=97): time 3.627e-06/0.689, allocations: 3.938 kB / 0.6922 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.03958/0.7286, allocations: 10.64 MB / 0.7026 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.7288, allocations: 86.11 kB / 0.7027 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.7304, allocations: 0.7787 MB / 0.7035 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003617/0.7308, allocations: 37.7 kB / 0.7035 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000432/0.7313, allocations: 480.8 kB / 0.7039 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00053/0.7318, allocations: 346.9 kB / 0.7043 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.7319, allocations: 16 kB / 0.7043 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7321, allocations: 338 kB / 0.7046 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.7337, allocations: 0.7047 MB / 0.7053 GB, free: 380 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.7353, allocations: 0.848 MB / 0.7061 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.7368, allocations: 0.7487 MB / 0.7069 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.7369, allocations: 4 kB / 0.7069 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01691/0.7538, allocations: 5.508 MB / 0.7122 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.7539, allocations: 4.938 kB / 0.7122 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.7539, allocations: 4.312 kB / 0.7123 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008407/0.7623, allocations: 2.681 MB / 0.7149 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/0.763, allocations: 115.8 kB / 0.715 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02975/0.7928, allocations: 12.3 MB / 0.727 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.7944, allocations: 191.2 kB / 0.7272 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.069e-05/0.7945, allocations: 35.98 kB / 0.7272 GB, free: 9.734 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (67): * Single equations (assignments): 66 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005118/0.795, allocations: 221.7 kB / 0.7274 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.7952, allocations: 122.5 kB / 0.7275 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/0.8115, allocations: 5.522 MB / 0.7329 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.8116, allocations: 12 kB / 0.7329 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.8116, allocations: 4 kB / 0.7329 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.291e-05/0.8116, allocations: 3.984 kB / 0.733 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/0.8304, allocations: 7.14 MB / 0.7399 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.8305, allocations: 0 / 0.7399 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/0.8311, allocations: 91.89 kB / 0.74 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007669/0.8388, allocations: 2.509 MB / 0.7425 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002192/0.8391, allocations: 20 kB / 0.7425 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02572/0.8648, allocations: 10.79 MB / 0.753 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.8648, allocations: 3.984 kB / 0.753 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/0.8838, allocations: 6.629 MB / 0.7595 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007082/0.8846, allocations: 219.4 kB / 0.7597 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.8848, allocations: 24.12 kB / 0.7597 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.8861, allocations: 151.9 kB / 0.7599 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008958/0.887, allocations: 225 kB / 0.7601 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.654e-05/0.8871, allocations: 24 kB / 0.7601 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009843/0.8881, allocations: 0.6148 MB / 0.7607 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8881, allocations: 4 kB / 0.7607 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001752/0.8898, allocations: 451.5 kB / 0.7611 GB, free: 6.613 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,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 (55): * Single equations (assignments): 54 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.3763/1.266, allocations: 7.278 MB / 0.7683 GB, free: 148.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008988/1.275, allocations: 2.795 MB / 0.771 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.275, allocations: 3.031 kB / 0.771 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00684/1.282, allocations: 1.985 MB / 0.7729 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/1.283, allocations: 79.52 kB / 0.773 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02774/1.311, allocations: 14.22 MB / 0.7869 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/1.312, allocations: 1.111 MB / 0.788 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003695/1.312, allocations: 69.91 kB / 0.788 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004953/1.312, allocations: 417.1 kB / 0.7884 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/1.312, allocations: 0 / 0.7884 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06965/1.382, allocations: 33.73 MB / 0.8214 GB, free: 140.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/1.382, allocations: 180.6 kB / 0.8215 GB, free: 140.1 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_GENCLS.o OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS.c In file included from OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS_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_GENCLS.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS_functions.h:137: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_GENCLS.o] Error 1