Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",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.007286/0.007286, allocations: 171.1 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.546/1.546, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0009461/0.0009457, allocations: 90.88 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07005/0.07005, allocations: 12.2 MB / 330 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4172/0.4172, allocations: 78.52 MB / 459.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005105/0.0005105, allocations: 20.72 kB / 0.528 GB, free: 35.37 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1314, allocations: 69.24 MB / 0.5956 GB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4858/0.6174, allocations: 106.7 MB / 0.6999 GB, free: 37.82 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.6177, allocations: 88.52 kB / 0.7 GB, free: 37.82 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0895/0.7072, allocations: 35.62 MB / 0.7347 GB, free: 33.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.7072, allocations: 0 / 0.7347 GB, free: 33.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.304e-05/0.7073, allocations: 19.62 kB / 0.7348 GB, free: 33.09 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.005312/0.7126, allocations: 2.114 MB / 0.7368 GB, free: 31.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.7127, allocations: 11.77 kB / 0.7368 GB, free: 31.84 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002688/0.7129, allocations: 135 kB / 0.737 GB, free: 31.78 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/0.7157, allocations: 0.5159 MB / 0.7375 GB, free: 31.58 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.717, allocations: 0.7936 MB / 0.7382 GB, free: 31.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.7173, allocations: 362.3 kB / 0.7386 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.7175, allocations: 75.06 kB / 0.7387 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.7196, allocations: 1.285 MB / 0.7399 GB, free: 30.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.7196, allocations: 0 / 0.7399 GB, free: 30.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.617e-05/0.7198, allocations: 29.31 kB / 0.7399 GB, free: 30.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.7198, allocations: 23.62 kB / 0.74 GB, free: 30.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.7219, allocations: 1.244 MB / 0.7412 GB, free: 30.25 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.005948/0.7278, allocations: 4.01 MB / 0.7451 GB, free: 28.13 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007233/0.7351, allocations: 3.199 MB / 0.7482 GB, free: 26.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.7352, allocations: 20.02 kB / 0.7482 GB, free: 26.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.7352, allocations: 46.16 kB / 0.7483 GB, free: 26.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 3.607e-06/0.7353, allocations: 3.938 kB / 0.7483 GB, free: 26.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=107): time 0.03683/0.7721, allocations: 11.24 MB / 0.7593 GB, free: 22.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.7722, allocations: 85.86 kB / 0.7593 GB, free: 22.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.7738, allocations: 0.9108 MB / 0.7602 GB, free: 22.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.774, allocations: 40.73 kB / 0.7603 GB, free: 22.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.7744, allocations: 0.5203 MB / 0.7608 GB, free: 22.33 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004397/0.7748, allocations: 371.3 kB / 0.7611 GB, free: 22.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-05/0.7749, allocations: 20.28 kB / 0.7612 GB, free: 22.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.775, allocations: 340.4 kB / 0.7615 GB, free: 21.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.7765, allocations: 0.7424 MB / 0.7622 GB, free: 21.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.778, allocations: 0.8814 MB / 0.7631 GB, free: 21.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.7795, allocations: 0.7834 MB / 0.7638 GB, free: 21.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.7795, allocations: 4 kB / 0.7638 GB, free: 21.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004934/0.7844, allocations: 2.523 MB / 0.7663 GB, free: 20.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.7845, allocations: 4.125 kB / 0.7663 GB, free: 20.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.7845, allocations: 11.8 kB / 0.7663 GB, free: 20.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007741/0.7922, allocations: 2.733 MB / 0.769 GB, free: 20.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.7928, allocations: 128.1 kB / 0.7691 GB, free: 20 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.7983, allocations: 2.909 MB / 0.7719 GB, free: 19.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.8, allocations: 202.9 kB / 0.7721 GB, free: 18.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.8001, allocations: 34.05 kB / 0.7722 GB, free: 18.96 MB / 474.7 MB 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.0005942/0.8007, allocations: 247.8 kB / 0.7724 GB, free: 18.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/0.8012, allocations: 129.2 kB / 0.7725 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/0.8163, allocations: 5.679 MB / 0.7781 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.8164, allocations: 12 kB / 0.7781 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.8164, allocations: 4 kB / 0.7781 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.8164, allocations: 3.984 kB / 0.7781 GB, free: 14.92 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 postOpt removeSimpleEquations (simulation): time 0.0175/0.8339, allocations: 7.413 MB / 0.7853 GB, free: 8.605 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.834, allocations: 0 / 0.7853 GB, free: 8.605 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006921/0.8347, allocations: 110.8 kB / 0.7854 GB, free: 8.504 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007009/0.8417, allocations: 2.496 MB / 0.7879 GB, free: 6.277 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/0.842, allocations: 29.06 kB / 0.7879 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02581/0.8678, allocations: 10.88 MB / 0.7985 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8678, allocations: 0 / 0.7985 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01932/0.8872, allocations: 6.81 MB / 0.8052 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008724/0.8881, allocations: 235.1 kB / 0.8054 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005768/0.8887, allocations: 24 kB / 0.8054 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.8906, allocations: 143.9 kB / 0.8056 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009586/0.8915, allocations: 249 kB / 0.8058 GB, free: 6.125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.8917, allocations: 24 kB / 0.8058 GB, free: 6.102 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001503/0.8932, allocations: 0.717 MB / 0.8065 GB, free: 5.379 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8932, allocations: 0 / 0.8065 GB, free: 5.379 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001867/0.8951, allocations: 435.5 kB / 0.8069 GB, free: 4.953 MB / 490.7 MB 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.01951/0.9146, allocations: 7.494 MB / 0.8143 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008037/0.9227, allocations: 2.567 MB / 0.8168 GB, free: 10.85 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.9228, allocations: 3.938 kB / 0.8168 GB, free: 10.85 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006357/0.9291, allocations: 2.056 MB / 0.8188 GB, free: 8.781 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.9306, allocations: 97.36 kB / 0.8189 GB, free: 8.684 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/0.9531, allocations: 12.15 MB / 0.8307 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009894/0.9542, allocations: 1.144 MB / 0.8319 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005299/0.9547, allocations: 90.7 kB / 0.8319 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008155/0.9555, allocations: 487.3 kB / 0.8324 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/0.9556, allocations: 0 / 0.8324 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06147/1.017, allocations: 32.15 MB / 0.8638 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/1.017, allocations: 189.3 kB / 0.864 GB, free: 10.16 MB / 0.5417 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_Machines_PSSE_GENSAL.o OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL.c:7: In file included from ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL_model.h:24: ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL.o] Error 1