Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.GENROU,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_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.006721/0.006721, allocations: 170 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.406/1.406, allocations: 223.2 MB / 239 MB, free: 1.797 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.000988/0.0009879, allocations: 104.6 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5318/0.5318, allocations: 78.52 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003691, allocations: 12 kB / 499.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.4808, allocations: 69.35 MB / 0.5558 GB, free: 38.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.6278, allocations: 106.5 MB / 0.6598 GB, free: 15.83 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.6281, allocations: 84.8 kB / 0.6599 GB, free: 15.75 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1013/0.7295, allocations: 37.25 MB / 0.6963 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7295, allocations: 0 / 0.6963 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.396e-05/0.7296, allocations: 27.94 kB / 0.6963 GB, free: 10.27 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.006483/0.7361, allocations: 2.213 MB / 0.6985 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.7361, allocations: 12.03 kB / 0.6985 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003337/0.7365, allocations: 134.9 kB / 0.6986 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.7395, allocations: 0.5211 MB / 0.6991 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.7412, allocations: 0.8535 MB / 0.7 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004198/0.7417, allocations: 361.3 kB / 0.7003 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.7418, allocations: 87.95 kB / 0.7004 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.7444, allocations: 1.301 MB / 0.7017 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.7444, allocations: 0 / 0.7017 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.7445, allocations: 32 kB / 0.7017 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.7446, allocations: 20 kB / 0.7017 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.7472, allocations: 1.273 MB / 0.703 GB, free: 3.281 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.007783/0.7549, allocations: 4.133 MB / 0.707 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008577/0.7635, allocations: 3.251 MB / 0.7102 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.7638, allocations: 28.91 kB / 0.7102 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.7638, allocations: 47.56 kB / 0.7102 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=111): time 3.206e-06/0.7638, allocations: 0 / 0.7102 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.04718/0.811, allocations: 12.29 MB / 0.7222 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.8111, allocations: 94.06 kB / 0.7223 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.8129, allocations: 0.9796 MB / 0.7233 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003242/0.8133, allocations: 41.7 kB / 0.7233 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.8137, allocations: 0.5255 MB / 0.7238 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005074/0.8143, allocations: 398.2 kB / 0.7242 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.8143, allocations: 20 kB / 0.7242 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.8145, allocations: 341.9 kB / 0.7246 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.8162, allocations: 0.7561 MB / 0.7253 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.8179, allocations: 0.9009 MB / 0.7262 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.8196, allocations: 0.8035 MB / 0.727 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.8196, allocations: 7.938 kB / 0.727 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005778/0.8254, allocations: 2.583 MB / 0.7295 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.8255, allocations: 8 kB / 0.7295 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.8255, allocations: 7.938 kB / 0.7295 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009702/0.8352, allocations: 3.011 MB / 0.7325 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007365/0.836, allocations: 135.8 kB / 0.7326 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006975/0.843, allocations: 3 MB / 0.7355 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.8451, allocations: 214.9 kB / 0.7357 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.8452, allocations: 35.98 kB / 0.7358 GB, free: 1.184 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.000645/0.8459, allocations: 245.7 kB / 0.736 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/0.8463, allocations: 134.3 kB / 0.7361 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/0.8633, allocations: 5.678 MB / 0.7417 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.8633, allocations: 12 kB / 0.7417 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.8634, allocations: 0 / 0.7417 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.983e-05/0.8634, allocations: 3.984 kB / 0.7417 GB, free: 11.09 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.02074/0.8841, allocations: 7.506 MB / 0.749 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.8842, allocations: 0 / 0.749 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008915/0.8851, allocations: 119.8 kB / 0.7491 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00814/0.8933, allocations: 2.505 MB / 0.7516 GB, free: 0.8281 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/0.8936, allocations: 24 kB / 0.7516 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02775/0.9213, allocations: 10.88 MB / 0.7622 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9214, allocations: 0 / 0.7622 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3506/1.272, allocations: 6.848 MB / 0.7689 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006782/1.273, allocations: 244.7 kB / 0.7691 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/1.273, allocations: 22.25 kB / 0.7692 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.275, allocations: 147.5 kB / 0.7693 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008918/1.275, allocations: 240.8 kB / 0.7695 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/1.276, allocations: 30.14 kB / 0.7696 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001329/1.277, allocations: 0.7691 MB / 0.7703 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/1.277, allocations: 2.562 kB / 0.7703 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00156/1.278, allocations: 453.1 kB / 0.7707 GB, free: 140.3 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.02007/1.299, allocations: 7.538 MB / 0.7781 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007801/1.306, allocations: 2.635 MB / 0.7807 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.306, allocations: 3.969 kB / 0.7807 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005996/1.312, allocations: 2.065 MB / 0.7827 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/1.314, allocations: 108 kB / 0.7828 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/1.332, allocations: 12.65 MB / 0.7952 GB, free: 134 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007646/1.333, allocations: 1.167 MB / 0.7963 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005222/1.334, allocations: 97.33 kB / 0.7964 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006673/1.334, allocations: 494 kB / 0.7969 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of SimCode: time 2.004e-06/1.334, allocations: 0 / 0.7969 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07639/1.411, allocations: 33.56 MB / 0.8296 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/1.411, allocations: 187.3 kB / 0.8298 GB, free: 131.3 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_GENROU.o OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU.c In file included from OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Tests_Machines_PSSE_GENROU.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU_model.h:24: ./OpenIPSL_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_OpenIPSL_Tests_Machines_PSSE_GENROU.o] Error 1