Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",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.006156/0.006156, allocations: 171.8 kB / 15.11 MB, free: 5.973 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.596/1.596, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009187/0.0009187, allocations: 94.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0649/0.0649, allocations: 12.19 MB / 330 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.4394/0.4394, allocations: 78.52 MB / 459.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005059, allocations: 16.5 kB / 0.528 GB, free: 35.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1468, allocations: 69.24 MB / 0.5956 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5063/0.6531, allocations: 112.3 MB / 0.7053 GB, free: 33.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/0.6535, allocations: 91.3 kB / 0.7054 GB, free: 33.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1088/0.7624, allocations: 41.06 MB / 0.7455 GB, free: 25.36 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7624, allocations: 0 / 0.7455 GB, free: 25.36 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001707/0.7626, allocations: 39.12 kB / 0.7455 GB, free: 25.35 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.009387/0.772, allocations: 2.482 MB / 0.7479 GB, free: 23.94 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.7721, allocations: 11.7 kB / 0.748 GB, free: 23.94 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005582/0.7726, allocations: 160.8 kB / 0.7481 GB, free: 23.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.7761, allocations: 0.5663 MB / 0.7487 GB, free: 23.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00271/0.7788, allocations: 1.019 MB / 0.7497 GB, free: 23.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/0.7793, allocations: 434.1 kB / 0.7501 GB, free: 22.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003773/0.7796, allocations: 102.2 kB / 0.7502 GB, free: 22.76 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.7823, allocations: 1.489 MB / 0.7516 GB, free: 22.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.7823, allocations: 3.938 kB / 0.7516 GB, free: 22.36 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.7824, allocations: 39.75 kB / 0.7517 GB, free: 22.36 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.7824, allocations: 23.22 kB / 0.7517 GB, free: 22.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.7851, allocations: 1.425 MB / 0.7531 GB, free: 22.14 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.008482/0.7936, allocations: 4.934 MB / 0.7579 GB, free: 19.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00817/0.8018, allocations: 3.446 MB / 0.7613 GB, free: 18.31 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.802, allocations: 16.45 kB / 0.7613 GB, free: 18.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00211/0.8041, allocations: 1.136 MB / 0.7624 GB, free: 17.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=125): time 3.176e-06/0.8042, allocations: 0 / 0.7624 GB, free: 17.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=125): time 0.04118/0.8453, allocations: 11.9 MB / 0.774 GB, free: 13.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.8455, allocations: 124.6 kB / 0.7741 GB, free: 13.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.848, allocations: 1.205 MB / 0.7753 GB, free: 13.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003305/0.8484, allocations: 51.02 kB / 0.7754 GB, free: 13.37 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.8489, allocations: 0.6153 MB / 0.776 GB, free: 13.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006961/0.8496, allocations: 450.5 kB / 0.7764 GB, free: 12.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.8497, allocations: 22.12 kB / 0.7764 GB, free: 12.72 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8499, allocations: 360.2 kB / 0.7767 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.8516, allocations: 0.8401 MB / 0.7776 GB, free: 11.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.8534, allocations: 1.007 MB / 0.7786 GB, free: 11.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.8551, allocations: 0.8993 MB / 0.7794 GB, free: 10.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/0.8552, allocations: 0 / 0.7794 GB, free: 10.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005744/0.8609, allocations: 2.897 MB / 0.7823 GB, free: 8.391 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.861, allocations: 4 kB / 0.7823 GB, free: 8.387 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.861, allocations: 7.938 kB / 0.7823 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009146/0.8701, allocations: 3.325 MB / 0.7855 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.8709, allocations: 150.9 kB / 0.7857 GB, free: 5.254 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/0.8772, allocations: 3.301 MB / 0.7889 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.8794, allocations: 253.8 kB / 0.7891 GB, free: 2.477 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.8796, allocations: 46.98 kB / 0.7892 GB, free: 2.441 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: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 {34 41} Notification: Performance of prepare postOptimizeDAE: time 0.0007543/0.8804, allocations: 279.8 kB / 0.7894 GB, free: 2.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/0.8808, allocations: 169.8 kB / 0.7896 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/0.8969, allocations: 5.82 MB / 0.7953 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.897, allocations: 12 kB / 0.7953 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.897, allocations: 4 kB / 0.7953 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.734e-05/0.8971, allocations: 7.984 kB / 0.7953 GB, free: 13.09 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.02068/0.9177, allocations: 7.867 MB / 0.803 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/0.9178, allocations: 0 / 0.803 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.9189, allocations: 135.8 kB / 0.8031 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007792/0.9267, allocations: 2.52 MB / 0.8056 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/0.9269, allocations: 27.98 kB / 0.8056 GB, free: 2.609 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02594/0.9529, allocations: 10.88 MB / 0.8162 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9529, allocations: 0 / 0.8162 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0202/0.9731, allocations: 7.104 MB / 0.8232 GB, free: 456 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008746/0.9741, allocations: 278.8 kB / 0.8234 GB, free: 156 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/0.9743, allocations: 20 kB / 0.8235 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/0.976, allocations: 179.8 kB / 0.8236 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008896/0.9769, allocations: 261.2 kB / 0.8239 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.977, allocations: 39.98 kB / 0.8239 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001638/0.9787, allocations: 0.9386 MB / 0.8248 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9787, allocations: 0 / 0.8248 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001432/0.9801, allocations: 0.4954 MB / 0.8253 GB, free: 14.23 MB / 0.5105 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,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,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 (82): * Single equations (assignments): 81 * 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.0206/1.001, allocations: 7.881 MB / 0.833 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008433/1.009, allocations: 2.868 MB / 0.8358 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.009, allocations: 0 / 0.8358 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006456/1.016, allocations: 2.163 MB / 0.8379 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/1.017, allocations: 121.7 kB / 0.838 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008873/1.026, allocations: 6.5 MB / 0.8444 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008804/1.027, allocations: 1.254 MB / 0.8456 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005654/1.028, allocations: 120.5 kB / 0.8457 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007906/1.028, allocations: 0.593 MB / 0.8463 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of SimCode: time 8.31e-07/1.028, allocations: 4 kB / 0.8463 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06758/1.096, allocations: 37.34 MB / 0.8828 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/1.096, allocations: 193.2 kB / 0.883 GB, free: 3.055 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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_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_PSSE_ES_SCRX.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_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_PSSE_ES_SCRX.o] Error 1