Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.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.GENROE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE",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.007374/0.007374, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.304/1.304, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009223/0.0009223, allocations: 98.84 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06882/0.06882, allocations: 12.2 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4605/0.4605, allocations: 78.53 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005102, allocations: 21.84 kB / 0.528 GB, free: 35.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.154, allocations: 69.24 MB / 0.5956 GB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4272/0.5813, allocations: 107.9 MB / 0.701 GB, free: 100.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.5816, allocations: 86.88 kB / 0.7011 GB, free: 100.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08652/0.6681, allocations: 35.99 MB / 0.7362 GB, free: 74.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.6681, allocations: 0 / 0.7362 GB, free: 74.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.222e-05/0.6682, allocations: 23.94 kB / 0.7363 GB, free: 74.75 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.005354/0.6736, allocations: 2.22 MB / 0.7384 GB, free: 72.47 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.6736, allocations: 11.98 kB / 0.7384 GB, free: 72.46 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.6738, allocations: 134.9 kB / 0.7386 GB, free: 72.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002755/0.6766, allocations: 0.5288 MB / 0.7391 GB, free: 71.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.6778, allocations: 0.8574 MB / 0.7399 GB, free: 70.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.6781, allocations: 357.3 kB / 0.7403 GB, free: 70.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.6782, allocations: 88 kB / 0.7403 GB, free: 70.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.6804, allocations: 1.305 MB / 0.7416 GB, free: 69.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.6805, allocations: 4 kB / 0.7416 GB, free: 69.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-05/0.6806, allocations: 32 kB / 0.7416 GB, free: 69.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.6806, allocations: 20 kB / 0.7417 GB, free: 69.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.6828, allocations: 1.269 MB / 0.7429 GB, free: 67.75 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.006412/0.6893, allocations: 4.127 MB / 0.7469 GB, free: 63.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007272/0.6966, allocations: 3.251 MB / 0.7501 GB, free: 60.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.6968, allocations: 20.98 kB / 0.7501 GB, free: 60.03 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.6968, allocations: 47.56 kB / 0.7502 GB, free: 59.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=111): time 3.427e-06/0.6968, allocations: 3.938 kB / 0.7502 GB, free: 59.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.04204/0.7389, allocations: 12.29 MB / 0.7622 GB, free: 47.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.7389, allocations: 90.11 kB / 0.7623 GB, free: 47.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.7404, allocations: 0.9719 MB / 0.7632 GB, free: 46.55 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.7406, allocations: 41.7 kB / 0.7633 GB, free: 46.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.7409, allocations: 0.541 MB / 0.7638 GB, free: 45.95 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.7413, allocations: 390.2 kB / 0.7642 GB, free: 45.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.7413, allocations: 24 kB / 0.7642 GB, free: 45.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.7414, allocations: 341.9 kB / 0.7645 GB, free: 45.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.7428, allocations: 0.7638 MB / 0.7653 GB, free: 44.44 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.7442, allocations: 0.9009 MB / 0.7661 GB, free: 43.49 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.7456, allocations: 0.8034 MB / 0.7669 GB, free: 42.69 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7456, allocations: 0 / 0.7669 GB, free: 42.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004595/0.7502, allocations: 2.587 MB / 0.7694 GB, free: 40.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.7502, allocations: 8 kB / 0.7695 GB, free: 40.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7503, allocations: 4 kB / 0.7695 GB, free: 40.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0087/0.759, allocations: 3.042 MB / 0.7724 GB, free: 37.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.7597, allocations: 131.8 kB / 0.7726 GB, free: 36.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005626/0.7653, allocations: 3.012 MB / 0.7755 GB, free: 33.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.7671, allocations: 203.1 kB / 0.7757 GB, free: 33.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.8e-05/0.7672, allocations: 39.98 kB / 0.7757 GB, free: 33.62 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 (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.0005479/0.7677, allocations: 249.6 kB / 0.776 GB, free: 33.37 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.768, allocations: 142.2 kB / 0.7761 GB, free: 33.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/0.7825, allocations: 5.658 MB / 0.7816 GB, free: 27.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.7826, allocations: 12 kB / 0.7816 GB, free: 27.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.7826, allocations: 0 / 0.7816 GB, free: 27.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.569e-05/0.7826, allocations: 11.92 kB / 0.7817 GB, free: 27.53 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.01855/0.8012, allocations: 7.518 MB / 0.789 GB, free: 19.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.8012, allocations: 0 / 0.789 GB, free: 19.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/0.802, allocations: 115.8 kB / 0.7891 GB, free: 19.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007215/0.8092, allocations: 2.505 MB / 0.7915 GB, free: 17.26 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/0.8095, allocations: 23.98 kB / 0.7916 GB, free: 17.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02401/0.8335, allocations: 10.88 MB / 0.8022 GB, free: 6.207 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8335, allocations: 4 kB / 0.8022 GB, free: 6.203 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/0.8508, allocations: 6.845 MB / 0.8089 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007198/0.8516, allocations: 243.1 kB / 0.8091 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004736/0.8521, allocations: 27.95 kB / 0.8091 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/0.8539, allocations: 147.9 kB / 0.8093 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008638/0.8548, allocations: 245 kB / 0.8095 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.8549, allocations: 28 kB / 0.8096 GB, free: 14.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001431/0.8564, allocations: 0.7686 MB / 0.8103 GB, free: 13.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8564, allocations: 0 / 0.8103 GB, free: 13.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001842/0.8582, allocations: 451.5 kB / 0.8107 GB, free: 13.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.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.01978/0.878, allocations: 7.534 MB / 0.8181 GB, free: 5.844 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008001/0.8861, allocations: 2.625 MB / 0.8207 GB, free: 3.211 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.8861, allocations: 7.938 kB / 0.8207 GB, free: 3.203 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006162/0.8923, allocations: 2.067 MB / 0.8227 GB, free: 1.125 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.8935, allocations: 107.4 kB / 0.8228 GB, free: 1.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/0.9155, allocations: 12.66 MB / 0.8351 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/0.9162, allocations: 1.17 MB / 0.8363 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004734/0.9167, allocations: 95 kB / 0.8364 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/0.9173, allocations: 491.3 kB / 0.8368 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/0.9173, allocations: 0 / 0.8368 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05475/0.9721, allocations: 33.54 MB / 0.8696 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.9723, allocations: 191.5 kB / 0.8698 GB, free: 0.5312 MB / 0.5261 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_GENROE.o OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE_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_GENROE.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE_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_GENROE.o] Error 1