Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.ESST4B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_dev_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.007851/0.007851, allocations: 170.1 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.45/1.45, allocations: 223.2 MB / 239 MB, free: 1.793 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.0009416/0.0009414, allocations: 108 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5361/0.5361, allocations: 79.44 MB / 420.8 MB, free: 43.66 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005793/0.0005793, allocations: 12 kB / 0.4891 GB, free: 1.887 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.518/0.5186, allocations: 69.49 MB / 0.557 GB, free: 38.7 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.6974, allocations: 113.3 MB / 0.6676 GB, free: 8.195 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/0.6978, allocations: 99.88 kB / 0.6677 GB, free: 8.098 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.131/0.8288, allocations: 46.3 MB / 0.713 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8288, allocations: 3.938 kB / 0.713 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002222/0.8291, allocations: 32 kB / 0.713 GB, free: 9.539 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.01033/0.8394, allocations: 2.791 MB / 0.7157 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/0.8395, allocations: 12.03 kB / 0.7157 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009016/0.8404, allocations: 181.3 kB / 0.7159 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005234/0.8457, allocations: 0.7976 MB / 0.7167 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004027/0.8497, allocations: 1.148 MB / 0.7178 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007434/0.8505, allocations: 0.5043 MB / 0.7183 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006403/0.8512, allocations: 123.9 kB / 0.7184 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003834/0.855, allocations: 1.785 MB / 0.7202 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.855, allocations: 0 / 0.7202 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.8552, allocations: 44 kB / 0.7202 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.8552, allocations: 28 kB / 0.7202 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003664/0.8589, allocations: 1.672 MB / 0.7219 GB, free: 188 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.01203/0.8709, allocations: 6 MB / 0.7277 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.8817, allocations: 4.091 MB / 0.7317 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.882, allocations: 29.28 kB / 0.7317 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.882, allocations: 51.81 kB / 0.7318 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=136): time 5.37e-06/0.882, allocations: 0 / 0.7318 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of matching and sorting (n=136): time 0.04626/0.9283, allocations: 12.64 MB / 0.7441 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.9285, allocations: 201.2 kB / 0.7443 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/0.9313, allocations: 1.265 MB / 0.7456 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004333/0.9317, allocations: 53.7 kB / 0.7456 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/0.9324, allocations: 0.7065 MB / 0.7463 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006623/0.933, allocations: 484.9 kB / 0.7468 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.9332, allocations: 28 kB / 0.7468 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.9334, allocations: 361.9 kB / 0.7471 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/0.9357, allocations: 0.9956 MB / 0.7481 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/0.9381, allocations: 1.215 MB / 0.7493 GB, free: 3.469 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.9404, allocations: 1.047 MB / 0.7503 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.9404, allocations: 4 kB / 0.7503 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.007883/0.9483, allocations: 3.42 MB / 0.7537 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007607/0.9491, allocations: 1.717 MB / 0.7553 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.9491, allocations: 4 kB / 0.7553 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01371/0.9628, allocations: 4.019 MB / 0.7593 GB, free: 9.094 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009633/0.9638, allocations: 183.7 kB / 0.7594 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008768/0.9726, allocations: 3.805 MB / 0.7632 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/0.9752, allocations: 290.6 kB / 0.7634 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.9754, allocations: 59.94 kB / 0.7635 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.9754, allocations: 4 kB / 0.7635 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006939/0.9824, allocations: 3.096 MB / 0.7665 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9824, allocations: 8.062 kB / 0.7665 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4126/1.395, allocations: 3.907 MB / 0.7703 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/1.396, allocations: 182.3 kB / 0.7705 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009352/1.405, allocations: 3.625 MB / 0.7741 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/1.408, allocations: 264.4 kB / 0.7743 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.408, allocations: 55.72 kB / 0.7744 GB, free: 133 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.0009448/1.409, allocations: 375.1 kB / 0.7747 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/1.41, allocations: 178.5 kB / 0.7749 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01818/1.428, allocations: 6.27 MB / 0.781 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/1.428, allocations: 13.97 kB / 0.781 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.428, allocations: 6.578 kB / 0.781 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.63e-05/1.428, allocations: 6.234 kB / 0.781 GB, free: 132.7 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.02167/1.45, allocations: 8.544 MB / 0.7894 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/1.45, allocations: 2.5 kB / 0.7894 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.451, allocations: 189.2 kB / 0.7896 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0081/1.459, allocations: 2.6 MB / 0.7921 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003564/1.46, allocations: 31.39 kB / 0.7921 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03021/1.49, allocations: 12.71 MB / 0.8045 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.49, allocations: 0.9062 kB / 0.8045 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0243/1.514, allocations: 7.637 MB / 0.812 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.515, allocations: 292.8 kB / 0.8123 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004192/1.516, allocations: 28.2 kB / 0.8123 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/1.518, allocations: 210.8 kB / 0.8125 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/1.519, allocations: 285.1 kB / 0.8128 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.519, allocations: 36.53 kB / 0.8128 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001693/1.521, allocations: 0.9899 MB / 0.8138 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.4e-07/1.521, allocations: 3.844 kB / 0.8138 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002677/1.523, allocations: 0.8489 MB / 0.8146 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.02243/1.546, allocations: 8.41 MB / 0.8228 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01671/1.563, allocations: 5.358 MB / 0.8281 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.563, allocations: 0 / 0.8281 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006842/1.57, allocations: 2.448 MB / 0.8305 GB, free: 121 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.571, allocations: 142.9 kB / 0.8306 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/1.581, allocations: 7.652 MB / 0.8381 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007762/1.582, allocations: 1.317 MB / 0.8393 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008269/1.583, allocations: 141 kB / 0.8395 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008282/1.584, allocations: 0.6516 MB / 0.8401 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.192e-06/1.584, allocations: 0 / 0.8401 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08866/1.672, allocations: 49.48 MB / 0.8884 GB, free: 82.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/1.673, allocations: 197.8 kB / 0.8886 GB, free: 81.86 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_ESST4B.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.o] Error 1