Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",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.009385/0.009385, allocations: 170.8 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.431/1.431, allocations: 223.2 MB / 239 MB, free: 1.809 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.0008938/0.0008935, allocations: 94.39 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4796/0.4796, allocations: 78.6 MB / 419.9 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004854, allocations: 12 kB / 499.9 MB, free: 2.812 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.429, allocations: 69.35 MB / 0.5559 GB, free: 38.97 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.578, allocations: 114.1 MB / 0.6673 GB, free: 8.406 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.5783, allocations: 87.95 kB / 0.6673 GB, free: 8.32 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1302/0.7085, allocations: 48.11 MB / 0.7143 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7085, allocations: 0 / 0.7143 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001926/0.7087, allocations: 39.94 kB / 0.7144 GB, free: 7.93 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.008681/0.7174, allocations: 2.743 MB / 0.717 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.7175, allocations: 8.031 kB / 0.7171 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006007/0.7181, allocations: 185.6 kB / 0.7172 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.7216, allocations: 0.5946 MB / 0.7178 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/0.7247, allocations: 1.133 MB / 0.7189 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005803/0.7253, allocations: 0.4888 MB / 0.7194 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004562/0.7258, allocations: 131.9 kB / 0.7195 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004153/0.7299, allocations: 1.767 MB / 0.7212 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.73, allocations: 0 / 0.7212 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.7302, allocations: 48 kB / 0.7213 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.7302, allocations: 28 kB / 0.7213 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003815/0.734, allocations: 1.625 MB / 0.7229 GB, free: 14.91 MB / 0.5261 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.01141/0.7454, allocations: 5.901 MB / 0.7287 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009224/0.7547, allocations: 3.65 MB / 0.7322 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/0.755, allocations: 29.28 kB / 0.7323 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003097/0.7581, allocations: 1.237 MB / 0.7335 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=142): time 4.859e-06/0.7581, allocations: 0 / 0.7335 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of matching and sorting (n=146): time 0.05222/0.8104, allocations: 14.79 MB / 0.7479 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.8105, allocations: 205.3 kB / 0.7481 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003331/0.8139, allocations: 1.312 MB / 0.7494 GB, free: 3.227 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000596/0.8145, allocations: 53.7 kB / 0.7494 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007908/0.8153, allocations: 0.7422 MB / 0.7502 GB, free: 2.418 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009436/0.8163, allocations: 0.5121 MB / 0.7507 GB, free: 1.898 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.8166, allocations: 32 kB / 0.7507 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.8168, allocations: 365.9 kB / 0.751 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002527/0.8193, allocations: 0.9683 MB / 0.752 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/0.8219, allocations: 1.185 MB / 0.7531 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/0.8246, allocations: 1.074 MB / 0.7542 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.8246, allocations: 4 kB / 0.7542 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.008969/0.8336, allocations: 3.441 MB / 0.7576 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009555/0.8346, allocations: 1.86 MB / 0.7594 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.8346, allocations: 7.938 kB / 0.7594 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/0.8448, allocations: 3.077 MB / 0.7624 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.8461, allocations: 203.7 kB / 0.7626 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008623/0.8548, allocations: 3.947 MB / 0.7664 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/0.8577, allocations: 215.9 kB / 0.7666 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003502/0.8581, allocations: 55.98 kB / 0.7667 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.8581, allocations: 4 kB / 0.7667 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3353/1.193, allocations: 3.195 MB / 0.7698 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.931e-05/1.194, allocations: 7.594 kB / 0.7698 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/1.205, allocations: 3.041 MB / 0.7728 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/1.206, allocations: 202.3 kB / 0.773 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/1.216, allocations: 5.375 MB / 0.7782 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/1.218, allocations: 206.8 kB / 0.7784 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/1.219, allocations: 62.14 kB / 0.7785 GB, free: 131.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,29 43} Notification: Performance of prepare postOptimizeDAE: time 0.000998/1.22, allocations: 398.2 kB / 0.7789 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/1.22, allocations: 193.5 kB / 0.7791 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/1.237, allocations: 6.229 MB / 0.7851 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/1.237, allocations: 20.67 kB / 0.7852 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.237, allocations: 0 / 0.7852 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/1.237, allocations: 13.16 kB / 0.7852 GB, free: 130.8 MB / 0.5573 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.02094/1.258, allocations: 8.586 MB / 0.7936 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.258, allocations: 0 / 0.7936 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/1.26, allocations: 165.8 kB / 0.7937 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009032/1.269, allocations: 2.65 MB / 0.7963 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004551/1.269, allocations: 34.22 kB / 0.7963 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03095/1.3, allocations: 13.03 MB / 0.8091 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.3, allocations: 0.9375 kB / 0.8091 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0227/1.323, allocations: 7.664 MB / 0.8165 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007235/1.324, allocations: 273.9 kB / 0.8168 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/1.324, allocations: 32.19 kB / 0.8168 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.326, allocations: 210 kB / 0.817 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/1.327, allocations: 305 kB / 0.8173 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.327, allocations: 39.2 kB / 0.8174 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001599/1.329, allocations: 1.017 MB / 0.8184 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.329, allocations: 0 / 0.8184 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002166/1.331, allocations: 0.7763 MB / 0.8191 GB, free: 123.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,hYGOV.SimpleLag1.state,hYGOV.q.y,hYGOV.g.state,hYGOV.Position_Limiter.y,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02001/1.351, allocations: 8.505 MB / 0.8274 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01469/1.365, allocations: 5.617 MB / 0.8329 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.366, allocations: 0 / 0.8329 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006218/1.372, allocations: 2.445 MB / 0.8353 GB, free: 118 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/1.373, allocations: 143.2 kB / 0.8354 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007369/1.38, allocations: 7.808 MB / 0.8431 GB, free: 112 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/1.381, allocations: 1.372 MB / 0.8444 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006947/1.382, allocations: 163.3 kB / 0.8446 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008161/1.383, allocations: 0.7017 MB / 0.8452 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.794e-06/1.383, allocations: 0 / 0.8452 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06589/1.448, allocations: 48.62 MB / 0.8927 GB, free: 77.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/1.449, allocations: 191.1 kB / 0.8929 GB, free: 77.11 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_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.o OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.c In file included from OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_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_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_model.h:24: ./OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_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_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.o] Error 1