Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.ES.ST5B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",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.009252/0.009252, allocations: 169.5 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.566/1.566, allocations: 223.2 MB / 239 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 99.7 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5375/0.5375, allocations: 79.44 MB / 420.7 MB, free: 43.76 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004021, allocations: 12 kB / 0.4891 GB, free: 1.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5254, allocations: 69.5 MB / 0.557 GB, free: 39.1 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.7057, allocations: 112.4 MB / 0.6668 GB, free: 9.141 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.7061, allocations: 96.56 kB / 0.6669 GB, free: 9.047 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1468/0.853, allocations: 50.79 MB / 0.7165 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.733e-06/0.853, allocations: 0 / 0.7165 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003144/0.8533, allocations: 47.94 kB / 0.7165 GB, free: 5.977 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.01179/0.8652, allocations: 3.085 MB / 0.7195 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.8652, allocations: 12.03 kB / 0.7195 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001091/0.8663, allocations: 219.1 kB / 0.7198 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005482/0.8718, allocations: 0.8013 MB / 0.7205 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00486/0.8767, allocations: 1.445 MB / 0.7219 GB, free: 308 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007001/0.8775, allocations: 465.5 kB / 0.7224 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008447/0.8783, allocations: 155.9 kB / 0.7225 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006504/0.8849, allocations: 2.137 MB / 0.7246 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-05/0.885, allocations: 3.938 kB / 0.7246 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004381/0.8854, allocations: 60 kB / 0.7247 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/0.8855, allocations: 36 kB / 0.7247 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005545/0.891, allocations: 1.947 MB / 0.7266 GB, free: 11.35 MB / 0.5261 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.02053/0.9116, allocations: 7.516 MB / 0.734 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/0.9226, allocations: 4.011 MB / 0.7379 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.9229, allocations: 21.98 kB / 0.7379 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003486/0.9264, allocations: 1.407 MB / 0.7393 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=163): time 6.362e-06/0.9264, allocations: 0 / 0.7393 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=163): time 0.05067/0.9771, allocations: 12.83 MB / 0.7518 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002771/0.9775, allocations: 300 kB / 0.7521 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005162/0.9826, allocations: 1.577 MB / 0.7536 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007331/0.9834, allocations: 57.7 kB / 0.7537 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.9848, allocations: 0.8798 MB / 0.7545 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/0.9863, allocations: 0.5738 MB / 0.7551 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005326/0.9868, allocations: 40 kB / 0.7551 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003525/0.9872, allocations: 369.9 kB / 0.7555 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003464/0.9907, allocations: 1.097 MB / 0.7566 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003804/0.9945, allocations: 1.41 MB / 0.7579 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00343/0.998, allocations: 1.18 MB / 0.7591 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.998, allocations: 4 kB / 0.7591 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01223/1.01, allocations: 4.37 MB / 0.7634 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001278/1.012, allocations: 2.485 MB / 0.7658 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.012, allocations: 11.94 kB / 0.7658 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4302/1.442, allocations: 4.15 MB / 0.7699 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/1.443, allocations: 209.2 kB / 0.7701 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01934/1.463, allocations: 6.612 MB / 0.7765 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004067/1.467, allocations: 335.3 kB / 0.7768 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004384/1.467, allocations: 67.06 kB / 0.7769 GB, free: 126 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.467, allocations: 4.406 kB / 0.7769 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009682/1.477, allocations: 3.577 MB / 0.7804 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/1.477, allocations: 5.469 kB / 0.7804 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01296/1.49, allocations: 3.896 MB / 0.7842 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.491, allocations: 208.3 kB / 0.7844 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/1.505, allocations: 9.646 MB / 0.7938 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/1.508, allocations: 275.1 kB / 0.7941 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/1.509, allocations: 70.06 kB / 0.7942 GB, free: 120.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.001695/1.51, allocations: 451.9 kB / 0.7946 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009775/1.511, allocations: 217.6 kB / 0.7948 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02024/1.532, allocations: 6.371 MB / 0.801 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.935e-05/1.532, allocations: 16.44 kB / 0.801 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.532, allocations: 7.938 kB / 0.801 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.256e-05/1.532, allocations: 6.703 kB / 0.801 GB, free: 119.6 MB / 0.5573 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.02764/1.559, allocations: 9.003 MB / 0.8098 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/1.56, allocations: 7.656 kB / 0.8098 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/1.561, allocations: 245 kB / 0.8101 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009002/1.57, allocations: 2.51 MB / 0.8125 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005959/1.571, allocations: 37.08 kB / 0.8126 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02915/1.6, allocations: 10.88 MB / 0.8232 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.6, allocations: 2.5 kB / 0.8232 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02343/1.624, allocations: 7.882 MB / 0.8309 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.625, allocations: 342.5 kB / 0.8312 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/1.626, allocations: 29.81 kB / 0.8312 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002833/1.629, allocations: 237.1 kB / 0.8315 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/1.63, allocations: 276.1 kB / 0.8317 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/1.631, allocations: 48.97 kB / 0.8318 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002825/1.633, allocations: 1.224 MB / 0.833 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/1.633, allocations: 0 / 0.833 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005096/1.639, allocations: 0.9912 MB / 0.8339 GB, free: 111.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 119 * 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.02199/1.661, allocations: 8.65 MB / 0.8424 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01971/1.68, allocations: 6.574 MB / 0.8488 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.68, allocations: 4.25 kB / 0.8488 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007176/1.688, allocations: 2.413 MB / 0.8512 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.69, allocations: 207.1 kB / 0.8514 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.704, allocations: 9.734 MB / 0.8609 GB, free: 97.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/1.706, allocations: 1.472 MB / 0.8623 GB, free: 95.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001395/1.707, allocations: 185.1 kB / 0.8625 GB, free: 95.83 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/1.709, allocations: 0.8426 MB / 0.8633 GB, free: 95.05 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/1.709, allocations: 4 kB / 0.8633 GB, free: 95.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09978/1.808, allocations: 57.34 MB / 0.9193 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/1.809, allocations: 188.1 kB / 0.9195 GB, free: 48.66 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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.o] Error 1