Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.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.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU",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.006029/0.006029, 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 4.0.0+maint.om/package.mo): time 1.401/1.401, 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.0008556/0.0008555, allocations: 96.95 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5306/0.5306, allocations: 79.44 MB / 420.7 MB, free: 43.62 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004727, allocations: 16 kB / 0.4891 GB, free: 1.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4457, allocations: 69.5 MB / 0.557 GB, free: 38.61 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.5855, allocations: 107.2 MB / 0.6617 GB, free: 14.38 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.5857, allocations: 84.98 kB / 0.6618 GB, free: 14.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1015/0.6872, allocations: 35.7 MB / 0.6966 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6873, allocations: 3.938 kB / 0.6966 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001133/0.6874, allocations: 23.94 kB / 0.6967 GB, free: 10.38 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.007051/0.6945, allocations: 2.221 MB / 0.6988 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6945, allocations: 12.02 kB / 0.6988 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004031/0.6949, allocations: 131 kB / 0.699 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003928/0.6989, allocations: 0.6499 MB / 0.6996 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.7009, allocations: 0.8886 MB / 0.7005 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004024/0.7013, allocations: 369.2 kB / 0.7008 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.7016, allocations: 80 kB / 0.7009 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.7045, allocations: 1.309 MB / 0.7022 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.7045, allocations: 0 / 0.7022 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.7046, allocations: 28 kB / 0.7022 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.7047, allocations: 20 kB / 0.7022 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.7073, allocations: 1.269 MB / 0.7035 GB, free: 3.223 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.008593/0.7159, allocations: 4.184 MB / 0.7075 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008242/0.7242, allocations: 3.263 MB / 0.7107 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.7245, allocations: 20.98 kB / 0.7107 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.7245, allocations: 47.55 kB / 0.7108 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=111): time 3.346e-06/0.7245, allocations: 0 / 0.7108 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.04858/0.7731, allocations: 12.29 MB / 0.7228 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.7732, allocations: 86.11 kB / 0.7229 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.7754, allocations: 1.023 MB / 0.7239 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002931/0.7757, allocations: 41.7 kB / 0.7239 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.7761, allocations: 0.5411 MB / 0.7244 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006119/0.7768, allocations: 394.2 kB / 0.7248 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.7769, allocations: 20 kB / 0.7248 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.777, allocations: 341.9 kB / 0.7252 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.7787, allocations: 0.76 MB / 0.7259 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.7805, allocations: 0.9009 MB / 0.7268 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.7823, allocations: 0.8074 MB / 0.7276 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.7823, allocations: 0 / 0.7276 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005885/0.7882, allocations: 2.591 MB / 0.7301 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.7883, allocations: 4 kB / 0.7301 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.7883, allocations: 4 kB / 0.7301 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009627/0.7979, allocations: 3.011 MB / 0.733 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.7987, allocations: 131.8 kB / 0.7332 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006897/0.8056, allocations: 3 MB / 0.7361 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.8077, allocations: 210.9 kB / 0.7363 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/0.8079, allocations: 39.98 kB / 0.7363 GB, free: 1.023 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 (75): * Single equations (assignments): 74 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.000746/0.8087, allocations: 245.7 kB / 0.7366 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005197/0.8092, allocations: 138.3 kB / 0.7367 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/0.8258, allocations: 5.678 MB / 0.7423 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.8259, allocations: 11.94 kB / 0.7423 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.8259, allocations: 4 kB / 0.7423 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.065e-05/0.826, allocations: 3.984 kB / 0.7423 GB, free: 10.93 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.02071/0.8467, allocations: 7.541 MB / 0.7496 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.8468, allocations: 0 / 0.7496 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008457/0.8476, allocations: 123.8 kB / 0.7498 GB, free: 3.133 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008027/0.8557, allocations: 2.497 MB / 0.7522 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000399/0.8561, allocations: 23.98 kB / 0.7522 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02827/0.8844, allocations: 10.88 MB / 0.7628 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8845, allocations: 0 / 0.7628 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3366/1.221, allocations: 6.832 MB / 0.7695 GB, free: 139.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007966/1.222, allocations: 257.8 kB / 0.7698 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/1.222, allocations: 22.31 kB / 0.7698 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/1.224, allocations: 148.9 kB / 0.7699 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008528/1.225, allocations: 243.5 kB / 0.7702 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/1.225, allocations: 32.56 kB / 0.7702 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001361/1.226, allocations: 0.8035 MB / 0.771 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.11e-07/1.226, allocations: 1 kB / 0.771 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001574/1.228, allocations: 453.8 kB / 0.7714 GB, free: 139.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,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 (68): * Single equations (assignments): 67 * 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.02055/1.248, allocations: 7.533 MB / 0.7788 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007959/1.256, allocations: 2.654 MB / 0.7814 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.256, allocations: 0 / 0.7814 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006253/1.263, allocations: 2.06 MB / 0.7834 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/1.264, allocations: 101 kB / 0.7835 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/1.282, allocations: 12.78 MB / 0.7959 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/1.283, allocations: 1.162 MB / 0.7971 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000609/1.284, allocations: 97.61 kB / 0.7972 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006571/1.284, allocations: 492.2 kB / 0.7976 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of SimCode: time 8.12e-07/1.284, allocations: 0 / 0.7976 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06239/1.347, allocations: 33.97 MB / 0.8308 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/1.347, allocations: 189 kB / 0.831 GB, free: 130.5 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_Machines_PSSE_GENROU.o OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU_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_Machines_PSSE_GENROU.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU_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_Machines_PSSE_GENROU.o] Error 1