Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.007854/0.007854, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.298/1.298, 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.0008079/0.0008079, allocations: 94.8 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05939/0.05939, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4399/0.4399, allocations: 78.53 MB / 459.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005447/0.0005448, allocations: 15.78 kB / 0.528 GB, free: 35.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1551, allocations: 69.25 MB / 0.5956 GB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.2981, allocations: 99.1 MB / 0.6924 GB, free: 1.059 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.2984, allocations: 79.95 kB / 0.6925 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3999/0.6983, allocations: 28.18 MB / 0.72 GB, free: 91.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6984, allocations: 0 / 0.72 GB, free: 91.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001027/0.6985, allocations: 23.81 kB / 0.72 GB, free: 91.1 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.006145/0.7046, allocations: 1.909 MB / 0.7219 GB, free: 89.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.7047, allocations: 15.98 kB / 0.7219 GB, free: 89.57 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004051/0.7051, allocations: 122.5 kB / 0.722 GB, free: 89.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/0.708, allocations: 493.9 kB / 0.7225 GB, free: 88.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.7098, allocations: 0.739 MB / 0.7232 GB, free: 88.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003381/0.7102, allocations: 349.3 kB / 0.7236 GB, free: 87.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/0.7104, allocations: 71.98 kB / 0.7236 GB, free: 87.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.713, allocations: 1.208 MB / 0.7248 GB, free: 86.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.713, allocations: 0 / 0.7248 GB, free: 86.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.7131, allocations: 28 kB / 0.7248 GB, free: 86.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.7131, allocations: 24 kB / 0.7249 GB, free: 86.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.7154, allocations: 1.171 MB / 0.726 GB, free: 85.25 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.006051/0.7215, allocations: 3.63 MB / 0.7295 GB, free: 81.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007065/0.7285, allocations: 3.072 MB / 0.7325 GB, free: 78.25 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.7287, allocations: 16.98 kB / 0.7326 GB, free: 78.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.7287, allocations: 43.56 kB / 0.7326 GB, free: 78.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=97): time 3.676e-06/0.7287, allocations: 0 / 0.7326 GB, free: 78.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.03575/0.7645, allocations: 10.64 MB / 0.743 GB, free: 67.51 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.7646, allocations: 94.09 kB / 0.7431 GB, free: 67.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.7662, allocations: 0.7786 MB / 0.7438 GB, free: 66.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.7664, allocations: 45.7 kB / 0.7439 GB, free: 66.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.7667, allocations: 476.8 kB / 0.7443 GB, free: 66.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004082/0.7671, allocations: 335 kB / 0.7447 GB, free: 65.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.7672, allocations: 16 kB / 0.7447 GB, free: 65.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.7673, allocations: 341.9 kB / 0.745 GB, free: 65.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.7687, allocations: 0.7047 MB / 0.7457 GB, free: 64.69 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.7701, allocations: 0.844 MB / 0.7465 GB, free: 63.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.7715, allocations: 0.7565 MB / 0.7472 GB, free: 63.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.7715, allocations: 0 / 0.7472 GB, free: 63.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01475/0.7863, allocations: 5.52 MB / 0.7526 GB, free: 57.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.7864, allocations: 12.03 kB / 0.7526 GB, free: 57.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.7864, allocations: 4 kB / 0.7527 GB, free: 57.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007358/0.7937, allocations: 2.673 MB / 0.7553 GB, free: 54.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/0.7943, allocations: 111.8 kB / 0.7554 GB, free: 54.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02724/0.8216, allocations: 12.3 MB / 0.7674 GB, free: 42.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.8234, allocations: 199.1 kB / 0.7676 GB, free: 42.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.8236, allocations: 39.92 kB / 0.7676 GB, free: 42.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (67): * Single equations (assignments): 66 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0006905/0.8243, allocations: 229.7 kB / 0.7678 GB, free: 41.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/0.8248, allocations: 114.6 kB / 0.7679 GB, free: 41.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/0.8394, allocations: 5.518 MB / 0.7733 GB, free: 36.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.8395, allocations: 12 kB / 0.7733 GB, free: 36.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.8395, allocations: 0 / 0.7733 GB, free: 36.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.082e-05/0.8395, allocations: 11.95 kB / 0.7733 GB, free: 36.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.8579, allocations: 7.14 MB / 0.7803 GB, free: 28.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.858, allocations: 8 kB / 0.7803 GB, free: 28.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.8585, allocations: 95.78 kB / 0.7804 GB, free: 28.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006892/0.8654, allocations: 2.509 MB / 0.7829 GB, free: 26.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.8655, allocations: 23.98 kB / 0.7829 GB, free: 26.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0237/0.8892, allocations: 10.78 MB / 0.7934 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8893, allocations: 3.938 kB / 0.7934 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/0.906, allocations: 6.625 MB / 0.7999 GB, free: 8.633 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006022/0.9067, allocations: 211.5 kB / 0.8001 GB, free: 8.406 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004866/0.9072, allocations: 23.92 kB / 0.8001 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.9087, allocations: 143.9 kB / 0.8003 GB, free: 8.242 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007623/0.9095, allocations: 229 kB / 0.8005 GB, free: 8.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.9096, allocations: 27.98 kB / 0.8005 GB, free: 7.992 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.9107, allocations: 0.6109 MB / 0.8011 GB, free: 7.371 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9107, allocations: 0 / 0.8011 GB, free: 7.371 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001958/0.9127, allocations: 463.5 kB / 0.8015 GB, free: 6.918 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,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 (55): * Single equations (assignments): 54 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.0171/0.9298, allocations: 7.281 MB / 0.8086 GB, free: 15.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008323/0.9382, allocations: 2.789 MB / 0.8114 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.9382, allocations: 0 / 0.8114 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006092/0.9443, allocations: 1.997 MB / 0.8133 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.9454, allocations: 88.11 kB / 0.8134 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03238/0.9778, allocations: 14.22 MB / 0.8273 GB, free: 12.11 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009689/0.9789, allocations: 1.107 MB / 0.8284 GB, free: 10.97 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.000517/0.9794, allocations: 69.75 kB / 0.8284 GB, free: 10.9 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007606/0.9802, allocations: 419.3 kB / 0.8288 GB, free: 10.49 MB / 0.4949 GB Notification: Performance of SimCode: time 6.91e-07/0.9802, allocations: 0 / 0.8288 GB, free: 10.49 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0691/1.049, allocations: 33.73 MB / 0.8618 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/1.05, allocations: 190.9 kB / 0.862 GB, free: 8.617 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_GENCLS.o OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS_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_GENCLS.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS_functions.h:137: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_GENCLS.o] Error 1