Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.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.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",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.00763/0.00763, 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.385/1.385, allocations: 223.2 MB / 239 MB, free: 28 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000959/0.000959, allocations: 93.89 kB / 290.2 MB, free: 4.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5849/0.5849, allocations: 78.52 MB / 419.8 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 8 kB / 499.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1402, allocations: 69.35 MB / 0.5558 GB, free: 1.633 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.6021, allocations: 109.4 MB / 0.6627 GB, free: 8.793 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/0.6025, allocations: 97.22 kB / 0.6628 GB, free: 8.738 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1179/0.7205, allocations: 42.11 MB / 0.7039 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7205, allocations: 0 / 0.7039 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.965e-05/0.7206, allocations: 27.94 kB / 0.7039 GB, free: 14.91 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.007535/0.7282, allocations: 2.516 MB / 0.7064 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.7282, allocations: 8.031 kB / 0.7064 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004882/0.7287, allocations: 147.6 kB / 0.7065 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00335/0.7321, allocations: 0.5559 MB / 0.7071 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.7349, allocations: 1.103 MB / 0.7081 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004559/0.7354, allocations: 406.9 kB / 0.7085 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.7356, allocations: 95.98 kB / 0.7086 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/0.7387, allocations: 1.464 MB / 0.71 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.7387, allocations: 0 / 0.71 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.7389, allocations: 39 kB / 0.7101 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.7389, allocations: 24 kB / 0.7101 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/0.742, allocations: 1.46 MB / 0.7115 GB, free: 6.906 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.009078/0.7511, allocations: 4.77 MB / 0.7162 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008859/0.76, allocations: 3.49 MB / 0.7196 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.7602, allocations: 32.95 kB / 0.7196 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.7602, allocations: 47.5 kB / 0.7197 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=123): time 3.546e-06/0.7602, allocations: 0 / 0.7197 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=123): time 0.04386/0.8041, allocations: 12.15 MB / 0.7315 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/0.8042, allocations: 115.8 kB / 0.7316 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.8068, allocations: 1.251 MB / 0.7329 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003315/0.8072, allocations: 45.7 kB / 0.7329 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005435/0.8077, allocations: 0.6168 MB / 0.7335 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005522/0.8083, allocations: 449.5 kB / 0.7339 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.8084, allocations: 20 kB / 0.734 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8085, allocations: 353.7 kB / 0.7343 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.8104, allocations: 0.8381 MB / 0.7351 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.8123, allocations: 0.9918 MB / 0.7361 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.8142, allocations: 0.8953 MB / 0.737 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.8142, allocations: 0 / 0.737 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.006179/0.8204, allocations: 2.809 MB / 0.7397 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005779/0.821, allocations: 1.355 MB / 0.741 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.821, allocations: 4 kB / 0.741 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009565/0.8306, allocations: 3.003 MB / 0.744 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009638/0.8316, allocations: 171.7 kB / 0.7441 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/0.8382, allocations: 3.006 MB / 0.7471 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/0.8405, allocations: 258.8 kB / 0.7473 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.8407, allocations: 47.98 kB / 0.7474 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.8407, allocations: 4 kB / 0.7474 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005486/0.8462, allocations: 2.607 MB / 0.7499 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.8462, allocations: 4 kB / 0.7499 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009207/0.8554, allocations: 3.011 MB / 0.7529 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009108/0.8564, allocations: 165.7 kB / 0.753 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00665/0.863, allocations: 2.994 MB / 0.7559 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/0.8655, allocations: 255.8 kB / 0.7562 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.8656, allocations: 43.98 kB / 0.7562 GB, free: 8.441 MB / 0.5417 GB Warning: Assuming fixed start value for the following 2 variables: govHydroIEEE0_1.waterway.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] govHydroIEEE0_1.GovernorB.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (90): * Single equations (assignments): 89 * 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.0009522/0.8666, allocations: 364.6 kB / 0.7566 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004764/0.8671, allocations: 162 kB / 0.7567 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/0.8844, allocations: 5.951 MB / 0.7625 GB, free: 1.945 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/0.8845, allocations: 16 kB / 0.7625 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.8845, allocations: 0 / 0.7625 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.266e-05/0.8846, allocations: 3.984 kB / 0.7626 GB, free: 1.926 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.02068/0.9053, allocations: 7.873 MB / 0.7702 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/0.9053, allocations: 4 kB / 0.7702 GB, free: 9.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.9064, allocations: 135.8 kB / 0.7704 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007751/0.9141, allocations: 2.505 MB / 0.7728 GB, free: 7.266 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/0.9145, allocations: 31.98 kB / 0.7729 GB, free: 7.234 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02606/0.9406, allocations: 10.88 MB / 0.7835 GB, free: 12.21 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9406, allocations: 4 kB / 0.7835 GB, free: 12.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01978/0.9604, allocations: 7.18 MB / 0.7905 GB, free: 4.992 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008248/0.9613, allocations: 278.7 kB / 0.7908 GB, free: 4.699 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.9616, allocations: 23.95 kB / 0.7908 GB, free: 4.676 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.9634, allocations: 203.8 kB / 0.791 GB, free: 4.477 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007995/0.9642, allocations: 245.3 kB / 0.7912 GB, free: 4.234 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.9643, allocations: 36 kB / 0.7912 GB, free: 4.199 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001834/0.9661, allocations: 0.993 MB / 0.7922 GB, free: 3.207 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/0.9661, allocations: 0 / 0.7922 GB, free: 3.207 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002045/0.9682, allocations: 0.7333 MB / 0.7929 GB, free: 2.473 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (gENCLS.delta,gENCLS.eq,generator.w,generator.delta,generator.Epd,generator.Epq,generator.PSIkd,generator.PSIkq,govHydroIEEE0_1.GovernorA.TF.x_scaled[1],govHydroIEEE0_1.GovernorB.x_scaled[1],govHydroIEEE0_1.waterway.x_scaled[1],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 (80): * Single equations (assignments): 79 * 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.365/1.333, allocations: 7.861 MB / 0.8006 GB, free: 145.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0164/1.35, allocations: 4.729 MB / 0.8052 GB, free: 145.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.108e-06/1.35, allocations: 1.625 kB / 0.8052 GB, free: 145.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01075/1.36, allocations: 2.165 MB / 0.8073 GB, free: 145.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/1.363, allocations: 134.6 kB / 0.8075 GB, free: 145.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03922/1.402, allocations: 14.63 MB / 0.8218 GB, free: 139.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009931/1.403, allocations: 1.261 MB / 0.823 GB, free: 138.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009803/1.404, allocations: 160.7 kB / 0.8231 GB, free: 138.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008057/1.405, allocations: 0.5828 MB / 0.8237 GB, free: 138.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.051e-06/1.405, allocations: 0 / 0.8237 GB, free: 138.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08851/1.493, allocations: 42.94 MB / 0.8656 GB, free: 136.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.493, allocations: 211.5 kB / 0.8658 GB, free: 136.5 MB / 0.573 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_Controls_CGMES_TG_GovHydroIEEE0_Test.o OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test_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_Controls_CGMES_TG_GovHydroIEEE0_Test.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test_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_Controls_CGMES_TG_GovHydroIEEE0_Test.o] Error 1