Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.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.ESST4B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",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.005412/0.005412, allocations: 171.1 kB / 15.11 MB, free: 5.988 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.428/1.428, allocations: 205.4 MB / 221.2 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.0008516/0.0008516, allocations: 94.81 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07034/0.07034, allocations: 12.2 MB / 330 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4662/0.4662, allocations: 78.52 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004792, allocations: 20.5 kB / 0.528 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1311, allocations: 69.24 MB / 0.5956 GB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4969/0.6281, allocations: 114.2 MB / 0.7071 GB, free: 33.18 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/0.6285, allocations: 90.05 kB / 0.7072 GB, free: 33.18 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1259/0.7544, allocations: 46.78 MB / 0.7529 GB, free: 22.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.7544, allocations: 0 / 0.7529 GB, free: 22.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001754/0.7546, allocations: 43 kB / 0.7529 GB, free: 22.68 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.009411/0.764, allocations: 2.772 MB / 0.7556 GB, free: 21.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.7641, allocations: 11.58 kB / 0.7557 GB, free: 21.15 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000665/0.7648, allocations: 188.2 kB / 0.7558 GB, free: 21.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004013/0.7688, allocations: 0.6892 MB / 0.7565 GB, free: 20.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.7716, allocations: 1.118 MB / 0.7576 GB, free: 20.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005063/0.7721, allocations: 0.5089 MB / 0.7581 GB, free: 19.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004075/0.7726, allocations: 120.4 kB / 0.7582 GB, free: 19.81 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003296/0.7759, allocations: 1.781 MB / 0.76 GB, free: 19.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.7759, allocations: 7.891 kB / 0.76 GB, free: 19.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.7761, allocations: 44.81 kB / 0.76 GB, free: 19.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.7761, allocations: 31.03 kB / 0.76 GB, free: 19.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003222/0.7793, allocations: 1.667 MB / 0.7617 GB, free: 18.99 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.009761/0.7891, allocations: 5.941 MB / 0.7675 GB, free: 15.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/0.7995, allocations: 4.087 MB / 0.7715 GB, free: 14.37 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.7999, allocations: 31.86 kB / 0.7715 GB, free: 14.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.7999, allocations: 58.45 kB / 0.7715 GB, free: 14.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=136): time 4.879e-06/0.7999, allocations: 0 / 0.7715 GB, free: 14.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=136): time 0.04216/0.8421, allocations: 12.64 MB / 0.7839 GB, free: 6.141 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.8422, allocations: 197.2 kB / 0.7841 GB, free: 5.906 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.8448, allocations: 1.228 MB / 0.7853 GB, free: 5.004 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004629/0.8453, allocations: 52.83 kB / 0.7853 GB, free: 4.965 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/0.8459, allocations: 0.7121 MB / 0.786 GB, free: 4.594 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007802/0.8467, allocations: 479.3 kB / 0.7865 GB, free: 4.188 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.847, allocations: 29.19 kB / 0.7865 GB, free: 4.184 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.8471, allocations: 359.7 kB / 0.7868 GB, free: 3.848 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.8492, allocations: 0.999 MB / 0.7878 GB, free: 3.137 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.8513, allocations: 1.212 MB / 0.789 GB, free: 2.172 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.8533, allocations: 1.049 MB / 0.79 GB, free: 1.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.8533, allocations: 4 kB / 0.79 GB, free: 1.477 MB / 474.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.007327/0.8606, allocations: 3.425 MB / 0.7934 GB, free: 14.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008532/0.8615, allocations: 1.717 MB / 0.795 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.8616, allocations: 8 kB / 0.7951 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0144/0.876, allocations: 4.021 MB / 0.799 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009859/0.877, allocations: 180.8 kB / 0.7992 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009965/0.887, allocations: 3.808 MB / 0.8029 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.8896, allocations: 302.4 kB / 0.8032 GB, free: 5.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/0.8899, allocations: 55.98 kB / 0.8032 GB, free: 5.566 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.8899, allocations: 7.938 kB / 0.8032 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007783/0.8977, allocations: 3.096 MB / 0.8062 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.8978, allocations: 4 kB / 0.8063 GB, free: 2.453 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01409/0.9119, allocations: 3.914 MB / 0.8101 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009946/0.9129, allocations: 187.7 kB / 0.8103 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009978/0.9229, allocations: 3.619 MB / 0.8138 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.9256, allocations: 266.8 kB / 0.814 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/0.9259, allocations: 51.98 kB / 0.8141 GB, free: 10.39 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (eSST4B.VM1.local_reset,eSST4B.VR1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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 {35 58} Notification: Performance of prepare postOptimizeDAE: time 0.001055/0.9269, allocations: 365 kB / 0.8144 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006497/0.9276, allocations: 177.8 kB / 0.8146 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/0.9464, allocations: 6.274 MB / 0.8207 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/0.9465, allocations: 16 kB / 0.8208 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.9465, allocations: 3.953 kB / 0.8208 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.378e-05/0.9466, allocations: 3.984 kB / 0.8208 GB, free: 3.523 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 postOpt removeSimpleEquations (simulation): time 0.02534/0.9719, allocations: 8.518 MB / 0.8291 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/0.972, allocations: 0 / 0.8291 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.9734, allocations: 187.8 kB / 0.8293 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008517/0.9819, allocations: 2.607 MB / 0.8318 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004486/0.9824, allocations: 27.98 kB / 0.8318 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03007/1.013, allocations: 12.71 MB / 0.8442 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.013, allocations: 8.047 kB / 0.8442 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02274/1.035, allocations: 7.645 MB / 0.8517 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.036, allocations: 290.4 kB / 0.852 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008558/1.037, allocations: 35.92 kB / 0.852 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/1.04, allocations: 203.8 kB / 0.8522 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001302/1.041, allocations: 285.2 kB / 0.8525 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/1.042, allocations: 35.98 kB / 0.8525 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002309/1.044, allocations: 0.9655 MB / 0.8535 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/1.044, allocations: 0 / 0.8535 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004197/1.048, allocations: 0.8423 MB / 0.8543 GB, free: 0.7539 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSST4B.VA.state,eSST4B.VR1.y,eSST4B.VM1.y,eSST4B.TransducerDelay.state,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 (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02257/1.071, allocations: 8.392 MB / 0.8625 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01817/1.089, allocations: 5.349 MB / 0.8677 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.089, allocations: 0 / 0.8677 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007988/1.097, allocations: 2.454 MB / 0.8701 GB, free: 488 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/1.1, allocations: 145.5 kB / 0.8702 GB, free: 340 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/1.114, allocations: 7.615 MB / 0.8777 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/1.116, allocations: 1.319 MB / 0.879 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001032/1.117, allocations: 141.5 kB / 0.8791 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.118, allocations: 0.6516 MB / 0.8797 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of SimCode: time 2.124e-06/1.118, allocations: 0 / 0.8797 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4513/1.569, allocations: 49.19 MB / 0.9278 GB, free: 181.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/1.569, allocations: 196.4 kB / 0.928 GB, free: 181.3 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_PSSE_ES_ESST4B.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B_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_ESST4B.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B_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_ESST4B.o] Error 1