Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.009318/0.009318, allocations: 171.9 kB / 15.11 MB, free: 5.969 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.472/1.472, allocations: 223.2 MB / 239 MB, free: 48 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.0009409/0.0009414, allocations: 96.86 kB / 290.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5669/0.5669, allocations: 78.52 MB / 419.8 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004463, allocations: 11.98 kB / 499.8 MB, free: 6.977 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1645, allocations: 69.36 MB / 0.5558 GB, free: 1.637 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4871/0.6516, allocations: 110.8 MB / 0.664 GB, free: 7.449 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.6519, allocations: 93.38 kB / 0.6641 GB, free: 7.395 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1176/0.7695, allocations: 42.11 MB / 0.7052 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.996e-06/0.7696, allocations: 0 / 0.7052 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.925e-05/0.7697, allocations: 27.94 kB / 0.7053 GB, free: 13.54 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.007183/0.7769, allocations: 2.493 MB / 0.7077 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.7769, allocations: 8.031 kB / 0.7077 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002815/0.7772, allocations: 160.1 kB / 0.7078 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002931/0.7802, allocations: 0.5559 MB / 0.7084 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.7822, allocations: 1.014 MB / 0.7094 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004859/0.7827, allocations: 442.6 kB / 0.7098 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.7829, allocations: 103.8 kB / 0.7099 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/0.786, allocations: 1.494 MB / 0.7114 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.786, allocations: 0 / 0.7114 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.7861, allocations: 40 kB / 0.7114 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.7862, allocations: 24 kB / 0.7114 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/0.7892, allocations: 1.429 MB / 0.7128 GB, free: 5.59 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.009557/0.7988, allocations: 4.924 MB / 0.7176 GB, free: 456 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008844/0.8076, allocations: 3.435 MB / 0.721 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.8079, allocations: 28.88 kB / 0.721 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002426/0.8103, allocations: 1.129 MB / 0.7221 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=125): time 4.879e-06/0.8103, allocations: 0 / 0.7221 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125): time 0.04347/0.8538, allocations: 11.91 MB / 0.7337 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.8539, allocations: 115.8 kB / 0.7339 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.8563, allocations: 1.201 MB / 0.735 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003538/0.8566, allocations: 45.7 kB / 0.7351 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/0.8571, allocations: 0.628 MB / 0.7357 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/0.8577, allocations: 437.6 kB / 0.7361 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.8578, allocations: 32.06 kB / 0.7361 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.8579, allocations: 349.9 kB / 0.7365 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.8598, allocations: 0.842 MB / 0.7373 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.8617, allocations: 1.011 MB / 0.7383 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.8636, allocations: 0.9005 MB / 0.7392 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.8636, allocations: 3.953 kB / 0.7392 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006451/0.8701, allocations: 2.899 MB / 0.742 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.8702, allocations: 8 kB / 0.742 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.8702, allocations: 4 kB / 0.742 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/0.8807, allocations: 3.321 MB / 0.7452 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009191/0.8817, allocations: 151.8 kB / 0.7454 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007562/0.8892, allocations: 3.297 MB / 0.7486 GB, free: 368 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/0.8916, allocations: 254.8 kB / 0.7489 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.8917, allocations: 51.94 kB / 0.7489 GB, free: 60 kB / 0.5261 GB 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.0007194/0.8925, allocations: 277.7 kB / 0.7492 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.8928, allocations: 162 kB / 0.7493 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01664/0.9094, allocations: 5.83 MB / 0.755 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/0.9095, allocations: 23.95 kB / 0.755 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.9095, allocations: 0 / 0.755 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.95e-05/0.9096, allocations: 7.969 kB / 0.755 GB, free: 9.742 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.02204/0.9316, allocations: 7.862 MB / 0.7627 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/0.9317, allocations: 4 kB / 0.7627 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.9332, allocations: 143.8 kB / 0.7629 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01208/0.9453, allocations: 2.505 MB / 0.7653 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004782/0.9459, allocations: 27.98 kB / 0.7653 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03307/0.979, allocations: 10.86 MB / 0.7759 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.979, allocations: 7.938 kB / 0.7759 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02082/0.9998, allocations: 7.115 MB / 0.7829 GB, free: 12.89 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008843/1.001, allocations: 266.8 kB / 0.7832 GB, free: 12.61 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/1.001, allocations: 24 kB / 0.7832 GB, free: 12.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/1.003, allocations: 183.8 kB / 0.7834 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009364/1.004, allocations: 265.3 kB / 0.7836 GB, free: 12.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.004, allocations: 31.98 kB / 0.7836 GB, free: 12.11 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00167/1.006, allocations: 0.9386 MB / 0.7846 GB, free: 11.18 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/1.006, allocations: 0 / 0.7846 GB, free: 11.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001723/1.007, allocations: 499.3 kB / 0.785 GB, free: 10.69 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,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.02034/1.028, allocations: 7.88 MB / 0.7927 GB, free: 2.762 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.3945/1.422, allocations: 2.872 MB / 0.7955 GB, free: 149.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.422, allocations: 0 / 0.7955 GB, free: 149.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007185/1.429, allocations: 2.166 MB / 0.7976 GB, free: 149.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/1.431, allocations: 115.1 kB / 0.7978 GB, free: 149.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007832/1.439, allocations: 6.484 MB / 0.8041 GB, free: 145 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008692/1.44, allocations: 1.26 MB / 0.8053 GB, free: 144.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005694/1.44, allocations: 117.3 kB / 0.8054 GB, free: 144.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007792/1.441, allocations: 0.5997 MB / 0.806 GB, free: 144.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.984e-06/1.441, allocations: 0 / 0.806 GB, free: 144.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08204/1.523, allocations: 37.34 MB / 0.8425 GB, free: 142.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/1.523, allocations: 189.5 kB / 0.8427 GB, free: 142.2 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_ES_SCRX.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_model.h:24: ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.o] Error 1