Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.EXNI,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",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.009369/0.009369, allocations: 170.8 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.46/1.46, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008771/0.0008772, allocations: 94.73 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6084/0.6084, allocations: 78.51 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003547, allocations: 8 kB / 499.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5236/0.524, allocations: 69.34 MB / 0.5558 GB, free: 38.99 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.6758, allocations: 110.3 MB / 0.6636 GB, free: 12 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.6761, allocations: 87.95 kB / 0.6636 GB, free: 11.92 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1123/0.7884, allocations: 42.37 MB / 0.705 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7885, allocations: 0 / 0.705 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.103e-05/0.7886, allocations: 31.94 kB / 0.7051 GB, free: 1.297 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.006854/0.7954, allocations: 2.455 MB / 0.7074 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.7955, allocations: 8.031 kB / 0.7075 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003489/0.7959, allocations: 164.3 kB / 0.7076 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.7989, allocations: 0.5559 MB / 0.7082 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.801, allocations: 0.9942 MB / 0.7091 GB, free: 13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004676/0.8015, allocations: 462.4 kB / 0.7096 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.8017, allocations: 111.9 kB / 0.7097 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.8048, allocations: 1.529 MB / 0.7112 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.8048, allocations: 0 / 0.7112 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.8049, allocations: 43.98 kB / 0.7112 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.805, allocations: 24 kB / 0.7112 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.8081, allocations: 1.444 MB / 0.7126 GB, free: 9.305 MB / 0.5105 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.009944/0.8181, allocations: 4.914 MB / 0.7174 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009126/0.8272, allocations: 3.581 MB / 0.7209 GB, free: 452 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002953/0.8276, allocations: 28.97 kB / 0.721 GB, free: 424 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/0.8276, allocations: 51.56 kB / 0.721 GB, free: 364 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=127): time 3.656e-06/0.8276, allocations: 0 / 0.721 GB, free: 364 kB / 0.5105 GB Notification: Performance of matching and sorting (n=127): time 0.04225/0.8699, allocations: 11.66 MB / 0.7324 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.8701, allocations: 141.5 kB / 0.7325 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.8724, allocations: 1.142 MB / 0.7336 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004359/0.8729, allocations: 45.7 kB / 0.7337 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/0.8734, allocations: 0.6359 MB / 0.7343 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/0.8739, allocations: 453.3 kB / 0.7347 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.874, allocations: 24 kB / 0.7348 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8742, allocations: 361.9 kB / 0.7351 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.876, allocations: 0.8589 MB / 0.736 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.8779, allocations: 1.031 MB / 0.737 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.8797, allocations: 0.9122 MB / 0.7379 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.8798, allocations: 4 kB / 0.7379 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006462/0.8862, allocations: 2.985 MB / 0.7408 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005758/0.8868, allocations: 1.445 MB / 0.7422 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.8868, allocations: 0 / 0.7422 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.8975, allocations: 3.415 MB / 0.7455 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/0.8984, allocations: 159.8 kB / 0.7457 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007401/0.9058, allocations: 3.368 MB / 0.749 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.9081, allocations: 238.7 kB / 0.7492 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.9083, allocations: 59.97 kB / 0.7492 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.9084, allocations: 4 kB / 0.7492 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005957/0.9143, allocations: 2.775 MB / 0.752 GB, free: 308 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.9144, allocations: 4 kB / 0.752 GB, free: 304 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/0.9249, allocations: 3.38 MB / 0.7553 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008897/0.9259, allocations: 159.8 kB / 0.7554 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007633/0.9335, allocations: 3.309 MB / 0.7586 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/0.9359, allocations: 230.8 kB / 0.7589 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.9361, allocations: 51.98 kB / 0.7589 GB, free: 9.141 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (eXNI.booleanConstant.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009269/0.937, allocations: 352.9 kB / 0.7593 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005252/0.9376, allocations: 166 kB / 0.7594 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01797/0.9555, allocations: 6.004 MB / 0.7653 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.9556, allocations: 12 kB / 0.7653 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.9556, allocations: 11.94 kB / 0.7653 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-05/0.9557, allocations: 7.969 kB / 0.7653 GB, free: 2.566 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.3731/1.329, allocations: 8.103 MB / 0.7732 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/1.329, allocations: 0 / 0.7732 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.33, allocations: 143 kB / 0.7734 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007717/1.338, allocations: 2.59 MB / 0.7759 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000359/1.338, allocations: 27.25 kB / 0.7759 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02733/1.365, allocations: 12.62 MB / 0.7882 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.365, allocations: 3.953 kB / 0.7882 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/1.385, allocations: 7.262 MB / 0.7953 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000788/1.386, allocations: 274.4 kB / 0.7956 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/1.386, allocations: 23.94 kB / 0.7956 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/1.388, allocations: 169.7 kB / 0.7958 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008204/1.388, allocations: 258 kB / 0.796 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.389, allocations: 33.36 kB / 0.796 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001328/1.39, allocations: 0.892 MB / 0.7969 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.41e-07/1.39, allocations: 0 / 0.7969 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002326/1.392, allocations: 0.7712 MB / 0.7977 GB, free: 132.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.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 (80): * Single equations (assignments): 78 * 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 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0203/1.413, allocations: 8.024 MB / 0.8055 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01541/1.428, allocations: 4.877 MB / 0.8103 GB, free: 130 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/1.428, allocations: 192 / 0.8103 GB, free: 130 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006925/1.435, allocations: 2.299 MB / 0.8125 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.437, allocations: 124.2 kB / 0.8126 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007874/1.444, allocations: 6.657 MB / 0.8191 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008354/1.445, allocations: 1.259 MB / 0.8204 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006691/1.446, allocations: 129 kB / 0.8205 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007119/1.447, allocations: 0.5856 MB / 0.8211 GB, free: 123 MB / 0.5573 GB Notification: Performance of SimCode: time 8.72e-07/1.447, allocations: 3.5 kB / 0.8211 GB, free: 123 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07225/1.519, allocations: 43.91 MB / 0.8639 GB, free: 108 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/1.519, allocations: 181.9 kB / 0.8641 GB, free: 107.8 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_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_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_EXNI.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_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_EXNI.o] Error 1