Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.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.ESST4B,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.006061/0.00606, allocations: 169.3 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.549/1.549, allocations: 223.2 MB / 239 MB, free: 1.797 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.001/0.001001, allocations: 98.52 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5266/0.5266, allocations: 78.52 MB / 419.8 MB, free: 43.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004395, allocations: 12 kB / 499.8 MB, free: 2.664 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.5102, allocations: 69.34 MB / 0.5558 GB, free: 38.49 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.6719, allocations: 112.6 MB / 0.6658 GB, free: 9.621 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.6723, allocations: 87.95 kB / 0.6659 GB, free: 9.535 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1309/0.8031, allocations: 47.85 MB / 0.7126 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8032, allocations: 0 / 0.7126 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.799e-05/0.8033, allocations: 32 kB / 0.7127 GB, free: 9.418 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.008317/0.8116, allocations: 2.783 MB / 0.7154 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.8117, allocations: 8.031 kB / 0.7154 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005072/0.8122, allocations: 181.3 kB / 0.7156 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003908/0.8161, allocations: 0.6844 MB / 0.7162 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.8188, allocations: 1.109 MB / 0.7173 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005786/0.8194, allocations: 0.5043 MB / 0.7178 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.8197, allocations: 123.9 kB / 0.7179 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/0.8234, allocations: 1.781 MB / 0.7197 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.8235, allocations: 7.938 kB / 0.7197 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.8236, allocations: 48 kB / 0.7197 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.8236, allocations: 28 kB / 0.7197 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00364/0.8273, allocations: 1.668 MB / 0.7214 GB, free: 228 kB / 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.01168/0.839, allocations: 5.936 MB / 0.7272 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.8496, allocations: 4.102 MB / 0.7312 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.8499, allocations: 25.28 kB / 0.7312 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/0.8499, allocations: 47.88 kB / 0.7312 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=136): time 3.346e-06/0.8499, allocations: 0 / 0.7312 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of matching and sorting (n=136): time 0.04485/0.8948, allocations: 12.65 MB / 0.7436 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.895, allocations: 201.1 kB / 0.7438 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/0.8974, allocations: 1.222 MB / 0.745 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005492/0.8979, allocations: 53.7 kB / 0.745 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006074/0.8985, allocations: 0.7143 MB / 0.7457 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005922/0.8991, allocations: 484.9 kB / 0.7462 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.8993, allocations: 28 kB / 0.7462 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.8994, allocations: 361.9 kB / 0.7466 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/0.9017, allocations: 0.9917 MB / 0.7475 GB, free: 4.887 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.904, allocations: 1.207 MB / 0.7487 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/0.9063, allocations: 1.056 MB / 0.7497 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.9063, allocations: 0 / 0.7497 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.007783/0.9141, allocations: 3.416 MB / 0.7531 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006906/0.9148, allocations: 1.722 MB / 0.7547 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.9148, allocations: 4 kB / 0.7548 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01348/0.9283, allocations: 4.015 MB / 0.7587 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009035/0.9292, allocations: 179.8 kB / 0.7588 GB, free: 9.055 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008773/0.938, allocations: 3.793 MB / 0.7625 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/0.9405, allocations: 298.6 kB / 0.7628 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.9407, allocations: 55.98 kB / 0.7629 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.9407, allocations: 7.953 kB / 0.7629 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006761/0.9475, allocations: 3.1 MB / 0.7659 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.9475, allocations: 4 kB / 0.7659 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3626/1.31, allocations: 3.914 MB / 0.7697 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/1.311, allocations: 177.5 kB / 0.7699 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009835/1.321, allocations: 3.622 MB / 0.7735 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/1.324, allocations: 271.1 kB / 0.7737 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/1.324, allocations: 51.11 kB / 0.7738 GB, free: 132.4 MB / 0.5573 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.0008991/1.325, allocations: 377.6 kB / 0.7741 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004029/1.325, allocations: 183.5 kB / 0.7743 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01831/1.344, allocations: 6.267 MB / 0.7804 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/1.344, allocations: 11.75 kB / 0.7804 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.344, allocations: 6.703 kB / 0.7804 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.565e-05/1.344, allocations: 6.328 kB / 0.7804 GB, free: 132.1 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.02212/1.366, allocations: 8.522 MB / 0.7888 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/1.366, allocations: 0 / 0.7888 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.367, allocations: 182.9 kB / 0.7889 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007916/1.375, allocations: 2.611 MB / 0.7915 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/1.375, allocations: 30.42 kB / 0.7915 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03084/1.406, allocations: 12.7 MB / 0.8039 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.406, allocations: 1.219 kB / 0.8039 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02371/1.43, allocations: 7.645 MB / 0.8114 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009918/1.431, allocations: 283.3 kB / 0.8117 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007985/1.432, allocations: 24.5 kB / 0.8117 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/1.434, allocations: 212.5 kB / 0.8119 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001302/1.436, allocations: 281.7 kB / 0.8121 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002487/1.436, allocations: 41.14 kB / 0.8122 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002484/1.438, allocations: 0.9485 MB / 0.8131 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.31e-07/1.439, allocations: 0 / 0.8131 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003785/1.442, allocations: 0.8449 MB / 0.8139 GB, free: 125.8 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,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.02311/1.465, allocations: 8.415 MB / 0.8222 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01694/1.482, allocations: 5.354 MB / 0.8274 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.483, allocations: 0 / 0.8274 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007129/1.49, allocations: 2.459 MB / 0.8298 GB, free: 121 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/1.492, allocations: 141.1 kB / 0.8299 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/1.503, allocations: 7.602 MB / 0.8373 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/1.504, allocations: 1.315 MB / 0.8386 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009712/1.505, allocations: 138.8 kB / 0.8388 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/1.506, allocations: 0.6512 MB / 0.8394 GB, free: 114 MB / 0.5573 GB Notification: Performance of SimCode: time 1.232e-06/1.506, allocations: 10.42 kB / 0.8394 GB, free: 114 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08761/1.594, allocations: 49.08 MB / 0.8873 GB, free: 82.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/1.594, allocations: 192.2 kB / 0.8875 GB, free: 82.73 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_ESST4B.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B_model.h:24: ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.o] Error 1