Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",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.007136/0.007137, allocations: 171.3 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.54/1.54, allocations: 223.2 MB / 239 MB, free: 76 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.0009555/0.0009555, allocations: 100.3 kB / 290.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5135/0.5135, allocations: 78.51 MB / 419.8 MB, free: 36.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 8 kB / 499.8 MB, free: 7.008 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 69.36 MB / 0.5558 GB, free: 1.66 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5272/0.6794, allocations: 109.7 MB / 0.663 GB, free: 8.539 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.6797, allocations: 93.52 kB / 0.663 GB, free: 8.488 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1138/0.7936, allocations: 41.03 MB / 0.7031 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7937, allocations: 0 / 0.7031 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.939e-05/0.7937, allocations: 28 kB / 0.7031 GB, free: 15.71 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.007441/0.8012, allocations: 2.43 MB / 0.7055 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.8013, allocations: 8.031 kB / 0.7055 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003906/0.8017, allocations: 151.6 kB / 0.7057 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/0.8048, allocations: 0.5481 MB / 0.7062 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.807, allocations: 0.9807 MB / 0.7072 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004805/0.8075, allocations: 440.4 kB / 0.7076 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.8077, allocations: 95.91 kB / 0.7077 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.8107, allocations: 1.427 MB / 0.7091 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.8107, allocations: 0 / 0.7091 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.8109, allocations: 37.78 kB / 0.7091 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.8109, allocations: 20 kB / 0.7091 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/0.814, allocations: 1.39 MB / 0.7105 GB, free: 7.996 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.009377/0.8234, allocations: 4.649 MB / 0.715 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009169/0.8326, allocations: 3.446 MB / 0.7184 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.8329, allocations: 24.92 kB / 0.7184 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002553/0.8354, allocations: 1.12 MB / 0.7195 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=124): time 2.956e-06/0.8355, allocations: 0 / 0.7195 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124): time 0.04563/0.8811, allocations: 12.16 MB / 0.7314 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.8812, allocations: 127.9 kB / 0.7315 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.8835, allocations: 1.139 MB / 0.7326 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003144/0.8838, allocations: 45.7 kB / 0.7327 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.8843, allocations: 0.6044 MB / 0.7332 GB, free: 224 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005535/0.8849, allocations: 437.7 kB / 0.7337 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.885, allocations: 24 kB / 0.7337 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.8852, allocations: 361.7 kB / 0.734 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.887, allocations: 0.8224 MB / 0.7348 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.8889, allocations: 0.9871 MB / 0.7358 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.8908, allocations: 0.8732 MB / 0.7366 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.8908, allocations: 9.625 kB / 0.7367 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.006379/0.8972, allocations: 2.809 MB / 0.7394 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.8972, allocations: 4 kB / 0.7394 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.8973, allocations: 4 kB / 0.7394 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.9075, allocations: 3.058 MB / 0.7424 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.9085, allocations: 179.7 kB / 0.7426 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/0.9151, allocations: 2.999 MB / 0.7455 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/0.9178, allocations: 246.8 kB / 0.7457 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/0.918, allocations: 47.98 kB / 0.7458 GB, free: 3.281 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0008423/0.9189, allocations: 265.7 kB / 0.746 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004736/0.9193, allocations: 166 kB / 0.7462 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01726/0.9366, allocations: 5.873 MB / 0.7519 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.9367, allocations: 16 kB / 0.7519 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.9367, allocations: 0 / 0.7519 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-05/0.9367, allocations: 3.984 kB / 0.7519 GB, free: 12.94 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.01987/0.9566, allocations: 7.856 MB / 0.7596 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.9567, allocations: 3.953 kB / 0.7596 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.9577, allocations: 143.8 kB / 0.7598 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007789/0.9655, allocations: 2.499 MB / 0.7622 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002879/0.9658, allocations: 31.98 kB / 0.7622 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02644/0.9922, allocations: 10.89 MB / 0.7729 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.9923, allocations: 4 kB / 0.7729 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/1.012, allocations: 7.04 MB / 0.7797 GB, free: 128 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008738/1.013, allocations: 275 kB / 0.78 GB, free: 15.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005461/1.013, allocations: 27.94 kB / 0.78 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/1.015, allocations: 183.8 kB / 0.7802 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008582/1.016, allocations: 261.1 kB / 0.7805 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.016, allocations: 36 kB / 0.7805 GB, free: 15.34 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001546/1.018, allocations: 0.8938 MB / 0.7814 GB, free: 14.45 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.018, allocations: 0 / 0.7814 GB, free: 14.45 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001495/1.02, allocations: 491.5 kB / 0.7818 GB, free: 13.96 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.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 (81): * Single equations (assignments): 80 * 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.01958/1.039, allocations: 7.792 MB / 0.7894 GB, free: 6.125 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.008355/1.048, allocations: 2.799 MB / 0.7922 GB, free: 3.332 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/1.048, allocations: 0 / 0.7922 GB, free: 3.332 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006319/1.054, allocations: 2.159 MB / 0.7943 GB, free: 1.164 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/1.055, allocations: 115.3 kB / 0.7944 GB, free: 1.055 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.372/1.427, allocations: 6.228 MB / 0.8005 GB, free: 146.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008528/1.428, allocations: 1.237 MB / 0.8017 GB, free: 146 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007281/1.429, allocations: 121.7 kB / 0.8018 GB, free: 146 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/1.429, allocations: 0.5726 MB / 0.8024 GB, free: 146 MB / 0.573 GB Notification: Performance of SimCode: time 8.82e-07/1.43, allocations: 0 / 0.8024 GB, free: 146 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07863/1.508, allocations: 35.98 MB / 0.8375 GB, free: 144.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/1.508, allocations: 186.3 kB / 0.8377 GB, free: 144.1 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_PSSE_TG_TGOV1.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_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_PSSE_TG_TGOV1.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_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_PSSE_TG_TGOV1.o] Error 1