Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.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.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.004866/0.004866, 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.337/1.337, 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.0009175/0.0009175, allocations: 98.78 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.06458/0.06458, 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.4255/0.4255, allocations: 78.52 MB / 459.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004675, allocations: 18.84 kB / 0.528 GB, free: 35.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 69.24 MB / 0.5956 GB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.518, allocations: 110.9 MB / 0.7039 GB, free: 39.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.5183, allocations: 90.59 kB / 0.704 GB, free: 39.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1034/0.6218, allocations: 41.08 MB / 0.7441 GB, free: 30.17 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.6218, allocations: 7.875 kB / 0.7441 GB, free: 30.17 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001646/0.622, allocations: 23.34 kB / 0.7442 GB, free: 30.17 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.009008/0.631, allocations: 2.525 MB / 0.7466 GB, free: 28.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.6311, allocations: 15.05 kB / 0.7467 GB, free: 28.71 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006364/0.6317, allocations: 146.2 kB / 0.7468 GB, free: 28.65 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/0.6352, allocations: 0.5542 MB / 0.7473 GB, free: 28.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/0.6383, allocations: 1.108 MB / 0.7484 GB, free: 27.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004056/0.6388, allocations: 392.1 kB / 0.7488 GB, free: 27.51 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.6391, allocations: 97.98 kB / 0.7489 GB, free: 27.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.6422, allocations: 1.467 MB / 0.7503 GB, free: 27.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.6422, allocations: 0 / 0.7503 GB, free: 27.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.6424, allocations: 36.91 kB / 0.7503 GB, free: 27.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.6424, allocations: 23.56 kB / 0.7504 GB, free: 27.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.6452, allocations: 1.458 MB / 0.7518 GB, free: 26.86 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.008659/0.6539, allocations: 4.781 MB / 0.7565 GB, free: 24.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007954/0.6619, allocations: 3.481 MB / 0.7599 GB, free: 23.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.6621, allocations: 36.17 kB / 0.7599 GB, free: 23.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.6621, allocations: 50.44 kB / 0.7599 GB, free: 23.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=123): time 3.456e-06/0.6621, allocations: 0 / 0.7599 GB, free: 23.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=123): time 0.0414/0.7035, allocations: 12.15 MB / 0.7718 GB, free: 18.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.7037, allocations: 127.2 kB / 0.7719 GB, free: 18.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/0.7066, allocations: 1.242 MB / 0.7731 GB, free: 18.34 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002918/0.7069, allocations: 47.45 kB / 0.7732 GB, free: 18.31 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.7074, allocations: 0.626 MB / 0.7738 GB, free: 18.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006291/0.708, allocations: 433.2 kB / 0.7742 GB, free: 17.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.7081, allocations: 23.06 kB / 0.7742 GB, free: 17.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.7083, allocations: 352.2 kB / 0.7746 GB, free: 17.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.71, allocations: 0.8358 MB / 0.7754 GB, free: 17.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.7118, allocations: 0.9995 MB / 0.7764 GB, free: 16.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.7135, allocations: 0.8962 MB / 0.7772 GB, free: 16.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.7136, allocations: 7.875 kB / 0.7772 GB, free: 16.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.005564/0.7191, allocations: 2.808 MB / 0.78 GB, free: 13.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002854/0.7194, allocations: 1.355 MB / 0.7813 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.7195, allocations: 4 kB / 0.7813 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008552/0.728, allocations: 3.004 MB / 0.7842 GB, free: 9.824 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007803/0.7288, allocations: 171.3 kB / 0.7844 GB, free: 9.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/0.7345, allocations: 2.999 MB / 0.7873 GB, free: 7.309 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.7368, allocations: 264.5 kB / 0.7876 GB, free: 7.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.7369, allocations: 42.84 kB / 0.7876 GB, free: 7.035 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.737, allocations: 7.938 kB / 0.7876 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004761/0.7417, allocations: 2.608 MB / 0.7902 GB, free: 5.227 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7417, allocations: 0 / 0.7902 GB, free: 5.227 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008359/0.7501, allocations: 3.005 MB / 0.7931 GB, free: 2.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000759/0.7509, allocations: 165 kB / 0.7933 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/0.7566, allocations: 3.001 MB / 0.7962 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.7589, allocations: 253.5 kB / 0.7965 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.7591, allocations: 45.61 kB / 0.7965 GB, free: 15.73 MB / 490.7 MB 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.0009108/0.76, allocations: 360.8 kB / 0.7968 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006431/0.7607, allocations: 162 kB / 0.797 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01765/0.7783, allocations: 5.954 MB / 0.8028 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.7784, allocations: 19.94 kB / 0.8028 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.7784, allocations: 4 kB / 0.8028 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.409e-05/0.7784, allocations: 7.969 kB / 0.8028 GB, free: 9.727 MB / 490.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.0208/0.7992, allocations: 7.873 MB / 0.8105 GB, free: 1.711 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.7993, allocations: 0 / 0.8105 GB, free: 1.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.8004, allocations: 135.8 kB / 0.8107 GB, free: 1.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007647/0.808, allocations: 2.505 MB / 0.8131 GB, free: 15.07 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002765/0.8083, allocations: 27.98 kB / 0.8131 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02755/0.8359, allocations: 10.88 MB / 0.8238 GB, free: 4.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.8359, allocations: 3.953 kB / 0.8238 GB, free: 4.016 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0213/0.8573, allocations: 7.183 MB / 0.8308 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008658/0.8582, allocations: 274.8 kB / 0.831 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006059/0.8588, allocations: 24 kB / 0.8311 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/0.861, allocations: 199.8 kB / 0.8312 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009021/0.862, allocations: 245.3 kB / 0.8315 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/0.8622, allocations: 32 kB / 0.8315 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002191/0.8644, allocations: 0.9969 MB / 0.8325 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8644, allocations: 0 / 0.8325 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00304/0.8674, allocations: 0.7372 MB / 0.8332 GB, free: 10.29 MB / 0.5105 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.0211/0.8885, allocations: 7.869 MB / 0.8409 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01644/0.9051, allocations: 4.735 MB / 0.8455 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.9051, allocations: 0 / 0.8455 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0068/0.9119, allocations: 2.163 MB / 0.8476 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.9138, allocations: 142.9 kB / 0.8478 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02813/0.942, allocations: 14.64 MB / 0.8621 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.9431, allocations: 1.272 MB / 0.8633 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009858/0.9441, allocations: 160.3 kB / 0.8635 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.9451, allocations: 0.5852 MB / 0.864 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of SimCode: time 9.32e-07/0.9452, allocations: 0 / 0.864 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08065/1.026, allocations: 42.97 MB / 0.906 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004673/1.026, allocations: 210.8 kB / 0.9062 GB, free: 14.98 MB / 0.5886 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_Controls_CGMES_TG_GovHydroIEEE0_Test.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test.c:7: In file included from ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test_model.h:24: ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test.o] Error 1